Admin Pages list on phones: one card per page #18

Merged
reudy merged 1 commit from admin-mobile-pages-list into main 2026-10-26 20:18:07 +01:00
Member

On a phone, the admin Pages list was a four-column table that didn't fit. The slug column scrolled off the left, and each row's Edit, View, Unpublish and Delete buttons stacked into a tall column.

Phones now show one card per page:

  • The title, with the /slug under it. Some pages share a title, such as "About Me", so the slug tells them apart.
  • The status badge, top right.
  • The buttons in one row.

Tapping the title opens the editor. From md up the table stays as it was. On wide screens its buttons now stay on one line instead of Delete wrapping below the others.

The actions and status markup are shared through snippets, so the card and the table can't drift apart.

Tested on the test stack:

  • Screenshots at 412 px and at 1300 px.
  • scrollWidth matches the screen width at both sizes.
  • svelte-check: 0 errors and 16 warnings, the same as main.
  • Not tried on a real phone.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Hy2vMnHJYP7QGsiH21zHxW

On a phone, the admin **Pages** list was a four-column table that didn't fit. The slug column scrolled off the left, and each row's Edit, View, Unpublish and Delete buttons stacked into a tall column. Phones now show one card per page: - The title, with the `/slug` under it. Some pages share a title, such as "About Me", so the slug tells them apart. - The status badge, top right. - The buttons in one row. Tapping the title opens the editor. From `md` up the table stays as it was. On wide screens its buttons now stay on one line instead of Delete wrapping below the others. The actions and status markup are shared through snippets, so the card and the table can't drift apart. **Tested** on the test stack: - Screenshots at 412 px and at 1300 px. - `scrollWidth` matches the screen width at both sizes. - svelte-check: 0 errors and 16 warnings, the same as main. - Not tried on a real phone. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01Hy2vMnHJYP7QGsiH21zHxW
agent added 1 commit 2026-10-26 20:15:56 +01:00
The four-column table didn't fit a phone: the slug scrolled off the left
and each row's buttons stacked into a tall column. Phones now get a list
of cards (title, /slug, status, then the buttons in a row); the table
stays from md up, with its buttons on one line on wide screens.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hy2vMnHJYP7QGsiH21zHxW
reudy merged commit cbc0f1b44e into main 2026-10-26 20:18:07 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: reudy-net/domaino#18
No description provided.