Repository navigation
fix(web): singular and plural forms in every count - #401
Conversation
A count pipe gives each count the form of the interface language, with
the same rules as I18n.count. The applications list ("1 environments"),
the projects and project pages, the connected agents (French "0 agent
connecté"), the recovery codes left, the organization's members and
the replicas running ("0 of 1 replica running") use it.
Signed-off-by: samuel mbabhazi <[email protected]>
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
## What The landing page has shown the two chevrons of the Cadre design since #372, and its favicon since #389. These places still drew the old arrow: - **Web UI logo** (`sk-logo`), in the dashboard sidebar and on the public pages (sign-in, account): now the chevron mark and the "SHIPKEEP" wordmark in spaced capitals, as on the landing. - **Web UI favicons:** `favicon.svg`, `favicon.ico` (16, 32 and 48 px) and `apple-touch-icon.png` are now the landing's files. - **README banner** (`docs/assets/readme-banner.jpg`) **and social preview** (`docs/assets/social-preview.png`): rendered again from the current landing page (English, 1280 × 640, the banner at 2×). The banner's alt text follows the new page. - **README demo** (`docs/assets/demo.webp`): recorded again on the lab, from `main` with the new mark and the plural fixes of #401. It now opens the Deployments tab, so the steps show while the deployment runs. 222 KB, about 27 s, the wait played 10 times faster. The caption says how it was recorded. A search for the arrow's path finds nothing else in the repository (API, scripts, docs). ## Not done here The social preview GitHub shows is set in the repository settings (Settings → Social preview). Only the maintainer can upload the new `docs/assets/social-preview.png` there. ## How it was tested - `web:lint` and `web:test` (230) pass. The shell test now expects "Shipkeep" (the capitals come from CSS). - On the lab: dashboard and sign-in page at 1440 px and 390 px, favicons served (200). The demo was checked frame by frame. No console error. ## Security considerations Images and text only. The demo 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 * **Style** * Updated the Shipkeep logo with a two-chevron mark and a more prominent uppercase wordmark. * **Documentation** * Refreshed the README banner description and demo caption, including the metrics shown, test environment details, and recording date. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Signed-off-by: samuel mbabhazi <[email protected]>
What
countpipe ({{ n | count: '{n} environment' : '{n} environments' }}) usesI18n.count, which now accepts extra values. The form follows the interface language's plural rules (Intl.PluralRules).Why
The demo recording showed "8 applications in 1 environments". #399 fixed the Overview and Organization summaries; this fixes the rest, found by searching every
{n} …stext. The certificate countdown is left as it is: it only says "{n} days" for 2 days or more.How it was tested
web:lintandweb:test(237) pass.Security considerations
Text only.
Summary by CodeRabbit