Skip to content

Release: clock redesign, styles, and CalVer deploys - #24

Merged
salmanfarisvp merged 11 commits into
mainfrom
development
Oct 19, 2026
Merged

salmanfarisvp merged 11 commits into
mainfrom
development

Conversation

@salmanfarisvp

@salmanfarisvp salmanfarisvp commented Oct 15, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Redesign the clock as a full-page display with selectable Traditional / Modern / Minimal styles (new style setting).
  • Reorder settings and move secondary options (locale, timezone, API key, analytics) into the advanced section.
  • Add localized 1080p app-store screenshots per style (ar, de, es, fr) and refresh all screenshots; show them in the README.
  • Remove unused static assets (Kelly Slab font, background image).
  • Fixes: pin esbuild for the vite peer range, type weatherIconEl as HTMLImageElement; bump @screenly/edge-apps.

CI/CD

  • Switch to Screenly/edge-apps-actions@v26.10.0.
  • Pushes to main now deploy to stage; pushing a CalVer tag (vYY.M.PATCH, e.g. v26.10.0) deploys to production. Tags not on main are refused.
  • Edge App IDs come only from the STAGE_EDGE_APP_ID / PRODUCTION_EDGE_APP_ID repo variables (the EDGE_APP_ID secret fallback was removed).

nicomiguelino and others added 10 commits July 22, 2026 19:54
Removes the screen name from the app header (Screenly/edge-apps-library#56).
Regenerates screenshots to reflect the updated header.
* feat: redesign the clock as a full page display

- Replace the photo background with a wash built from the customer accent
- Call setupTheme so brand colours reach the app for the first time
- Scale the time to roughly two thirds of the canvas, with tabular numerals
- Swap Kelly Slab for Inter, already bundled by the SDK
- Remove app-header, leaving auto-scaler as the only component in the markup

* feat: switch to a light palette for light brand colours

- Use isLightColor from the SDK to test the resolved accent colour
- Redefine the canvas, ink and rule tokens under a single body class

Requires @screenly/edge-apps v1.5.0, which is not published yet.

* feat: add a style setting with modern and minimal options

- Add a Style select to both manifests, defaulting to traditional
- Fall back to traditional for any value the build does not recognise
- Drive the type scale from custom properties so each style is one block
- Modern is left aligned and heavier, minimal is lighter with a faint wash

* chore(deps): bump @screenly/edge-apps to 1.5.0

- Picks up the released isLightColor helper the app already imports
- Use querySelector<HTMLImageElement> to satisfy type-checking
- Add explicit esbuild ^0.28.0 devDependency
- Regenerate bun.lock so resolution matches vite's esbuild peer range (^0.27.0 || ^0.28.0)
Render extra landscape and portrait 1080p screenshots pairing each clock
style with a locale (de/modern, fr/minimal, es/traditional, ar/traditional)
and a matching city, timezone and temperature.
Deploy stage on pushes to main and production on vYY.M.PATCH tags,
refusing tags not on the default branch.
Copilot AI lite review requested due to automatic review settings October 15, 2026 13:17

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Production initialization and tag validation need correction, and the full-page CSS reset should be restored.

4 open findings
What changed in this PR

This PR redesigns the clock with selectable styles, refreshed screenshots and documentation, updated dependencies, and staged/production deployment workflows.

Changes:

  • Adds Traditional, Modern, and Minimal clock styles.
  • Reworks responsive layouts, settings, weather presentation, and screenshots.
  • Routes main deployments to stage and CalVer tags to production.
File Summary
src/​style.ts Resolves supported clock styles.
src/​style.test.ts Tests style normalization and fallback behavior.
src/​main.ts Initializes styles, themes, clock data, and weather updates.
src/​css/​style.css Adds responsive style layouts. Moderate (1 vote): restore the body margin and overflow reset.
screenly.yml Adds and reorders settings. Nit (1 vote): document the new style and advanced settings.
screenly_qc.yml Removes the obsolete QC manifest.
README.md Adds release information and preview imagery. Nits: add localized screenshot links, fix the preview path, and document the style setting.
package.json Updates Edge Apps and esbuild dependencies.
index.html Defines the redesigned clock markup.
e2e/​weather-mocks.ts Adds reusable localized weather fixtures.
e2e/​screenshots.spec.ts Generates localized style screenshot variants.
bun.lock Updates dependency resolution.
.gitignore Ignores generated files and environment data.
.github/​workflows/​update-edge-app.yml Updates stage and production deployment routing. Moderate (4 votes): enforce the complete CalVer tag format.
.github/​workflows/​initialize-edge-app.yml Updates app initialization. Critical (4 votes): retain production checkout of main to prevent unreviewed refs from initializing production.
.github/​workflows/​checks.yml Updates the checks action version.

🧠 Review effort: Lite


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .github/workflows/initialize-edge-app.yml
Comment thread .github/workflows/update-edge-app.yml
Comment thread README.md
Comment thread README.md
Copilot AI lite review requested due to automatic review settings October 15, 2026 13:50

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Unresolved moderate issues remain in deployment safety, documentation, and full-page layout behavior.

0 open findings

4 resolved since last review

🧠 Review effort: Lite

@salmanfarisvp salmanfarisvp self-assigned this Oct 15, 2026
@salmanfarisvp
salmanfarisvp requested a review from 514sid October 15, 2026 13:58
@salmanfarisvp
salmanfarisvp merged commit a97a6f2 into main Oct 19, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants