11 Commits
Author SHA1 Message Date
pnokerandClaude Code 3fb43c4239 feat(web): unify three-terminal control density and close audit defects
Land the v7 three-terminal UX decision: drop the width/pointer-based
44px touch enlargement so one 32px density holds across desktop,
tablet, and mobile, and rebuild entity pages on a responsive record
list (ResponsiveRecordList + EntityMobileCard + per-entity mobile
summaries). Tighten the nginx security headers (CSP frame-ancestors
'none', X-Frame-Options DENY) to match the static e2e server.

Complete the dc3-web audit remediation, including the remaining LOW
items from docs/dc3-web-low-defects-handoff.md: streaming-safe
message loads in the agentic store, mock menu reparent cycle
rejection, paged-list page clamping, fetch/axios mock request
normalization, per-table attribute catalogs, post-flush alarm
watchers, rowKey-agnostic delete state, localized card text
fallbacks, and e2e-server port fail-fast.

Gate: vue-tsc, eslint, vitest 687 passed, responsive e2e 64 passed.

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-09-07 19:33:17 +08:00
pnoker ca2cb780c0 feat(web): add persisted theme and density preferences 2026-08-24 19:39:11 +08:00
pnoker 9596334fc6 docs(slogan): converge remaining industrial-ai-iot wording to canonical slogan 2026-08-14 16:54:51 +08:00
pnoker a7a1650be5 docs(slogan): unify positioning across readme languages and web meta 2026-08-14 16:54:10 +08:00
pnoker 6c9149f9b2 feat(web): enrich the localized Industrial AI mock experience 2026-08-12 01:04:47 +08:00
pnoker 437d7bec42 style(web): reformat menu seed and index meta tags
Prettier pass: expand the mock menuTree mk() calls to one property per
line and wrap the index.html CSP meta attribute across lines.
2026-08-10 00:53:48 +08:00
pnoker 2da8b2aa2b style(web): reformat mock seed, views and components
Pure formatting from a project-wide prettier/eslint pass: object
expansion, Vue attribute ordering, .catch() block expansion, import
ordering and type-import placement. No logic or behavior change.

- src/mock/**: seed object expansion, db import sort, crud/dispatch/
  query/response/timeseries type spacing, fetch dataset expansion
- src/views/**: Device/Point/Profile .catch() expansion, import sort
- src/components/**: AgenticAssistant/CardShell/Layout attr ordering
- src/api, src/config, src/main, index.html: spacing/meta ordering

Verified: vue-tsc type-check, eslint, and 158 unit tests green.
2026-08-09 18:44:17 +08:00
pnoker a73ba1267a refactor(web,auth): httpOnly cookie auth + CSP + dedup + type debt
- token: httpOnly+Secure+SameSite cookie (backend Set/Clear + filter Cookie-first read), frontend axios drops X-Auth-Token, auth store uses sessionStorage flag, router guard checks flag
- security: CSP + nosniff + Referrer-Policy in index.html; delete dead getCookies/setCookies/removeCookies; remove Base64 obfuscation from storageUtil
- fix: 24 double-notification .catch failMessage removed (interceptor handles); storageUtil boolean get/set asymmetry fixed
- types: DeviceDetail/profile-detail/device-edit {} as any -> Partial<DeviceRecord>/DriverRecord/ProfileRecord
- dedup: API CRUD factory (11 modules), i18n confirmDelete interpolation (54 lines removed), CardShell unified + shared form-width mixin

Verification: vue-tsc green / 158 unit tests pass / mvn compile green
2026-08-08 18:40:58 +08:00
pnoker d47d125af0 style(web): reformat frontend with IDEA code style
Apply IDE formatting across all Vue, TypeScript, SCSS and test files.
No logic changes — whitespace, quotes and brace style only.
2026-07-10 00:02:51 +08:00
pnokerandClaude afdac8930a feat(dc3-web): add unified logger and apply prettier formatting
- Add src/utils/log.ts: environment-aware logger that gates debug/info
  to dev mode while warn/error always emit, with [dc3] prefix
- Wire logger into main.ts error handler
- Apply prettier formatting: 2→4 space indentation (index.html),
  array element line breaks (tsconfig.json), generic type formatting
  (device.ts), and trailing slash cleanup

Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-09 12:52:10 +08:00
pnoker 2e4645e606 Add 'dc3-web/' from commit '0c3c7a157c3f003d5d8a8077c3e3850069d19747'
git-subtree-dir: dc3-web
git-subtree-mainline: e133f5a027
git-subtree-split: 0c3c7a157c
2026-06-28 09:45:33 +08:00