Repository navigation
[#205 #206] Web: dashboard and sign-in from the design - #249
Merged
Merged
Conversation
added 5 commits
November 7, 2026 23:36
Self-hosted Outfit, Geist and Geist Mono (OFL-1.1, pending approval in ADR 0014), every Tabler icon and Simple Icons brand mark the design uses as path data, the design's colors as Tailwind tokens, and an English/French interface with the design's French copy. Signed-off-by: review <[email protected]>
Ports the Claude Design dashboard and auth screens: the frame (sidebar with counts and projects, top bar, mobile drawer, Cmd+K palette), the overview, servers, members and access, audit log, projects, project, environment and application pages, and sign-in with the second-factor step and the GitHub and GitLab buttons. Pages read the real API; features the control plane does not have yet (logs, metrics, terminal, databases, previews, integrations…) show the design's sample data under a Preview label, and their buttons say they are not available yet. Open tabs and sections live in the URL. Signed-off-by: review <[email protected]>
Signed-off-by: review <[email protected]>
…WCAG AA The organization chooser and the account page get the sign-in header and a skip link. Text grays rise to WCAG AA contrast, checkboxes to 24 px, table rows open through a stretched link, and the frame says when an organization is refused. DESIGN.md describes the ported design system; ADR 0014 records the approved font and brand-mark licenses. Signed-off-by: review <[email protected]>
Sign-in with the second-factor step, the reset screen that follows the request, profile sections, the members Invite panel, project and application tabs, and axe once entrance animations are over. Signed-off-by: review <[email protected]>
samuelmbabhazi
added a commit
that referenced
this pull request
Nov 28, 2026
…epository (closes #214) (#560) Closes #214 (M3.2, shipkeep.yml sync), last of four pull requests. **UI change: waits for the maintainer's validation before merging.** It is stacked on #559, which is stacked on #558: until they merge, their commits show here too. This PR's commits start at "the preview of a change says how it is written". #214's acceptance criterion is "editing replicas in the UI opens a PR with the exact YAML change". It is tested in Chromium on the production build. ## What changed - **Web, `RepositoryConfigEditor`.** The Configuration section of a Git application (`?tab=config§ion=yml`) no longer shows the stored configuration read-only: it edits the repository's file. - The draft starts from the file's text, comments included (`GET …/repository-config`). - The card says which file the application runs: - this file, at a given commit; - an older commit, when the branch has moved on (drift); - or that the file is not a valid configuration for this application. - **Review changes** checks the draft here (YAML, schema, same name), then shows the control plane's preview: the exact lines written, with three around each and `⋯ N unchanged lines` for the rest. - The button names what happens: **Open a pull request**, with "It goes to a branch of its own, in a pull request into main", or **Commit to main**, with "If main is protected, a pull request is opened instead". It sends the document reviewed, with the blob it was reviewed against. - **Once written,** the card says "Pull request #12 opened. Merging it into main deploys the change." or "Committed to main…", with **Open on GitHub**. The draft starts again from the branch's file, so the change is not written twice. - **A file changed in the repository meanwhile** (409 `config_file_changed`) keeps the draft and offers **Load the latest file**; the draft is then reviewed against it. - New strings are translated in `fr.ts`. The read-only notice they replace is removed. - **API:** the preview also answers `writeMode` (the project's `gitWriteMode`), for the button. - **Fix: new projects defaulted to `commit`.** The dashboard's **New project** dialog sent `gitWriteMode: 'commit'` since the design port (#249). That goes against ADR 0031, which makes a change from the interface a pull request unless the project says otherwise. With this editor, every project created there would have committed straight to its branch. It now sends `pull_request`, the database's default; the project settings still change it. The Chromium test is what found this. - **Docs:** SPEC describes the editor and the default. ## How it was tested - **Web unit** (`repository-config-editor.spec.ts`, 7 tests): - the file's text, comments included, as the draft, and the state shown when the application runs it; - drift with both commits, and an invalid file; - a review sending the parsed document and the blob, with the diff shown (skipped run, added lines) and the pull request sentence; - writing that sends the document reviewed, shows "Pull request #12" and its link, then reloads the branch's file; - commit mode's text and button; - a conflict that keeps the draft, loads the latest file and reviews against its new blob; - invalid YAML, a renamed application and an unchanged draft, refused here with no call; - an unreadable file, read again. - **Web unit, overall:** 411/411, including the New project body, now `pull_request`. - **Chromium, production build and CSP** (`github.browser.spec.ts`, new test): - an application created from a repository through the fake GitHub, its file shown with comments; - `scale.replicas: 3` added, then reviewed, with `+ replicas: 3` in the diff; - **Open a pull request** answers 201. GitHub received, on a `shipkeep/config-<12 hex>` branch, **exactly the file with those lines added**, and a pull request into `main` titled "Change the configuration of billing"; - the link points to the pull request, the editor holds the branch's file again, axe passes, and there are no console or CSP errors. - The whole browser suite passes, 31/31. - **API:** unit 1016/1016; integration for the repository config (with `writeMode`), the route matrix, and project resources. Lint, typecheck and format clean. Screenshots (desktop and mobile) are on the validation page linked in the conversation with the maintainer. ## Security considerations - The interface only calls the routes of #558 and #559: the document is validated again there, written over the blob it was reviewed against, with a token for one repository, and audited. - The new-project fix restores the more reversible default, a pull request, for every project created from the dashboard. - The external link to GitHub is the URL the control plane validated (`https://github.com` only), opened with `rel="noopener"`. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> <!-- coderabbit-ai-generated:v1 --> ## Summary by CodeRabbit * **New Features** * View and edit an application’s repository configuration in the dashboard, with validation and a preview of the exact changes. * Submit reviewed changes as a commit or pull request, based on project settings. Concurrent file changes are detected so you can reload and review before writing. * New projects use pull requests as the default for repository configuration changes. Changes take effect after they’re pushed and applied. * **Documentation** * Added guidance for repository configuration editing, previews, write options, and request limits. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Signed-off-by: samuel mbabhazi <[email protected]>
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.
What changed
The web UI now follows the owner's Claude Design mockups (
Shipkeep Dashboard.dc.html,Shipkeep Auth.dc.htmland the 17 generic screens), screen by screen.styles.css, self-hosted Outfit, Geist and Geist Mono fonts, every Tabler icon and Simple Icons brand mark of the design as path data, and English/French texts (ui/i18n.ts,ui/fr.ts, FR/EN switch, browser language by default).shipkeep.yml, deployments with the pipeline), organization and profile.?tab=,?section=).Why
The previous UI did not follow the design and missed most of its screens (#204, #205, #206). The design is the product's own identity, not Coolify's: no text, markup, asset or code comes from Coolify. A check against Coolify's Blade views found no shared sentence.
Deliberate differences from the mockups
How it was tested
pnpm lint,pnpm format:checkvitest.browser.config.mts, Chromium, real API and PostgreSQL): 17/17. It covers CSP, axe WCAG 2.2 AA on every workspace screen, keyboard paths, MFA, tokens, tenant isolation and live deployments.CI is paused (billing), so the gate ran locally.
Security considerations
localStorageholds only the language, and only after the user picks one.Size
About 8,300 lines added, excluding generated data (icons, brand marks, French texts, sample screens). That is above the 500-line guideline: a design port touches every screen at once.
Closes #204
Closes #205
Closes #206
Checklist
apps/web/DESIGN.md, ADR 0014)