本卡屬 FR-196(母卡 FR-196 母案(同清單上一張)),卡 F-3,第一期批 3。只改 FE(compliance-manager-fe)。依賴:S-1。
前端的「登記」工作集中一張卡做:API 常數、兩條新路由、選單 i18n(中英文都要)、通知中心專用 i18n 檔(含 23 個事件名與 5 個類別名)、使用者選單加「通知設定」。這些檔每張卡都想往裡加一行,所以只讓本卡動,後面 F-1、F-2 只填自己的新檔。通知設定頁第一期只放佔位。🔴 menu.json 英文幾乎每次都漏,驗收兩邊都查。
extend:照既有登記形狀各加項;佔位頁是一個只有標題的 Vue(第二期 F-4 換成真頁);i18n 23 個事件名對 S-1 的 title_key
repo:~/Projects/Billows/Audit-Manager/compliance-manager-fe
改既有:src/config/api/api.js(NOTIFICATION_CENTER_UNREAD_COUNT/INBOX_LIST/INBOX_RECENT/INBOX_ITEM/INBOX_BATCH/SETTINGS)
改既有:src/config/router/index.js(兩條路由)
改既有:src/config/locales/i18n/zh-tw/menu.json、en/menu.json(🔴 兩邊都補)
改既有:src/layout/AppTopbar.vue(genUserMenu 加「通知設定」一項;不碰鈴鐺那段,F-1 碰)
新開:src/config/locales/i18n/zh-tw/notification-center.json、en/notification-center.json
新開:src/views/user-manage/NotificationSettingsView.vue(佔位:標題+「第二期」一行)
src/config/api/api.js:加 NOTIFICATION_CENTER_UNREAD_COUNT、_INBOX_LIST、_INBOX_RECENT、_INBOX_ITEM(+/<uid>/read、/archive)、_INBOX_BATCH、_SETTINGS;STAGE_NOTIFICATIONS_MINE 留著(第二期 F-1 退役時刪)。/notification(name notification-inbox,component 先指一個空檔 src/views/notification/NotificationInboxView.vue 只有標題,F-2 填)、/user/notification-settings(name notification-settings,佔位頁)。menu.json 中英文各加兩頁名;notification-center.json 中英文新檔:頁名、工具列、空狀態、23 個事件 events.<code>.title/.summary、5 個類別 categories.<key>(key 與 DEV notification_events.title_key、system_menus 一致,開工先 psql 唯讀查一次)。AppTopbar.vue genUserMenu 加「通知設定」一項(🔴 只動 genUserMenu 那段,鈴鐺段是 F-1 的)。npm run build、npm run lint。npm run build 過、npm run lint 無新 error;grep -c notification src/config/locales/i18n/en/menu.json 與 zh-tw 相同;/notification 與 /user/notification-settings 兩條路由進得去(前者先空頁,F-2 填);使用者選單看得到「通知設定」;23 個事件名 key 與 DEV notification_events.title_key 逐一對得上(回寫附對照)
~/Projects/Billows/Audit-Manager/compliance-manager-be/docs/features/FR-196-2611-notification-center/design.md §3 決策定案、§5 詳細設計(§5.1 套件職責與 port、§5.2 資料表、§5.3 API、§5.5 前端)、§6 拆卡表本卡那列、§8 風險;討論稿(Artifact,連結在 README)只在想知道「為什麼這樣裁」時看~/Projects/Billows/Audit-Manager/compliance-manager-be/docs/features/FR-196-2611-notification-center/prototype/index.html(四個分頁:鈴鐺、通知中心、通知設定、系統橫幅;純畫面,只取結構與資訊順序;文案依 i18n 重寫)jedi-bulletin/jedi_bulletin/plugin/(contract/assembly/migrations)、jedi-notification/README.md;主系統接線 core/plugins/bulletin.py、core/plugins/_host.py::host_defaults、core/plugins/license.py::TenantAdminDirectory;寄信點 app/flow_engine/service/workflow_execution_service.py:1246、stage_entered_notify_service.py:117、app/task_alert/service/scan_alert_app_service.py:74;既有投遞紀錄表 infra/task_alert/model/task_alert_notification.py;鈴鐺 FE src/layout/AppTopbar.vue 484~540、TopbarStageQueue.vue;seed 先例 scripts/sql/2026-05-22-seed-oscal-ssp-roles.sql、2026-11-10-fr194-ui-routes-entry-gates.sql