Repository navigation
fix(web): say one agent connected, not one agents - #386
Conversation
The header and the overview said "1 agents connected". One agent now takes the singular, in English and in French. Signed-off-by: samuel mbabhazi <[email protected]>
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
**Merge after #386 and #387:** the recording shows the web UI with both fixes, loaded on a `main` build. ## What changed - **A real demo replaces the design mockup with fictional data.** It is an animated WebP (248 KB, 1200 px, about 22 s) of the real web UI: 1. The applications list. 2. A first deployment of an nginx application, followed step by step until it is live. 3. The servers page. The caption says when and how it was recorded, and that the wait during the deployment plays 10 times faster. Nothing else is cut or sped up. The mockup file goes, since nothing else used it. - **A "Help wanted" section** says what helps most, in order: 1. installing on a spare server and reporting what breaks; 2. `good first issue`; 3. larger pieces (#264, #265, #233, #232), commenting first; 4. the threat model, with private reports through SECURITY.md; 5. Discussions. It ends with one line asking for a star. - **What works today** gains a row for the single-machine installation, on `main` and not released yet. ## How it was recorded - The control plane image was built from `main` (c83927a). The bundle was installed with the single-machine installer, through a real terminal, in a fresh Ubuntu 24.04 container. The installer answered its questions and created the account and the organization "Acme". The agent enrolled over loopback. - A `.test` name cannot get a public certificate, so the lab's Caddy issues certificates from its internal CA for these names. This is a test-only change made through Caddy's admin API. - Applications were created through the API. The one in the recording was deployed by clicking Deploy in Chromium (Playwright), and became live with its image pulled through the egress proxy. Its domain answered through Caddy. - The recording surfaced two UI bugs, fixed separately in #386 ("1 agents connected") and #387 (breadcrumb lost after a section change). ## How it was tested - Prettier, the large-file and secrets hooks. - The demo was checked frame by frame. The README must also be checked as GitHub renders it, on this branch. ## Security considerations None: documentation and an image. The recording shows no token, password or secret. The account address is `[email protected]`. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> <!-- coderabbit-ai-generated:v1 --> ## Summary by CodeRabbit * **Documentation** * Updated the README with a recording of the first deployment and servers page, including the recording date, branch, single-machine test setup, real image, and playback speed. * Added the single-machine control-plane and applications status to the “What works today” table. * Added a “Help wanted” section inviting server testing and bug reports, contributions to issues of different sizes, security-model feedback, discussion, and project stars. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Signed-off-by: samuel mbabhazi <[email protected]>
What changed
The header link and the Servers card of the overview said "1 agents connected". With exactly one agent connected, they now use a singular text, translated in
fr.tsas "1 agent connecté". Any other count keeps the plural.Why
The label is on every page of the dashboard, and most first installations have exactly one server.
How it was tested
web:lint,web:test(206 tests) and the production build pass.mainwith one enrolled server: the header reads "1 agent connected · mTLS".Security considerations
None: text only.
Summary by CodeRabbit