Skip to content

Console: daisyUI components + outer theme, Lucide icons, no overflow - #41

Merged
ryuzdev merged 2 commits into
mainfrom
console-daisy
Oct 24, 2026
Merged

ryuzdev merged 2 commits into
mainfrom
console-daisy

Conversation

@ryuzdev

@ryuzdev ryuzdev commented Oct 24, 2026

Copy link
Copy Markdown
Member

Owner: (1) long cells overflowed and broke the console layout, (2) use Lucide icons, (3) use daisyUI components instead of custom ones, with a theme matching the current look.

  • Overflow: every label, cell, slug, URL, sha, path, summary and message truncates (truncate, min-w-0 on flex/grid children, table-fixed + colgroup widths) and keeps the full text in title; deploy errors wrap (break-all); the main panel fills the width; stats go horizontal from xl. Verified in Chromium with absurd data (500-char summaries, 300-char paths, 63-char slugs, a 1,500-char deploy error) at 1440, 1024 and 390 px: no horizontal document scroll, no element outside its panel, zero CSP violations or console errors.
  • Lucide (lucide 1.61.0): icon nodes rendered through a tiny Ilha component (@lucide/astro only works in .astro files; createElement/createIcons are DOM-based and would fight hydration and the CSP). The Outer mark stays custom.
  • daisyUI 5 per https://daisyui.com/docs/install/astro/: menu, card, stats, badge, table, join, tabs, btn, drawer (mobile sidebar), dropdown (account), tooltip, skeleton, alert, collapse (deploy rows), kbd, loading, divider, indicator (status dots, error count), avatar (rail tiles). Custom CSS is now layout glue, the SVG charts, the log list and tile tints.
  • Themes (https://daisyui.com/docs/themes/): outer (default: soft-gray canvas, white panels, near-black primary, --radius-box 1.25rem) and outer-dark (prefersdark).

438 tests pass; Blume build and validate pass.

* Re-adopt daisyUI 5 (Tailwind v4 plugin, console-only scope, @source '.'):
  custom 'outer' (default) + 'outer-dark' (prefersdark) themes matching the
  reference (soft gray canvas, white panels, near-black primary/neutral,
  radius-box 1.25rem, muted status colors). Components used: menu (sidebar,
  dropdown popovers), card, stats/stat, badge (badge-soft pills), table +
  table-fixed w/ colgroup, join (range picker), tabs-box (mobile view tabs),
  btn, drawer + drawer-toggle/content/side/overlay (mobile sidebar,
  md:drawer-open on desktop), dropdown, tooltip, skeleton, alert, collapse
  (deploy rows), kbd (Esc hints), loading, divider, indicator (rail status
  dots, error count), avatar (rail tiles, account). Deleted the custom CSS
  daisyUI replaces; kept layout glue, charts, log list, app-tile tints.
* Lucide via the 'lucide' package's IconNode exports ([tag, attrs][] nodes
  rendered through a tiny Ilha component using ilha's h(); pinned 1.61.0):
  no CDN, no createIcons DOM scanning, CSP-safe. OuterMark stays custom.
* Overflow impossible: truncate + min-w-0 on every flex/grid text child,
  table-fixed with column widths, break-words only for logs/deploy message
  (break-all for unbroken error runs), title on everything truncated.
  Main panel and grids fill available width (drawer-content min-w-0,
  stats stack below xl).
* CSP unchanged, zero style= attributes.

Verified: bun build + validate clean; Playwright Chromium vs real router
with seeded absurd data (500-char summaries, 300-char paths, 63-char
slugs, long errors/secrets): Overview/Actions/Errors/Deploys (expanded)/
Secrets at 1440 and 1024, mobile 390 drawer open in /tmp/outer-console-v3-*;
no horizontal document scroll, no element box outside its panel, zero CSP
violations and console errors. cargo fmt/clippy -D warnings/test green
(438 passed). Harness test deleted after verification.
@coderabbitai

coderabbitai Bot commented Oct 24, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You'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 26 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 9c265ab4-38a8-452d-ba90-260146f58e47
Commits

Reviewing files that changed from the base of the PR and between d9b5f48 and 553a92c.

Files ignored due to path filters: 1
  • web/bun.lock is excluded by !**/*.lock
Files selected for processing: 6
  • web/package.json
  • web/pages/console/_islands/common.tsx
  • web/pages/console/_islands/console.tsx
  • web/pages/console/_islands/icons.tsx
  • web/pages/console/_islands/views.tsx
  • web/pages/console/console.css
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@ryuzdev
ryuzdev merged commit 86f14dd into main Oct 24, 2026
4 checks passed
@ryuzdev
ryuzdev deleted the console-daisy branch October 24, 2026 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant