8000 refactor(ui): drop daisyUI from checkbox and user-menu dropdown by mwoods79 · Pull Request #153 · huddlz-hq/huddlz · GitHub
[go: up one dir, main page]

Skip to content

refactor(ui): drop daisyUI from checkbox and user-menu dropdown - #153

Merged
mwoods79 merged 1 commit into
mainfrom
refactor/component-no-daisyui-checkbox-dropdown
May 2, 2026
Merged

mwoods79 merged 1 commit into
mainfrom
refactor/component-no-daisyui-checkbox-dropdown

Conversation

@mwoods79
@mwoods79 mwoods79 commented May 1, 2026
Copy link
Copy Markdown
Contributor

Summary

  • Adds a `checkbox-cyber` utility (sharp-edged, primary-cyan fill, native check icon) and swaps it in for daisyUI's `checkbox checkbox-sm checkbox-primary` inside `<.input type="checkbox">`.
  • Reimplements the header user menu as a relative-positioned panel toggled by `phx-click`, dismissed by `phx-click-away` and Escape — replaces daisyUI's `dropdown` / `dropdown-content`.

Closes #149

Test plan

  • Visit `/profile/notifications` and toggle a checkbox — square edges, primary-cyan fill with check, focus ring on tab
  • Sign in and click the avatar in the header — menu opens; clicking outside or pressing Escape closes it
  • Verify keyboard tab order still reaches the avatar trigger (now a real ``)

Replace the two remaining daisyUI component usages in the foundation
layer with custom cyberpunk-brutalist equivalents.

- Add a checkbox-cyber utility (sharp-edged, primary-cyan when
  checked, native check icon via inline SVG) and use it in the
  <.input type="checkbox"> clause instead of the daisyUI
  checkbox classes.
- Reimplement the header user menu with a relative-positioned
  panel toggled by phx-click, dismissed by phx-click-away and the
  Escape key, replacing the daisyUI dropdown / dropdown-content
  combination.

Closes #149
@mwoods79
mwoods79 force-pushed the refactor/component-no-daisyui-checkbox-dropdown branch from 921204c to b35bd06 Compare May 2, 2026 02:25
@mwoods79
mwoods79 merged commit 424bfac into main May 2, 2026
1 check passed
@mwoods79
mwoods79 deleted the refactor/component-no-daisyui-checkbox-dropdown branch May 2, 2026 04:05
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.

Component standardization: drop daisyUI fro 3A76 m checkbox and user-menu dropdown

1 participant

0