✨ feat: add notice modal component with empty state support
This commit introduces the following changes: - Create a reusable NoticeModal component to handle system announcements - Extract notice functionality from Home and HeaderBar components - Add loading and empty states using Semi UI illustrations - Implement "close for today" feature with localStorage - Support both light and dark mode for empty state illustrations - Add proper error handling and loading states - Improve code reusability and maintainability Breaking changes: None Related components: HeaderBar.js, Home/index.js, NoticeModal.js
This commit is contained in:
@@ -1529,5 +1529,7 @@
|
||||
"系统公告": "System Notice",
|
||||
"今日关闭": "Close Today",
|
||||
"关闭公告": "Close Notice",
|
||||
"搜索条件": "Search Conditions"
|
||||
"搜索条件": "Search Conditions",
|
||||
"加载中...": "Loading...",
|
||||
"暂无公告": "No Notice"
|
||||
}
|
||||
Reference in New Issue
Block a user