Commit Graph

92 Commits

Author SHA1 Message Date
zhangheng
e5f7c2340a feat(route): leptos 2026-06-08 16:37:22 +08:00
zhangheng
e82cfc43ed feat(own): add filter 2026-06-06 14:05:46 +08:00
zhangheng
fb3ffe3dfd refactor: remove unused dead-code exports flagged by react-doctor
Low-risk subset only — each verified to have zero external references
(tsc + eslint green); API clients, stores, icons and constants left
untouched.

- libs/util.ts: unexport `is` (still used internally by isNumber)
- components/tree-select/libs/util.ts: drop unused recursive `findLabel`
- app/person/workload/config.ts: drop unused `dimensionOpts`
- components/login/libs/session-cache.ts: drop unused `getCachedSession`
- components/setting/PageSurface.tsx: drop 3 unused layout components
  (SettingTableViewport, SettingSectionHeader, SettingFilterStack)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-05 12:39:27 +08:00
zhangheng
f930432ffe fix(tree-select): hoist Row to module scope to prevent row remounts
The row renderer was defined inside VirtualizedTree, giving it a new
component identity on every parent render — react-window then remounted
every row, destroying row DOM/state. Move Row to module scope and pass
flattened/tree/renderNode through react-window's rowProps instead of the
closure.

Verified at runtime: rows render, expand/collapse and select work, and
selection state survives re-renders, with no console errors.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-05 11:32:18 +08:00
zhangheng
cf5044e1eb fix(icons): use valid React DOM props and trim SVG precision
- digital.tsx: stop-color -> stopColor (React camelCase SVG attr)
- Icon.tsx: drop invalid iconfont `p-id` attributes
- both: round 4+ decimal path/transform coordinates to 2 decimals
  (no visible change; Icon.tsx -22%, digital.tsx -14%)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-05 11:18:46 +08:00
zhangheng
0908af2e96 chore: remove unused files flagged by react-doctor
Deleted modules with no remaining references:
- app/person/dashboard/components/Icon.tsx
- components/label/hooks/useAuth.ts
- components/layout/components/icons/custom.tsx
- components/tree-select/index.tsx

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-05 11:18:46 +08:00
zhangheng
f3a348e036 fix(task): time+download bug 2026-06-02 10:43:54 +08:00
zhangheng
a384897386 fix(table): pagesize 2026-06-01 16:03:39 +08:00
zhangheng
603e4b105f fix(auth): change mappingList 2026-05-29 20:03:55 +08:00
zhangheng
8e75a1629f feat(header): modify_password 2026-05-25 13:42:38 +08:00
zhangheng
5c81a990a6 feat(workload): change header 2026-05-23 17:42:20 +08:00
zhangheng
ba06bb1852 feat(page): size 2026-05-14 19:49:31 +08:00
zhangheng
5c3b45b247 feat(workload): add workload list 2026-05-14 15:12:32 +08:00
zhangheng
781b002a7b fix(component): treeselect 2026-05-14 14:12:28 +08:00
zhangheng
c6dfd506b3 fix(menu): fix desc 2026-05-11 18:39:34 +08:00
zhangheng
a1565dc18e fix(daily): fix multiselect 2026-05-11 18:28:26 +08:00
zhangheng
332d6ab5f1 fix(menu): fix menudefault 2026-05-11 17:17:52 +08:00
zhangheng
c0281c0cc5 fix(project): sTATUS_CODE 2026-04-30 14:58:28 +08:00
zhangheng
de6b82d9be Merge commit 'c4a3de0a84d1bc352376915b41032768b8dcd492' into zh 2026-04-30 11:28:08 +08:00
zhangheng
4044d23b48 fix(login): fix logo 2026-04-29 17:19:53 +08:00
zhangheng
93888b3056 feat(header): add logo 2026-04-29 17:04:15 +08:00
zhangheng
8372fb4a64 perf(style): use skill 2026-04-29 16:27:07 +08:00
zhangheng
a879b404b6 fix(common): add lidar 2026-04-28 18:08:20 +08:00
zhangheng
9d9bf4ff7f perf(style): codex-skills/cowa-admin-list-ui 2026-04-28 14:36:36 +08:00
zhangheng
5b38f684c3 perf(session): ttl 2026-04-23 14:47:14 +08:00
zhangheng
cd1bad6da9 fix(table): add daterange 2026-04-23 10:35:33 +08:00
zhangheng
81c9f1d165 fix(header): fix userIcon 2026-04-22 16:18:26 +08:00
zhangheng
c7980e2d17 fix(common): prod hide lidar 2026-04-15 17:09:49 +08:00
zhangheng
86a4955c38 fix(daily): fix style 2026-04-14 16:10:13 +08:00
zhangheng
c5c8a74e9e fix(const): fix 2026-04-13 17:00:47 +08:00
zhangheng
a4b1d07e52 fix(login): logout 2026-04-13 14:35:18 +08:00
zhangheng
6baeae111e fix(daily): opt 2026-04-11 17:37:09 +08:00
zhangheng
35b6849a64 fix(daily): fix api 2026-04-11 16:09:48 +08:00
zhangheng
4c27c76f46 feat(task): display object_size 2026-04-10 09:54:16 +08:00
zhangheng
384b9db147 fix(env): backend 2026-04-08 16:44:04 +08:00
zhangheng
bc3eeb03d2 feat(layout): username 2026-04-08 15:56:26 +08:00
zhangheng
c0b739566d fix(env): back 2026-04-02 15:51:51 +08:00
zhangheng
53f9eed5ca fix(env): url 2026-04-02 15:26:16 +08:00
zhangheng
592e246426 feat(ci): add file 2026-03-28 16:39:10 +08:00
zhangheng
aa1992f9d9 fix(env): docker 2026-03-28 13:54:32 +08:00
zhangheng
336adc766e fix(bug): fix router 2026-03-27 16:18:44 +08:00
5cbdd259ab fix(login): fix res 2026-03-16 20:52:03 +08:00
zhangheng
d0b4a9a760 fix(env): fix 2026-03-16 18:00:40 +08:00
zhangheng
c8b2311488 fix(common): fix 2026-03-16 17:10:13 +08:00
8d3ebbb31d fix(auth): fix 2026-03-16 15:54:57 +08:00
9221cce076 Merge commit '062242a63ccb2d57868033730d9edbbf68c44896' into zh 2026-03-16 15:49:34 +08:00
e6f6b98fc1 fix(login): login change 2026-03-16 15:48:39 +08:00
48be2c675e fix(layout): fix common 2026-03-11 16:38:32 +08:00
062242a63c feat(person): add pages 2026-03-10 18:23:48 +08:00
928f64a5f0 fix(layout): fix common 2026-03-10 16:55:51 +08:00