Skip to content

feat(#2687): notification banners too noisy#380

Merged
twjeffery merged 5 commits into
alphafrom
thomasjeffery/version-update-notification-update
Jun 26, 2025
Merged

feat(#2687): notification banners too noisy#380
twjeffery merged 5 commits into
alphafrom
thomasjeffery/version-update-notification-update

Conversation

@twjeffery
Copy link
Copy Markdown
Collaborator

Issue GovAlta/ui-components#2687:
Notification banners for LTS version and upgrading to latest version is too noisy on DS website

When a user dismisses a banner, that choice should persist across page reloads so the banner doesn’t keep reappearing. local storage or cookies?
This would reduce noise for returning users while still giving people a clear and accessible way to reopen notification banners after they have dismissed them.

View Figma Design

Image

@netlify
Copy link
Copy Markdown

netlify Bot commented Jun 2, 2025

Deploy Preview for abgov-ui-component-docs ready!

Name Link
🔨 Latest commit 975d8a4
🔍 Latest deploy log https://app.netlify.com/projects/abgov-ui-component-docs/deploys/685d7b9a3df18a0008fbf97b
😎 Deploy Preview https://deploy-preview-380--abgov-ui-component-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 0
Accessibility: 93
Best Practices: 100
SEO: 83
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@twjeffery twjeffery marked this pull request as ready for review June 2, 2025 18:20
@twjeffery twjeffery requested a review from vanessatran-ddi June 4, 2025 15:41
Comment thread src/App.tsx Outdated
} from "@components/version-language-switcher/VersionUpdateNotificationContext";
import { SiteWideNotificationProvider } from "@contexts/SiteWideNotificationContext";

// (Your full route definitions below this remain exactly the same...)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can remove this comment.

Copy link
Copy Markdown
Collaborator

@vanessatran-ddi vanessatran-ddi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have only 1 comment. The rest looks good.

@vanessatran-ddi
Copy link
Copy Markdown
Collaborator

This also fixed on this PR
image

@twjeffery
Copy link
Copy Markdown
Collaborator Author

@vanessatran-ddi I pushed an update to fix the issue above. Can you check the content section again to make sure the layout is correct?

@twjeffery twjeffery merged commit 62400b5 into alpha Jun 26, 2025
7 checks passed
@twjeffery twjeffery deleted the thomasjeffery/version-update-notification-update branch June 26, 2025 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Notification banners for LTS version and upgrading to latest version is too noisy on DS website

2 participants