phamnazage-jpg
|
cc8fc900ca
|
refactor(portal): migrate 8 pages to portal.css+portal.js design system
Each page now uses the new page-hero + stat-card + statusbar pattern
with the Linear/Vercel-aligned token system, while preserving all
admin-common.js nav render contract and 70+ test-contract strings.
- public portal: index.html (1816 → 1280 lines)
- admin entry: admin/index.html
- admin pages: logical-groups / route-health / accounts / providers
- batch import: admin/batch-import.html (39-line redirect to
admin-batch-import.html for legacy URL compatibility)
- admin-batch-import.html: real legacy URL handler page
Verified:
- bash scripts/test/test_tksea_portal_assets.sh → PASS
- bash scripts/test/verify_frontend_smoke.sh → PASS (all 7 admin
pages + public portal render with smoke-admin / Smoke Logical
Group / Smoke Provider Account / smoke-route-primary visible)
- 8 screenshot artifacts at /tmp/portal-screenshots/ (1440×2400
chromium headless, 269KB–1.2MB each = real content)
|
2026-06-03 09:11:07 +08:00 |
|
phamnazage-jpg
|
3a9061e11d
|
style(portal): add design system + shared layer (portal.css/portal.js/admin-common.css shim)
- portal.css: 777-line real design system (Linear/Vercel 信息建筑派)
* tokens: spacing 4/8/12/16/24/32/48, type 12/13/14/15/17/20/24/32/44
* colors: ink/paper/accent/success/warn/danger × 50/100/500/900
* teal #14b8a6 1:1 aligned with host sub2api Vue/Tailwind
* dark-first; light override for public portal
* components: page-hero, stat-card, card, status, pill, btn-primary,
toast-host, empty, skeleton, drawer, tabs
- portal.js: window.Sub2ApiPortal — toast, lucide 1.75px stroke SVG
icon registry (shield/group/activity/route/health/account/provider/
import/check/x/alert/info/copy/edit/trash/plus/refresh/...),
copyToClipboard, theme auto/dark/light, drawer, renderModernAdminNav
- admin-common.css: 4KB legacy shim — maps old class names
(.topnav/.primary/.secondary/.ghost/.danger/.metric/.statusbar/.stat/
.eyebrow/.hero-points/.page-hero__eyebrow/.shell/.fade-in/.topline/
.chip/.tag/.mono/.meta-card/.meta-label/.status-pill/.inline-code/
.tone-*) onto new tokens without breaking admin-common.js nav contract
Evidence:
- bash scripts/test/test_tksea_portal_assets.sh → PASS (70+ string assertions)
- bash scripts/test/verify_frontend_smoke.sh → PASS (chromium headless 7 pages)
|
2026-06-03 09:10:45 +08:00 |
|
phamnazage-jpg
|
f6600d663a
|
feat(monitoring): add complete Prometheus + Grafana monitoring stack
CI / Build & Test (push) Has been cancelled
CI / Lint (push) Has been cancelled
CI / Security Scan (push) Has been cancelled
CI / Docker Build (push) Has been cancelled
CI / Release (push) Has been cancelled
Add production-ready monitoring infrastructure:
- 15 alerting rules (4 Critical + 11 Warning)
- Grafana dashboard with service health panels
- Full documentation with deployment guide
Covers: service availability, error rates, latency,
routing health, database connections, and log metrics
|
2026-06-02 19:54:38 +08:00 |
|
phamnazage-jpg
|
ef33762db5
|
feat(portal): add logical group packaging config
|
2026-05-30 10:54:32 +08:00 |
|
phamnazage-jpg
|
3bfd4cfc1c
|
feat(portal): add logical group guidance config
|
2026-05-30 10:38:59 +08:00 |
|
phamnazage-jpg
|
037e141cc4
|
feat(portal): add logical group usage guidance
|
2026-05-30 10:26:53 +08:00 |
|
phamnazage-jpg
|
542c6823a5
|
feat(portal): add logical group entitlement view
|
2026-05-30 10:13:31 +08:00 |
|
phamnazage-jpg
|
ac1d8e27cc
|
feat(portal): switch user catalog to logical groups
|
2026-05-30 08:26:28 +08:00 |
|
phamnazage-jpg
|
649eb13f30
|
feat(accounts): add explicit route binding workflow
|
2026-05-29 19:07:01 +08:00 |
|
phamnazage-jpg
|
c982c595b8
|
feat(accounts): add provider account admin view
|
2026-05-29 15:50:28 +08:00 |
|
phamnazage-jpg
|
2896e62071
|
feat(routing): add route health admin view
|
2026-05-29 13:37:43 +08:00 |
|
phamnazage-jpg
|
2e9b4ab988
|
feat(portal): add logical group admin page
|
2026-05-29 13:06:19 +08:00 |
|
phamnazage-jpg
|
6b03eb8fb9
|
feat(admin): harden provider draft model conflicts
|
2026-05-28 12:18:10 +08:00 |
|
phamnazage-jpg
|
de33ff3492
|
feat(admin): add session-based portal login
|
2026-05-28 11:01:29 +08:00 |
|
phamnazage-jpg
|
3a00f1b859
|
feat(admin): publish provider drafts into pack repo
|
2026-05-28 07:30:02 +08:00 |
|
phamnazage-jpg
|
8d7aa925df
|
feat(admin): persist provider drafts in crm
|
2026-05-27 21:49:12 +08:00 |
|
phamnazage-jpg
|
ebd86a4256
|
feat(batch): add live reuse admin verification flow
|
2026-05-27 20:23:42 +08:00 |
|
phamnazage-jpg
|
02580cda0b
|
feat: organize scripts and add portal validation assets
|
2026-05-27 09:39:05 +08:00 |
|