fix(chat): open the export menu below the header, items left-aligned (#75) #82

Merged
jfro merged 1 commit from fix/75-export-dropdown into main 2026-11-28 16:24:04 +00:00
Owner

What changed

PR #82 replaces the daisyUI export dropdown with an own menu that opens below the chat header with left-aligned items and icons; the new LiveView test fails on main and passes here, mix precommit passes (1250 tests), CI is green, and Chromium and WebKit checks at 390px and desktop show the menu clearing the header and closing on Escape or a click outside.

Fixes #75

Red, then green

  • The chat export menu is our own menu that opens below the header (hidden until opened, closes on Escape or a click outside) with full-width, left-aligned items that each keep their icon.: bash -c 'source ~/.rmenv; export PATH=$HOME/.local/bin:$PATH; eval "$(mise activate bash --shims)"; unset ${!FORGEJO_@} ${!GITHUB_ISSUES_@}; MIX_TEST_PARTITION=_75p mix test test/lamplighter_web/live/export_live_test.exs'
    • fails on the base (9e21ee0): exit 1
    • passes on the branch (53e9df2): exit 0

Shipping it

  • Goes live when it merges: no. Merging to main deploys nothing; release images are built only when Jeremy runs mise run release and tags a version.
  • Undo: a revert puts it back.
  • Not tried on the real thing: Real Safari on a Mac (where the screenshot in #75 likely came from); checked in Playwright WebKit and Chromium instead.
  • For later: Escape with the menu closed still closes the whole chat pane, as before.

Prover

Checking now.

Every command above was run by Fortysix's Basecamp itself, on the branch named.

## What changed PR #82 replaces the daisyUI export dropdown with an own menu that opens below the chat header with left-aligned items and icons; the new LiveView test fails on main and passes here, mix precommit passes (1250 tests), CI is green, and Chromium and WebKit checks at 390px and desktop show the menu clearing the header and closing on Escape or a click outside. Fixes #75 ## Red, then green - The chat export menu is our own menu that opens below the header (hidden until opened, closes on Escape or a click outside) with full-width, left-aligned items that each keep their icon.: `bash -c 'source ~/.rmenv; export PATH=$HOME/.local/bin:$PATH; eval "$(mise activate bash --shims)"; unset ${!FORGEJO_@} ${!GITHUB_ISSUES_@}; MIX_TEST_PARTITION=_75p mix test test/lamplighter_web/live/export_live_test.exs'` - fails on the base (9e21ee0): exit 1 - passes on the branch (53e9df2): exit 0 ## Shipping it - Goes live when it merges: no. Merging to main deploys nothing; release images are built only when Jeremy runs mise run release and tags a version. - Undo: a revert puts it back. - Not tried on the real thing: Real Safari on a Mac (where the screenshot in #75 likely came from); checked in Playwright WebKit and Chromium instead. - For later: Escape with the menu closed still closes the whole chat pane, as before. ## Prover Checking now. Every command above was run by Fortysix's Basecamp itself, on the branch named.
jfro added this to the v1.4 milestone 2026-11-28 16:04:30 +00:00
fix(chat): open the export menu below the header, items left-aligned (#75)
All checks were successful
CI / test (pull_request) Successful in 1m16s
53e9df2c41
The chat's export menu was a daisyUI dropdown, which some browsers laid
over the chat header with its items centered and an icon missing. It's
now a menu of our own, like the user menu: below the header, hidden until
the button opens it, closed by Escape, a click outside or Create issue.
Escape with the menu open closes only the menu, not the chat pane.

Closes #75
Author
Owner

Screenshots (dev data; this demo has an issue tracker set up, so the last item is Create issue):

desktop-before.png

desktop-before.png

desktop-after-webkit.png

desktop-after-webkit.png

390-after-webkit.png

390-after-webkit.png

desktop-after-chromium.png

desktop-after-chromium.png

Screenshots (dev data; this demo has an issue tracker set up, so the last item is Create issue): **desktop-before.png** ![desktop-before.png](https://git.knope.dev/attachments/a8c829f4-64f6-4708-b699-3243123c46bb) **desktop-after-webkit.png** ![desktop-after-webkit.png](https://git.knope.dev/attachments/79ddd0fe-c99e-447a-82dd-bf682daeccab) **390-after-webkit.png** ![390-after-webkit.png](https://git.knope.dev/attachments/7fe96971-f171-48ad-b572-9e2dac01dfc1) **desktop-after-chromium.png** ![desktop-after-chromium.png](https://git.knope.dev/attachments/47b5e369-2d7a-4b44-99bf-a8a2d06e9090)
jfro merged commit 21df5ba29c into main 2026-11-28 16:24:04 +00:00
Sign in to join this conversation.
No description provided.