本卡屬 FR-196(母卡 FR-196 母案(同清單上一張)),卡 F-2,第一期批 4。只改 FE(compliance-manager-fe)。依賴:M-1、F-3。
通知中心頁(完整收件匣):工具列有未讀/全部/已封存分段、類別下拉、搜尋;清單按今天、昨天、更早分組;每列有前往、標已讀、封存;勾選可批次。點「前往」先標已讀再跳到通知指的那一頁。雛形第二個分頁。
new 頁面(照雛形 index.html 畫面 2 結構);reuse dark-card、SegmentButtons(small)、IconField 搜尋、既有 DataTable 不用(分組清單用 list);點「前往」用 link.route+link.params 做 router.push,先 PATCH read
repo:~/Projects/Billows/Audit-Manager/compliance-manager-fe
新開:src/views/notification/NotificationInboxView.vue
新開:src/views/notification/InboxItemRow.vue(一列:圖示、標題、摘要、時間、動作;每列不超 150 行)
src/views/notification/NotificationInboxView.vue(F-3 建的空檔):照雛形第二個分頁。工具列:SegmentButtons(未讀/全部/已封存)、類別 Dropdown(選項讀 API.SYSTEM_MENU group NOTIFICATION_CATEGORY)、IconField 搜尋;清單:按 created_at 分今天/昨天/更早,每組一張 dark-card;列抽 InboxItemRow.vue(Checkbox、圖示、標題+摘要、時間、三個小按鈕)。PATCH read,再 router.push({name: link.route, params/query: link.params});標已讀與封存後重抓當頁並呼叫 useNotificationCenter().refresh() 讓紅點同步。POST inbox/batch。:loading。/notification 列出 DEV 手插的幾列並正確分組;切「未讀」只剩未讀;類別篩選有效;搜尋標題有效;單列「標已讀」後該列變灰、鈴鐺紅點同步少一(透過 composable);勾兩列批次封存後切「已封存」看得到;點「前往」跳到 link 指的頁且回來那列已讀;grep -rn 'border-left\|font-size\|max-width' src/views/notification/ 為 0;空清單顯示 i18n 的空狀態文案
~/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.sqldocs/claude/domain-capabilities.md、FE docs/claude/frontend-overview.md §4。三擇一、預設不新增:reuse → extend → 確認沒有才新增。回寫列出本卡 reuse 了哪些、新增了哪些、為什麼不能 reuse。本案設計已做過重複盤點(橫幅、投遞紀錄、去重戳、個人資料頁),卡上「reuse/extend/new」是結論,照它做。