Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
π€[deprecated] Generated by Copilot at f306edd
Summary
ππ£οΈπΈ
This pull request adds new features and improvements to the notification component of the frontend desktop app. It supports localization, desktop popup messages, and charge buttons for debt messages. It also adds two new icon components,
WarnIcon
andCloseIcon
, to theui
package and uses them in the notification component.Walkthrough
MessageConfig
object and theimmer
library (link)NotificationItem
type for desktop popup and localization (link)MessageConfig
object and the localized versions of the message data (link,link,link,link,link,link)useAppStore
hook, which is used to open the cost center app from the notification component (link)CloseIcon.tsx
andWarnIcon.tsx
to theui
package, which export the icon components (link,link)ui
package index file (link,link)common.json
files for the English and Chinese locales, which are used to display the text for the new features of the notification component (link,link)