Repository navigation
feat(aggregator): Tailwind + DaisyUI overhaul, Datastar theme toggle, 60s idleTimeout (Phase C) - #6155
Merged
Conversation
… 60s idleTimeout (Phase C, #6153)
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 30 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This was referenced Nov 5, 2026
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Phase C of the pm-stack overhaul (#6153): rebuild the aggregator dashboard's presentation as a modern website — Tailwind CSS v4 + DaisyUI v5 + Datastar-first interactivity — keeping every function and every Phase B §14 contract.
What changed
tailwindcss+@tailwindcss/cli+daisyuidevDependencies; source stylesheetsrc/ui.css(Tailwind v4 syntax, DaisyUI dark-default + light themes);bun run build:cssbuilds the committed static assetsrc/assets/app.css(deploy needs no build step — pm-git-sync just pulls). Regeneration documented in the aggregator README ("Styling" section).const CSSis gone fromrender.ts(its rules moved verbatim intoui.cssbelow the imports — the semantic hooks are contract and the suite pins many of them).layout()now links/assets/app.css(new route inserver.ts, served likedatastar.js), putsdata-theme="dark"on<html>, and runs a tiny localStorage bootstrap before the stylesheet so a stored theme choice never flashes.$pmThemesignal +data-init+data-effect(single writer ofdata-theme+localStorage["pm-theme"]); click only flips the signal. Explicit light/dark scoped rules inui.cssmake the choice win over the OS scheme in both directions.navbar bg-base-200), pages dropdown (select select-bordered), nav + page search (input input-bordered,btn), quota refresh button (btn btn-primary), 18 data tables (table table-zebra; the two test-pinned tables left bare), card radius/shadow refinement in CSS. DaisyUI's owncard/badgecomponents now also style the existingclass="card"/class="badge …"markup.onchangeis nowdata-on-change; the theme toggle is signals/effect/click. Fragment contract untouched:/frag/*still returns onedatastar-patch-elementsevent,mode outer, same selectors/ids, roots keepdata-on-load+data-on-dashrefresh__window.Bun.servenow setsidleTimeout: 60so slow overview/board/queue fragments are not killed at the 10s default mid-render.Deliberately NOT migrated
/api/quota.jsonuntilgeneratedAtadvances, with failure surfacing) stays bespoke JS: its semantics are not expressible as a Datastar fragment patch without new endpoints, and its endpoints (POST /api/quota/refresh,POST /quota/refresh→ 303) are unchanged. The button itself is DaisyUI-styled.<meter>quota bars stay<meter>(DaisyUIprogressis a different element; legacy meter styling moved with the stylesheet).class="card",class="badge …", navclass="active", aformclass="primary"buttons) were not renamed; DaisyUI classes were added only where no pin exists.Contract preservation (Phase B §14)
renderQuota/renderTodayBody/deriveOverview). Aggregator still never posts to GitHub./sw.js, manifest, icons, freshness IPC: untouched.render.tssource (nav,a11y-1215,mobile-targets) now readsrc/ui.css+render.ts; the one rendered-HTML CSS assertion inrender.test.tsnow asserts the stylesheet link + the rule's presence inui.css. Newtest/ui-overhaul.test.ts(10 tests) pins the shell, pipeline, and server changes.Tests
bun test: full suite green (2008 pass / 0 fail on the clean run; an earlier loaded run showed 4 flaky hook-timeout failures that did not reproduce).bunx tsc --noEmit: clean./,/today,/attention,/quota,/assets/app.cssall 200;/frag/overviewpatch format intact.Swap plan: direct merge → pm-git-sync deploys → verify against the Phase B checklist; rollback is a revert of the merge commit (previous UI restores on the next sync).
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.