Adapt blocked neterror page to new design layout
Categories
(Enterprise Products :: Firefox, task)
Tracking
(Not tracked)
People
(Reporter: janika, Assigned: janika)
References
Details
(Whiteboard: [size=1])
Attachments
(3 files, 1 external file)
Beta and Release 149 ships with updated net error UI enabled by default see Bug 2017378. When merging the changes from firefox-main to enterprise-main see merge commit the merge conflicts in net-error.mjs weren't resolved correctly.
ChromeUtilswas used to accessAppConstantswhich is not accessible from the content scriptner-errors.mjs.- Further descriptions parts are not getting displayed anymore.
| Assignee | ||
Updated•8 months ago
|
Comment 1•8 months ago
|
||
| Assignee | ||
Comment 2•8 months ago
•
|
||
ChromeUtils was used to access AppConstants which is not accessible from the content script ner-errors.mjs.
Is getting resolved by Bug 2018619.
Further descriptions parts are not getting displayed anymore.
The net error pages follow a new layout, e.g. we have sections such as "What can you do about it?" and "Why is this happening?", etc. We need to revisit our design.
| Assignee | ||
Comment 3•8 months ago
|
||
neterror page with previous design (set security.certerrors.felt-privacy-v1=false)
| Assignee | ||
Comment 4•8 months ago
|
||
neterror page with new design (set security.certerrors.felt-privacy-v1=true)
We could add a "Why" section and This website has been blocked by your organization. Your company has applied network restrictions that prevent access to certain websites for security, compliance, or productivity reasons.
| Assignee | ||
Comment 5•8 months ago
|
||
If we want to re-use the previous string, we'll need to migrate it from stringbundle to fluent.
| Assignee | ||
Updated•8 months ago
|
| Assignee | ||
Updated•8 months ago
|
Comment 6•8 months ago
|
||
Thank you!
I have updated the designs based on the new format.
https://www.figma.com/design/xYH6L8QrDz0Q16XFvdo7We/%F0%9F%A6%8A-Client-Design?node-id=2137-8767&t=BcoVroFXvpriKDXW-1
Comment 7•8 months ago
|
||
Also note the minor content change for the paragraph under the "Why is this site restricted?" heading
| Assignee | ||
Comment 8•8 months ago
|
||
That was not what I intended, sorry for the misunderstanding!
The new about:error design (see screenshot from comment 3) is shipped in Fx149, we won't use the previous one (from screenshot of comment 4) anymore.
But what I gather from your changes in Figma is that we want to add the following string This website has been restricted by your organization. Network policies have been applied to prevent access to certain websites for security, compliance, or productivity reasons. to a "Why" section in the new design.
Comment 9•2 months ago
|
||
I think we can close this as a dupe of https://bugzilla.mozilla.org/show_bug.cgi?id=2061552 - do you agree?
Comment 10•2 months ago
|
||
Brian, I think unless we plan to add all new graphics for Enterprise when browser.netError.illustration.enabled=true, and we're happy with the ability to remove the illustration entirely, then this can probably be closed as a dupe wrt to the illustration swap, if that's the only pending item here.
I've attached a screenshot of the updated page that features a Kit illustration for reference, with and without browser.netError.illustration.enabled.
I lack some context around some other parts of this bug - but it looks like some of the issues outlined in the bug description were resolved in https://github.com/mozilla/enterprise-firefox/pull/517.
:janika - is the attached screenshot an appropriate final form of this page? Or is there more work to be done to add additional strings/descriptions? (I loaded about:support with BlockAboutSupport: true)
Comment 11•17 days ago
|
||
We need to flip browser.netError.illustration.enabled to false for enterprise and then we can dupe.
I think we should call this design done.
| Assignee | ||
Comment 12•22 hours ago
|
||
The question is do we still want this site to be customized wrt to Matt's design (see https://bugzilla.mozilla.org/show_bug.cgi?id=2022201#c6) because that hasn't been done yet. In my opinion the blocked site strings don't need rewording or extra context as they already state the most important point.
So I agree with :mkaply. Let's flip browser.netError.illustration.enabled to true and call it done.
Updated•18 hours ago
|
Comment 13•18 hours ago
|
||
Yeah, I don't think we need the red X.
| Assignee | ||
Comment 14•17 hours ago
|
||
It's not about the red X but about the strings.
Comment 15•17 hours ago
|
||
We really don't want our error pages to diverge that much from regular Firefox. That feels like a maintenance nightmare.
Description
•