Skip to content

v2.1.0: simpler policies page, fix device details save, README rewrite - #184

Merged
fifthsegment merged 3 commits into
masterfrom
v2.1-policies-ui
Sep 24, 2026
Merged

fifthsegment merged 3 commits into
masterfrom
v2.1-policies-ui

Conversation

@fifthsegment

Copy link
Copy Markdown
Owner

These commits landed on `v2-policy-rebuild` after #183 was merged, so they're cherry-picked onto master here, with a version bump to 2.1.0.

  • Policies page: each card shows a one-line summary of the policy. The editor has a Bedtime switch. Custom rules, proxy users and the description are under Advanced, which opens automatically for policies that already use them. "Test a site" and gateway-wide categories are collapsible.
  • Device details save: the Save button never called `save()`. Carbon's `ModalFooter` primary button fires `submit` on `ComposedModal`, not `click:button--primary`. svelte-check had flagged this, and the entry is removed from the baseline.
  • README: rewritten for v2.
  • Version: 2.1.0 with a CHANGELOG entry. Merging this triggers the automatic release and Docker publish.

Tested: vitest 30/30, svelte-check matches the baseline, and the policies page was checked in a browser on desktop and mobile. Editing a device and saving now issues the POST and shows the success notice.

🤖 Generated with Claude Code

fifthsegment and others added 3 commits September 24, 2026 03:24
Covers the v2 policy model, safe search, the full set of env vars, and the
automatic release flow. Drops stale content: the setup.sh reference, the
warning about the pre-first-run Docker image, duplicated service
instructions, and the tag-only release description.

Co-Authored-By: Claude <noreply@anthropic.com>
Policies show a one-line summary and fold rules and devices behind a
toggle. The editor adds a bedtime switch and moves custom rules, proxy
users and the description into an Advanced section. Starters sit under
the heading, and site testing and gateway categories are collapsible.

The device detail Save button never called save(): Carbon's ModalFooter
primary button fires submit on ComposedModal, not click:button--primary.

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 48.02%. Comparing base (790cf08) to head (7c76c86).
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #184      +/-   ##
==========================================
- Coverage   48.03%   48.02%   -0.01%     
==========================================
  Files         123      123              
  Lines       10956    10956              
==========================================
- Hits         5263     5262       -1     
  Misses       5011     5011              
- Partials      682      683       +1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@fifthsegment
fifthsegment merged commit 613fb88 into master Sep 24, 2026
10 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.

2 participants