Repository navigation
Keep every column of the form list in view, on desktop and phone - #244
Conversation
The form list showed only the server's 2-letter initials in a mono font, even for a form with an avatar. It now shows the avatar, or the first grapheme of the name, so an emoji or Arabic letter isn't split. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The list is a grid with fixed columns from 1024 px, so a long name truncates instead of pushing status, numbers and actions out of view. Below that each form is one stacked row with a 44 px menu button. Submissions read "40 submissions" with "52 started · 77% finished" below, and the public URL line is gone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
PhilReinking
left a comment
There was a problem hiding this comment.
OK at 88bf5fe, CI green. No findings.
The 5 new tests fail on main and pass here (Vitest 141/141, lint, vue-tsc). The initial keeps whole characters: a flag or family emoji, an accent, Arabic and "ß" each show one. 1 of 3 shows 33%, 2 of 3 shows 67%. The avatar is the form's own /images/ file, only when it exists, and a template import can't set it. role="list" keeps the list for Safari.
…st-layout # Conflicts: # resources/js/components/Dashboard/FormListItem.test.ts # resources/js/components/Dashboard/FormListItem.vue
"1031 submissions" now reads "1,031 submissions" in the reader's locale, with the number semibold and the word regular on desktop. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…st-layout # Conflicts: # CHANGELOG.md
PhilReinking
left a comment
There was a problem hiding this comment.
OK at 55b189e, CI green.
Both main merges keep each side: the new row layout and the name dialog for Duplicate. The 3 new tests fail on the code before the fixes and pass here (Vitest 154/154, lint, vue-tsc). Both counts are database counts sent with every form, so toLocaleString() never gets null.
The form list keeps status, submissions and actions in view with any name, on desktop and phone. Submissions read "1,031 submissions" (per locale) with "1,200 started · 85% finished" below, rounded down, the uploaded avatar shows, and the public URL line is gone.
Fixes BITS-253
Tested: Vitest, lint, vue-tsc, build; 7 new tests fail on main. Headless Brave, 43 forms, at 1024, 1280, 1440, 390 and 360 px.
List width: 390 px at 390 and 360 px at 360. The page is still 481 and 451 px wide because of the toolbar (BITS-255).
Not tested: VoiceOver, a real phone.
Screenshots at 1440 and 390 px are on BITS-253 in Linear.
🤖 Generated with Claude Code