-
Notifications
You must be signed in to change notification settings - Fork 233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MNTOR-3973 - Announcements UI #5719
base: main
Are you sure you want to change the base?
Conversation
Preview URL 🚀 : https://blurts-server-pr-5719-mgjlpikfea-uk.a.run.app |
@@ -39,7 +39,7 @@ | |||
content: ""; | |||
height: $tooltip-size; | |||
position: absolute; | |||
right: 100px; // Vertically align chevron with bento icon |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -12,10 +12,6 @@ $button-size: 42px; | |||
width: $button-size; | |||
overflow: hidden; | |||
|
|||
@media screen and (max-width: tokens.$screen-md) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes clean-up some of the padding inconsistencies, which I noticed when I introduced the bell announcement icon.
# License, v. 2.0. If a copy of the MPL was not distributed with this | ||
# file, You can obtain one at http://mozilla.org/MPL/2.0/. | ||
|
||
# between announcement- and -title or -description is the announcement_id. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This comment is not really relevant for this file at the moment.
|
||
# between announcement- and -title or -description is the announcement_id. | ||
|
||
announcement-dialog-default-tab = New |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
announcement-dialog-default-tab = New | |
# Used as selector at the top of a dialog to only display new announcements. | |
announcement-dialog-default-tab = New |
We need to add context in a comment, as localizers won't have access to the design. Is what I suggested accurate?
# between announcement- and -title or -description is the announcement_id. | ||
|
||
announcement-dialog-default-tab = New | ||
announcement-dialog-history-tab = All |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
announcement-dialog-history-tab = All | |
# Used as selector at the top of a dialog to display all announcements. | |
announcement-dialog-history-tab = All |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we planning to expose announcements to locales other than English? If no, I assume we shouldn't expose this for localization.
References:
Jira: MNTOR-3973
Figma:
Description
Screenshot (if applicable)
How to test
Enable feature flag
Ensure the
Announcements
feature flag is enabled for your local environment.Run DB migration
Run migrations to ensure
announcements
anduser_announcements
tables exist and are current.Create announcement
Go to
/admin/announcements
and create a new announcement.announcements.ftl
orannouncements-all.ftl
.Verify in admin
Confirm your announcement shows up on the admin page.
Check dashboard UI
Go to the dashboard:
Sanity Checks
user_announcements
table has a record for the user with correctstatus
(seen
,new
,cleared
).Checklist (Definition of Done)