Bug 2040381 - Show error state in Access Connector urlbar button and panel when proxy is unavailable#1048
Conversation
ed213fb to
bd9814a
Compare
|
Upstream blocking PRs have all landed! |
f2af383 to
3ebdae3
Compare
1rneh
left a comment
There was a problem hiding this comment.
I started reviewing the Bug 2040381 - * commits only but noticed that they also include some changes from Bug-2026242 (or elsewhere) that by now have been merged to enterprise-main.
Could you rebase the PR to simplify the review?
| const PANEL_HEADER_ID = "access-connector-panel-header"; | ||
| const PANEL_MESSAGE_ID = "access-connector-panel-message"; | ||
|
|
||
| const PROXY_ERROR_CODES = new Set([ |
There was a problem hiding this comment.
Looks like it risks getting stale over future
There was a problem hiding this comment.
Make sure this is ok by l10n people?
There was a problem hiding this comment.
I'm not sure what you're referencing - this adds new strings for the error state and uses the same conventions as the "active" state in the file. Maybe this had something else in it before I fixed the rebase?
3ebdae3 to
734ba1a
Compare
1rneh
left a comment
There was a problem hiding this comment.
I reviewed the commits referencing "Bug 2040381":
Can we split this into two PRs - one for the UI and one for the telemetry? If this were to land upstream, the telemetry would need its own bug, since a data steward's review happens on that bug. Once it exists, you'd reference it under bugs and link the data-review response comment under data_reviews in the event config. We'll leave data_reviews as TBD for now since we don't perform data reviews at the moment, but it would help if bugs already listed a dedicated bug.
Bonus: I have only two minor comments on the UI changes, so this can already land.
70c9f9b to
23dad37
Compare
4427df4 to
1406bc8
Compare
1406bc8 to
2930851
Compare
2930851 to
2b8e1dd
Compare
Thank you for pointing this out, splitting telemetry off makes sense with this context. I've removed the telemetry changes from this PR and created #1121 for adding it. |
Description
Bugzilla: Bug-2040381
This is part 2 of 3 for this bug. When the Access Connector proxy is unavailable and Firefox shows the
accessConnectorFailureerror page (implemented in #1033), the urlbar button now reflects the error state. The icon swaps to an "unavailable" variant displayed in acriticalcolor, the tooltip and label update, and the Access Connector panel displays dedicated error content.Dependencies / Related Issues
Screenshots
Access Connector in active state
Access Connector in error state
Testing
Steps to verify changes:
AccessConnectorpolicy with a proxy server that is unreachable (ex: changePortby 1)Expected result:
The Access Connector error button renders with an error icon, and the panel title and message show error text.