Replace PrimeNG with Tailwind and our own components
维护者通常 1 天内回复
@bracyw 已经在做这个了。
开始于 2026年11月8日。
评估
这个 Issue 还没有评估数据。
描述
What
PrimeNG 22 needs a commercial license, and PrimeNG 21 doesn't support Angular 22, so it blocks this epic. #864 settled on replacing it (decision: https://github.com/Northeastern-Electric-Racing/Argos/issues/864#issuecomment-6710745579).
This ticket lands spike #955 on develop:
- Every route and dialog runs on our own components.
- Angular Aria and the CDK handle behaviour.
- Tailwind utilities on a locked set of tokens handle styling.
- PrimeNG and Angular Material are removed.
Requirements
- No PrimeNG or Angular Material package, and no stylesheets on rendered components (the unused components are deleted in #962)
- All 14 routes and their dialogs keep the PrimeNG look. The four open look changes are decided: log row hover, BMS panel titles, charging nub and SoC card height.
- A WCAG AA audit passes on every route at 390 and 1440 wide: contrast, focus, reflow and target size
- Total CSS stays at or under 121.8 kB, with no budget raised
- An ADR and the conventions in docs/CONTEXT.md describe the approach
Notes
- Where to build: start from the branch 955-try-tailwind-angular-aria-cdk, from spike PR #958 (now closed). It also contains #814's upgrade (PR #879) and #909's Aria/CDK work, so it lands after #814.
- Dropped approaches:
- Material (#866): its look and checkbox tree didn't fit.
- Spartan (#867): no reason was recorded.
- Taiga (#868): Russian-backed.
- ng-zorro (#869): no reason was recorded.
- Fork of PrimeNG 21 (#871): we'd own every future Angular fix.
- Aria/CDK without Tailwind (#909): carried forward, with Tailwind added on top.
- Not checked offline: the Mapbox map, which needs a token, and the main landmark on Safari before 17.
- Open question: should the Playwright audit kit run in CI?
Context transfer
SUMMARY
Spike #955 (PR #958) already migrated every route; this ticket reviews, finishes and lands it after #814.
CONTEXT
- Tokens: src/styles/theme.css (--color-*: initial; AA-vetted only). Recipes: src/ui/recipes/. Primitives: src/ui/.
- Cascade layers: theme, base, vendor, cdk, components, utilities. Mapbox CSS is a non-injected bundle in the vendor layer, linked by the map page. Only the CDK's runtime overlay CSS is unlayered.
- Icons: <ui-icon> (Material Icons font ligatures and registered SVGs); @angular/material uninstalled.
- At 64425612: 547 tests pass; prettier, lint and build pass. Global CSS is 81.7 kB raw / 12.9 kB transfer; Mapbox's CSS (36.4 kB) loads only on /map.
- Traps: classes can't be built from strings; words in comments emit utilities; Angular's Vitest uses isolate:false, so restore window stubs in afterEach.
Generated by Claude Code
- 主要语言
- TypeScript
- 星标
- 5
- 派生
- 1
- 平均合并
- 1 天 8 小时
- 30 天内合并 PR
- 35
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Northeastern-Electric-Racing/Argos 的其他 Issue
-
Remove the landing page可能已有人在做 @Idontknow0487 于 15 天前认领。 未关闭by: ai-assisted frontend good-for: new-member spike
难度 2/5 1-3 小时 新手友好度 68/100
Northeastern-Electric-Racing/Argos#847 · 1 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
Delete the unused Angular client components可能已有人在做 @bracyw 今天认领。 未关闭by: ai dev work frontend
Northeastern-Electric-Racing/Argos#962 · 已指派 1 人 ·
维护者通常 1 天内回复
-
Show Charging page faults from the fault feed可能已有人在做 @SimeonChenchev1 于 2 天前认领。 未关闭by: ai-assisted dev work frontend
Northeastern-Electric-Racing/Argos#959 · 已指派 1 人 ·
维护者通常 1 天内回复
-
by: ai dev work frontend
Northeastern-Electric-Racing/Argos#940 ·
维护者通常 1 天内回复
-
by: ai frontend spike
Northeastern-Electric-Racing/Argos#937 ·
维护者通常 1 天内回复
查看 Northeastern-Electric-Racing/Argos 的全部 Issue
相似的 Issue
-
documentation good first issue roadmap
难度 1/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
resend/react-email#3876 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
siyuan-note/siyuan#21324 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 74/100
dmno-dev/varlock#1279 · 1 条评论 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 72/100
himynameisdave/bsky-profanity-counter#59 ·
维护者通常 1 天内回复