Skip to content

fix(announcement-bar): show bar only with localized copy#164

Merged
hami-robot[bot] merged 1 commit intoProject-HAMi:masterfrom
rootsongjc:fix
Apr 16, 2026
Merged

fix(announcement-bar): show bar only with localized copy#164
hami-robot[bot] merged 1 commit intoProject-HAMi:masterfrom
rootsongjc:fix

Conversation

@rootsongjc
Copy link
Copy Markdown
Contributor

Load announcement bar messages from locale-specific i18n files (en/zh) using the current Docusaurus locale, and skip rendering when the localized message is missing or empty.

Also clear the English announcement text to disable the expired event banner and prevent stale or unintended announcements from displaying.fix(announcement-bar): show bar only with localized copy

Signed-off-by: Jimmy Song [email protected]

Load announcement bar messages from locale-specific i18n files (en/zh) using the current Docusaurus locale, and skip rendering when the localized message is missing or empty.

Also clear the English announcement text to disable the expired event banner and prevent stale or unintended announcements from displaying.fix(announcement-bar): show bar only with localized copy

Signed-off-by: Jimmy Song <[email protected]>
@netlify
Copy link
Copy Markdown

netlify bot commented Apr 15, 2026

Deploy Preview for project-hami ready!

Name Link
🔨 Latest commit b1e53c6
🔍 Latest deploy log https://app.netlify.com/projects/project-hami/deploys/69df8a42074169000869d016
😎 Deploy Preview https://deploy-preview-164--project-hami.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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

@hami-robot hami-robot bot requested review from archlitchi and wawa0210 April 15, 2026 12:53
@hami-robot hami-robot bot added the size/S label Apr 15, 2026
@rootsongjc rootsongjc requested a review from windsonsea April 16, 2026 01:21
Copy link
Copy Markdown
Member

@windsonsea windsonsea left a comment

Choose a reason for hiding this comment

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

Thanks
/lgtm
/approve

@hami-robot
Copy link
Copy Markdown
Contributor

hami-robot bot commented Apr 16, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: rootsongjc, windsonsea

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@hami-robot hami-robot bot added the approved label Apr 16, 2026
@hami-robot hami-robot bot merged commit 1fecb80 into Project-HAMi:master Apr 16, 2026
11 checks passed
@rootsongjc rootsongjc deleted the fix branch April 16, 2026 01:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants