Repository navigation
4.15.0: filters as menus, Integrations under Connections, tables that fit - #31
Merged
Merged
Conversation
… fit [screenshots] The filters of a list are menus. Apps had a row of pills per filter, one pill per server and All / Laravel / Node / Custom, with WordPress and Symfony under Custom. Server and Type are two menus (components/filter-menu): any number of servers, a field to find one when they are many, and every type on its own — Laravel, Laravel Rust, Symfony, WordPress, Node, Custom PHP — with its count. Databases gets the same for Server and Engine, an integration's page for its accounts. ?type=custom is now the custom PHP apps alone and ?type=node no longer includes Laravel Rust; appKind() still decides what an app can do. Integrations has a page of its own (/integrations, admins), in the sidebar under Connections; it was a card at the bottom of Settings. The two pages share a section column (Support/ConnectionsNav): the servers, every integration, and each group of them (?category=). An integration's page has its lists in a section column where it had rows of tabs. partials/section-nav takes links. A table fits the room it has. .table-scroll is a container: a table gives up columns in four steps as its width shrinks (.at-xl … .at-sm) and, as .table-stack, is a list of labelled blocks under the last one. What a width cannot know — a server with a long name — is measured (partials/table-script): the table drops its next set of columns until it fits and scrolls in its card only when none is left. Menus stay on the screen (partials/menu-script): upward from a last row, moved in from a side. Phones and tablets: the sidebar is a drawer under 1024px (it was 768px, which left a tablet upright the width of a large phone); a server card of the dashboard sizes its figures by its own width; the choices of a filter are as wide as the filter bar; long inline code wraps; the steps of a deploy pipeline no longer overlap; a long server name no longer widens Server → Sync. Every page and tab of the demo was rendered at 390, 768, 1024, 1280 and 1440px (390 and 1280 in the light theme too): none is wider than the screen. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0199AVTEpRYNYsPcM7ejYyNs
…reenshots] dev/screenshots.mjs called the first Livewire component of the page, which is the sidebar's since the sidebar is one: every shot that sets something on the page before it is taken (the environment editor, the invite dialog, the 2FA setup) stopped the run. The page's component is the first one inside <main>. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0199AVTEpRYNYsPcM7ejYyNs
…enshots] The four widths at which a table gave up columns were what the Apps table needs: a table of fewer, narrower columns lost them with room to spare. The deploy audit, in its half of the App → Deploy page, was down to three columns at 1440px. partials/table-script now decides above the narrowest width: a measured table (.measured) shows every column it has room for and drops its sets one at a time until it fits. The widths hold until it is measured, and alone under 34rem, where a .table-stack is blocks. App → Deploy: where the audit has no room for Origin and By, they are under the event (panel · alice) — it showed them only by scrolling sideways. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0199AVTEpRYNYsPcM7ejYyNs
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0199AVTEpRYNYsPcM7ejYyNs
…ables show them Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0199AVTEpRYNYsPcM7ejYyNs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Three things asked for from a screenshot of Apps at about 1050px with three servers — the filters as rows of pills, the table running off the page — and a pass over the whole panel on narrow screens.
What changes
The filters of a list are menus. Apps had All, server 1, server 2, server 3 and All, Laravel, Node, Custom, with WordPress and Symfony under Custom.
<x-cipi::filter-menu>): any number of servers — with more than eight choices a field finds one by name or host — each with its dot and its count.?type=takes the six.?type=customis now the custom PHP apps alone and?type=nodeno longer includes Laravel Rust — a link kept from before shows fewer apps. What an app can do is still decided byappKind().Integrations has a page of its own, under Connections.
/integrations(admins), in the sidebar right under Connections; it was a card at the bottom of Settings, which now has a link to it. Whole, or one group at a time (?category=dns)./infrastructure/<provider>is unchanged.A table fits the room it has.
.table-scrollis a container, and the same table is narrower next to a section column. It is measured in the browser (partials/table-script): with room for everything it keeps everything; without, it gives up its columns one set at a time (.at-xl….at-sm) until it fits, and gets them back when they do. In Apps: Database and Branch go first, then Runtime and Last deploy, then Server and Type, which move under the app's name. A long server name costs a column, not the page; a table with nothing left to give up scrolls in its card..table-stackis a list of labelled blocks — Databases, Connections, Team, the integrations, the firewall, notifications, most tables of a server's and an app's tabs. Apps keeps its cards.partials/menu-script): the actions of a last row open upward, a menu near a side is moved in.Phones and tablets.
<code>wraps; the steps of a deploy pipeline no longer overlap; a long server name no longer widens Server → Sync.Checked
tests/standalone*.php(666 checks) pass locally; CI runs them on PHP 8.3 to 8.6, Laravel 12 and 13, Livewire 3 and 4.Not checked
:has()are in both; the measuring does not depend on either.Screenshots
[screenshots]in the commits: the workflow takes every shot of the demo again on this branch. It stopped at the first shot that sets something on the page —dev/screenshots.mjscalled the first Livewire component, which is the sidebar's since the sidebar is one — fixed here.integrations.webpandcloudflare-records.webpneed a provider's answers the demo does not have: taken locally, committed here.connectors.webp(the card of Settings) is gone.https://claude.ai/code/session_0199AVTEpRYNYsPcM7ejYyNs
Generated by Claude Code