[remote-dbg-next] Polish style for error and warning messages
Categories
(DevTools :: about:debugging, enhancement, P1)
Tracking
(firefox69 fixed)
Tracking | Status | |
---|---|---|
firefox69 | --- | fixed |
People
(Reporter: jdescottes, Assigned: ogasidlo)
References
(Blocks 1 open bug)
Details
(Whiteboard: high-priority-reserve )
Attachments
(3 files)
We already display error messages when temporary addons fail to install. After Bug 1500374 we will also show warning messages if an addon has warnings (for instance unsupported properties in manifest.json).
So far, I am following the guidelines at:
- https://design.firefox.com/photon/patterns/warnings.html
- https://design.firefox.com/photon/patterns/errors.html (although I can't find the suggested icon anywhere so I am reusing the warning icon in both)
We should still check the fonts, and probably get the correct photon icon for errors.
Reporter | ||
Updated•6 years ago
|
Assignee | ||
Comment 1•6 years ago
|
||
To add a bit more context, here is a doc with screenshots to show a bit of the thinking process and the current state:
https://docs.google.com/document/d/1h1aPq7UrHn-NQkhFnlHcfqyOi48M38UqxzEebSXmwzI/edit#heading=h.mdjpskyqhvvh
Please feel free to reach out, if you'd like more context or have additional questions Matt!
Reporter | ||
Comment 2•6 years ago
|
||
For reference, some warnings for addons can really have a lot of text! our options here would be either:
- crop
- make the message scrollable
- add a collapsible container to the error
Assignee | ||
Comment 3•6 years ago
|
||
Thanks for filing this Julian! :)
My suggestion would be to use <details>
.
E.g.
<details>
<summary>Log</summary>
Error message details
</details>
Reporter | ||
Comment 4•6 years ago
|
||
Moving this to a regular non-ux bug and moving back to P3.
In the short term the goal of this bug should be to:
- add the appropriate icon for error messages
- handle long error messages for addon errors, see comment 3
Other improvements related to messages:
- links in warning messages should be buttons bug 1523295
- messages should have an X button to dismiss them (follow up to 1520142)
Reporter | ||
Updated•6 years ago
|
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 5•6 years ago
•
|
||
The icon I used is Identity Icon Hover
rotated 180° that you can find here https://design.firefox.com/icons/viewer/#
Is the design shown in the screenshot what we want to achieve?
Assignee | ||
Comment 7•6 years ago
|
||
Wrapped error log in <details>
Updated•6 years ago
|
Comment 9•6 years ago
|
||
bugherder |
Description
•