Skip to content

fix(docs): align component examples and branding with DaisyUI 5 - #28

Merged
mhenrixon merged 1 commit into
mainfrom
feature/docs-component-audit-and-fix
Jul 1, 2026
Merged

fix(docs): align component examples and branding with DaisyUI 5#28
mhenrixon merged 1 commit into
mainfrom
feature/docs-component-audit-and-fix

Conversation

@mhenrixon

Copy link
Copy Markdown
Collaborator

Summary

  • Fix FAB examples rendering empty by containing position:fixed within a relative wrapper
  • Replace emoji with proper SVG icons in Swap and ThemeController examples (sun/moon, hamburger/close)
  • Fix Accordion content markup to match official DaisyUI structure (<span> instead of <p> to avoid extra margins)
  • Reorder sidebar categories to match official DaisyUI docs order (Actions → Data display → Navigation → Feedback → Data input → Layout → Mockup)
  • Update component titles to match official naming (Chat bubble, Hover 3D card, FAB / Speed Dial, etc.)
  • Regenerate all favicons, icons, and logos from DaisyUI 5 brand assets

Test plan

  • bundle exec rspec — 1363 gem specs pass
  • bundle exec rspec (docs) — 8 docs specs pass
  • bundle exec rubocop — no offenses (gem)
  • bin/rubocop — no offenses (docs)
  • Visual verification: FAB examples show visible buttons in preview
  • Visual verification: Swap examples toggle between sun/moon icons
  • Visual verification: Sidebar categories appear in correct order
  • Visual verification: Favicon shows DaisyUI 5 mark in browser tab

- FAB: wrap examples in position:relative container so the fixed-position
  FAB renders visibly inside the preview panel
- Swap/ThemeController: replace emoji with SVG icons matching official docs
  (sun/moon for rotate, hamburger/close for hamburger button)
- Accordion: replace <p> wrappers with <span> to avoid extra margins in
  collapse-content, matching official DaisyUI markup
- Sidebar: reorder categories to match official DaisyUI docs
  (Actions → Data display → Navigation → Feedback → Data input → Layout → Mockup)
- Component titles: align naming with official docs (Chat bubble, Hover 3D card,
  FAB / Speed Dial, Drawer sidebar, Join (group items), etc.)
- Favicons/logos: regenerate all icon sizes from DaisyUI 5 mark SVG, update
  favicon.ico and horizontal logos from daisyui.com/brand
- site.webmanifest: rename app from "DaisyUI Docs" to "DaisyUI Ruby"
@coderabbitai

coderabbitai Bot commented Jul 1, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You’ve reached a temporary PR review limit under our Fair Usage Limits Policy.

Your recent review volume is higher than typical usage, so adaptive limits are currently applied.

Next review available in: 20 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: e909d245-0369-4129-8060-1eebe8c0e15a

📥 Commits

Reviewing files that changed from the base of the PR and between 7d2e10f and 752e7a8.

⛔ Files ignored due to path filters (38)
  • docs/public/android-chrome-144x144.png is excluded by !**/*.png
  • docs/public/android-chrome-192x192.png is excluded by !**/*.png
  • docs/public/android-chrome-256x256.png is excluded by !**/*.png
  • docs/public/android-chrome-36x36.png is excluded by !**/*.png
  • docs/public/android-chrome-384x384.png is excluded by !**/*.png
  • docs/public/android-chrome-48x48.png is excluded by !**/*.png
  • docs/public/android-chrome-72x72.png is excluded by !**/*.png
  • docs/public/android-chrome-96x96.png is excluded by !**/*.png
  • docs/public/apple-touch-icon-114x114-precomposed.png is excluded by !**/*.png
  • docs/public/apple-touch-icon-114x114.png is excluded by !**/*.png
  • docs/public/apple-touch-icon-120x120-precomposed.png is excluded by !**/*.png
  • docs/public/apple-touch-icon-120x120.png is excluded by !**/*.png
  • docs/public/apple-touch-icon-144x144-precomposed.png is excluded by !**/*.png
  • docs/public/apple-touch-icon-144x144.png is excluded by !**/*.png
  • docs/public/apple-touch-icon-152x152-precomposed.png is excluded by !**/*.png
  • docs/public/apple-touch-icon-152x152.png is excluded by !**/*.png
  • docs/public/apple-touch-icon-180x180-precomposed.png is excluded by !**/*.png
  • docs/public/apple-touch-icon-180x180.png is excluded by !**/*.png
  • docs/public/apple-touch-icon-57x57-precomposed.png is excluded by !**/*.png
  • docs/public/apple-touch-icon-57x57.png is excluded by !**/*.png
  • docs/public/apple-touch-icon-60x60-precomposed.png is excluded by !**/*.png
  • docs/public/apple-touch-icon-60x60.png is excluded by !**/*.png
  • docs/public/apple-touch-icon-72x72-precomposed.png is excluded by !**/*.png
  • docs/public/apple-touch-icon-72x72.png is excluded by !**/*.png
  • docs/public/apple-touch-icon-76x76-precomposed.png is excluded by !**/*.png
  • docs/public/apple-touch-icon-76x76.png is excluded by !**/*.png
  • docs/public/apple-touch-icon-precomposed.png is excluded by !**/*.png
  • docs/public/apple-touch-icon.png is excluded by !**/*.png
  • docs/public/favicon-16x16.png is excluded by !**/*.png
  • docs/public/favicon-32x32.png is excluded by !**/*.png
  • docs/public/favicon.ico is excluded by !**/*.ico
  • docs/public/icon.png is excluded by !**/*.png
  • docs/public/icon.svg is excluded by !**/*.svg
  • docs/public/mstile-144x144.png is excluded by !**/*.png
  • docs/public/mstile-150x150.png is excluded by !**/*.png
  • docs/public/mstile-310x150.png is excluded by !**/*.png
  • docs/public/mstile-310x310.png is excluded by !**/*.png
  • docs/public/mstile-70x70.png is excluded by !**/*.png
📒 Files selected for processing (15)
  • docs/app/assets/stylesheets/application.tailwind.css
  • docs/app/models/component_doc.rb
  • docs/app/models/docs_nav.rb
  • docs/app/views/components/examples/accordion/arrow.rb
  • docs/app/views/components/examples/accordion/plus.rb
  • docs/app/views/components/examples/accordion/radio.rb
  • docs/app/views/components/examples/fab/basic.rb
  • docs/app/views/components/examples/fab/close.rb
  • docs/app/views/components/examples/fab/flower.rb
  • docs/app/views/components/examples/fab/main_action.rb
  • docs/app/views/components/examples/fab/speed_dial.rb
  • docs/app/views/components/examples/swap/hamburger.rb
  • docs/app/views/components/examples/swap/rotate.rb
  • docs/app/views/components/examples/theme_controller/swap.rb
  • docs/public/site.webmanifest

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

@mhenrixon mhenrixon self-assigned this Jul 1, 2026
@mhenrixon
mhenrixon merged commit 292ee81 into main Jul 1, 2026
8 checks passed
@mhenrixon
mhenrixon deleted the feature/docs-component-audit-and-fix branch July 1, 2026 16:26
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