Skip to content

Keep every column of the form list in view, on desktop and phone - #244

Merged
PhilReinking merged 8 commits into
mainfrom
feat/bits-253-form-list-layout
Oct 12, 2026
Merged

PhilReinking merged 8 commits into
mainfrom
feat/bits-253-form-list-layout

Conversation

@PhilReinking

@PhilReinking PhilReinking commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

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

  • The table is now a list: fixed grid columns from 1024 px, one stacked row per form below.
  • The header row is hidden from screen readers; each cell names its own value.
  • Columns start at 1024 px, not 768: at 768 the name column would be 64 px wide.
  • On phone the "started · finished" line is left out, and the date wraps to a second meta line when needed.
  • Edit, the status menu and the cog menu are unchanged; BITS-254 replaces them.

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

PhilReinking and others added 3 commits October 12, 2026 02:22
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 PhilReinking left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

PhilReinking and others added 5 commits October 12, 2026 02:31
…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>

@PhilReinking PhilReinking left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@PhilReinking
PhilReinking merged commit 7233bde into main Oct 12, 2026
6 checks passed
@PhilReinking
PhilReinking deleted the feat/bits-253-form-list-layout branch October 12, 2026 07:27
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