Make the proxy group and name servers pages fit a phone #74

Merged
calvin merged 1 commit from mobile-proxy-page into master 2026-11-13 15:02:45 +00:00
Owner

What was wrong

The phone review (13 Nov) measured the proxy group page at 748 px wide on a 412 px screen. Three tables (node certificates, address names, routes) had cells that could not wrap, and the shared panel let them widen the whole page. The name servers tables scrolled inside their box with addresses and badges cut off. Some tap targets were under 40 px.

What changed

  • Proxy group page: under sm the node certificate, #address-names and #routes tables stack (name, state, then records; host, backend, certificate). Serials, hosts and addresses use break-all. Records show one address per line through new ProxyView.records_lines/1 (records_text/1 is kept). Element ids are unchanged. Desktop markup and classes at 640 px and up are the same.
  • panel component: min-w-0 on the section and its body, so a wide child cannot widen the page.
  • Name servers page: #edge-list and #serial-table stack under sm; addresses wrap; each edge cell carries its own label on a phone.
  • Tap targets: the zone back link and "All groups" are min-h-10 on touch widths only. The Copy button already had max-sm:min-h-11, so it is unchanged.

Checked

  • mix format --check-formatted: clean.
  • mix compile --warnings-as-errors --force: no warnings from this app.
  • New unit test test/salt_dns_web/console/proxy_view_test.exs: 4 passed.

NOT checked

  • Not seen in a browser at any width. There was no cheap way to render the pages (production login is disabled, the dev stack was not started). The result is based on reading the markup and Tailwind classes only.
  • The LiveView tests for these pages (test/salt_dns_web/live/console/proxy_test.exs, nameservers_test.exs) are tagged :integration and were not run; CI runs them. I read their assertions and expect them to pass (ids kept, A 185.199.108.5 still matches).
  • Desktop appearance was not compared visually.

🤖 Generated with Claude Code

## What was wrong The phone review (13 Nov) measured the proxy group page at 748 px wide on a 412 px screen. Three tables (node certificates, address names, routes) had cells that could not wrap, and the shared panel let them widen the whole page. The name servers tables scrolled inside their box with addresses and badges cut off. Some tap targets were under 40 px. ## What changed - Proxy group page: under `sm` the node certificate, `#address-names` and `#routes` tables stack (name, state, then records; host, backend, certificate). Serials, hosts and addresses use `break-all`. Records show one address per line through new `ProxyView.records_lines/1` (`records_text/1` is kept). Element ids are unchanged. Desktop markup and classes at 640 px and up are the same. - `panel` component: `min-w-0` on the section and its body, so a wide child cannot widen the page. - Name servers page: `#edge-list` and `#serial-table` stack under `sm`; addresses wrap; each edge cell carries its own label on a phone. - Tap targets: the zone back link and "All groups" are `min-h-10` on touch widths only. The Copy button already had `max-sm:min-h-11`, so it is unchanged. ## Checked - `mix format --check-formatted`: clean. - `mix compile --warnings-as-errors --force`: no warnings from this app. - New unit test `test/salt_dns_web/console/proxy_view_test.exs`: 4 passed. ## NOT checked - Not seen in a browser at any width. There was no cheap way to render the pages (production login is disabled, the dev stack was not started). The result is based on reading the markup and Tailwind classes only. - The LiveView tests for these pages (`test/salt_dns_web/live/console/proxy_test.exs`, `nameservers_test.exs`) are tagged `:integration` and were not run; CI runs them. I read their assertions and expect them to pass (ids kept, `A 185.199.108.5` still matches). - Desktop appearance was not compared visually. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Make the proxy group and name servers pages fit a phone
All checks were successful
ci/woodpecker/pr/image Pipeline was successful
ci/woodpecker/pr/quality Pipeline was successful
ci/woodpecker/pr/integration Pipeline was successful
b893b517b8
The proxy group page was 748 px wide on a 412 px screen. Under sm the
node certificate, address-name and route tables now stack, long serials
and addresses break, and records are listed one address per line
(ProxyView.records_lines/1). The name servers tables stack too. Panels
get min-w-0 so a wide child cannot widen the page. The zone back link
and All groups are at least 40 px tall on touch screens.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
calvin merged commit f3b30d1c9e into master 2026-11-13 15:02:45 +00: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
external/salt-dns!74
No description provided.