Add data-origin to status bar items for better observability (#6400)

* Passing id to status-bar-items

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Add data-origin prop for status bar items

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Fixing status bar tests

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Update snapshots

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Fix linter

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Rename id -> origin because it is not unique

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev authored and GitHub committed 2022-10-14 09:27:10 +03:00
1 parent 57f06b850e
commit 491082f784
35 files changed
+154 -10

No files matched your search

@@ -201,6 +201,7 @@ exports[`force user to update when too long since update was downloaded when app
</div>
<div
class="StatusBar"
data-testid="status-bar"
>
<div
class="leftSide"
@@ -420,6 +421,7 @@ exports[`force user to update when too long since update was downloaded when app
</div>
<div
class="StatusBar"
data-testid="status-bar"
>
<div
class="leftSide"
@@ -686,6 +688,7 @@ exports[`force user to update when too long since update was downloaded when app
</div>
<div
class="StatusBar"
data-testid="status-bar"
>
<div
class="leftSide"
@@ -201,6 +201,7 @@ exports[`encourage user to update when sufficient time passed since update was d
</div>
<div
class="StatusBar"
data-testid="status-bar"
>
<div
class="leftSide"
@@ -402,6 +403,7 @@ exports[`encourage user to update when sufficient time passed since update was d
</div>
<div
class="StatusBar"
data-testid="status-bar"
>
<div
class="leftSide"
@@ -183,6 +183,7 @@ exports[`installing update using tray when started renders 1`] = `
</div>
<div
class="StatusBar"
data-testid="status-bar"
>
<div
class="leftSide"
@@ -384,6 +385,7 @@ exports[`installing update using tray when started when user checks for updates
</div>
<div
class="StatusBar"
data-testid="status-bar"
>
<div
class="leftSide"
@@ -585,6 +587,7 @@ exports[`installing update using tray when started when user checks for updates
</div>
<div
class="StatusBar"
data-testid="status-bar"
>
<div
class="leftSide"
@@ -804,6 +807,7 @@ exports[`installing update using tray when started when user checks for updates
</div>
<div
class="StatusBar"
data-testid="status-bar"
>
<div
class="leftSide"
@@ -1023,6 +1027,7 @@ exports[`installing update using tray when started when user checks for updates
</div>
<div
class="StatusBar"
data-testid="status-bar"
>
<div
class="leftSide"
@@ -1224,6 +1229,7 @@ exports[`installing update using tray when started when user checks for updates
</div>
<div
class="StatusBar"
data-testid="status-bar"
>
<div
class="leftSide"
@@ -183,6 +183,7 @@ exports[`installing update when started renders 1`] = `
</div>
<div
class="StatusBar"
data-testid="status-bar"
>
<div
class="leftSide"
@@ -384,6 +385,7 @@ exports[`installing update when started when user checks for updates renders 1`]
</div>
<div
class="StatusBar"
data-testid="status-bar"
>
<div
class="leftSide"
@@ -585,6 +587,7 @@ exports[`installing update when started when user checks for updates when new up
</div>
<div
class="StatusBar"
data-testid="status-bar"
>
<div
class="leftSide"
@@ -804,6 +807,7 @@ exports[`installing update when started when user checks for updates when new up
</div>
<div
class="StatusBar"
data-testid="status-bar"
>
<div
class="leftSide"
@@ -1023,6 +1027,7 @@ exports[`installing update when started when user checks for updates when new up
</div>
<div
class="StatusBar"
data-testid="status-bar"
>
<div
class="leftSide"
@@ -1224,6 +1229,7 @@ exports[`installing update when started when user checks for updates when no new
</div>
<div
class="StatusBar"
data-testid="status-bar"
>
<div
class="leftSide"
@@ -183,6 +183,7 @@ exports[`periodical checking of updates given updater is enabled and configurati
</div>
<div
class="StatusBar"
data-testid="status-bar"
>
<div
class="leftSide"
@@ -183,6 +183,7 @@ exports[`selection of update stability when started renders 1`] = `
</div>
<div
class="StatusBar"
data-testid="status-bar"
>
<div
class="leftSide"