Skip to content

feat(demo): self-refreshing console demo + Resources nav grouping - #670

Merged
Timur Tukaev (tym83) merged 2 commits into
mainfrom
feat/demo-self-refresh
Aug 31, 2026
Merged

feat(demo): self-refreshing console demo + Resources nav grouping#670
Timur Tukaev (tym83) merged 2 commits into
mainfrom
feat/demo-self-refresh

Conversation

@tym83

Copy link
Copy Markdown
Contributor

Two changes.

Self-refreshing demo

The mocked /demo/ console shipped as a prebuilt bundle. This adds its source as a small overlay on cozystack-ui (demo-src/: the mock layer, MSW worker, smoke test, and patches to main.tsx/vite.config/manifests) plus demo-src/build.sh, which clones upstream fresh, applies the overlay, smoke-checks a build (Playwright walks every sidebar/tab screen; fails on any un-mocked Kubernetes call or page error), and regenerates static/demo.

.github/workflows/demo-refresh.yml runs that weekly and opens a PR when the demo changes — using the built-in GITHUB_TOKEN, no fork and no external secrets. This repo is public, so the run is free.

Needs Settings → Actions → General → Allow GitHub Actions to create and approve pull requests enabled once. (static/demo itself is unchanged here — the rebuild reproduces the current bundle byte-for-byte.)

Resources nav grouping

The top nav had grown to seven items and wrapped. OSS Health, Community and Enterprise support fold into a single Resources dropdown, leaving Docs, Compliance, Resources, Live Demo and GitHub on the top row.

The mocked /demo/ console was vendored as a prebuilt bundle. Add the source
of that bundle as a small overlay on cozystack-ui (demo-src/: the demo mock
layer, MSW worker, smoke test, and patches to main.tsx/vite/manifests) plus a
build script that clones upstream fresh, lays the overlay on top, smoke-checks
it, and regenerates static/demo.

A weekly workflow runs that build and opens a PR when the demo changes, using
the built-in GITHUB_TOKEN — no fork, no external secrets. This repo is public,
so the Actions run is free.

Needs Settings → Actions → General → allow GitHub Actions to create PRs.

Signed-off-by: tym83 <6355522@gmail.com>
The top nav had grown to seven items and wrapped. Fold OSS Health, Community
and Enterprise support into a single Resources dropdown, leaving Docs,
Compliance, Resources, Live Demo and GitHub on the top row.

Signed-off-by: tym83 <6355522@gmail.com>
@netlify

netlify Bot commented Aug 30, 2026

Copy link
Copy Markdown

Deploy Preview for cozystack ready!

Name Link
🔨 Latest commit c6eee80
🔍 Latest deploy log https://app.netlify.com/projects/cozystack/deploys/6a93ff79469c7e0008443505
😎 Deploy Preview https://deploy-preview-670--cozystack.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@coderabbitai

coderabbitai Bot commented Aug 30, 2026

Copy link
Copy Markdown
Contributor

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: f0fb6355-2522-4f81-825e-f93e6a281852


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@tym83
Timur Tukaev (tym83) merged commit 63fb37a into main Aug 31, 2026
6 checks passed
@tym83
Timur Tukaev (tym83) deleted the feat/demo-self-refresh branch August 31, 2026 07:17
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.

1 participant