Skip to content

feat: reset/override state and instant refresh from upstream#1

Merged
roeldeb merged 2 commits into
mainfrom
feat/reset-and-override-state-refresh
Jul 6, 2026
Merged

feat: reset/override state and instant refresh from upstream#1
roeldeb merged 2 commits into
mainfrom
feat/reset-and-override-state-refresh

Conversation

@roeldeb

@roeldeb roeldeb commented Jul 6, 2026

Copy link
Copy Markdown
Owner

feat: reset/override state and instant refresh from upstream

Global settings page:

  • Add "Reset to developer defaults" page action (deletes the global record) with a destructive confirmation dialog
  • Disable the form with a "Create override" callout whenever no global record exists, previewing the developer defaults
  • List channels that have their own settings when no global record exists, noting the new global settings will not apply to them

Channel settings page:

  • Add reset page action labeled "Reset to global settings" or "Reset to developer defaults" depending on whether global settings exist, with a destructive confirmation dialog
  • Disable the form with a "Create override" callout when no channel record exists; seed the override from the global settings and preview the effective (global) values so values do not jump
  • Base all form state and callouts on record existence instead of serialized-value comparison

Both pages reload via NavigateTo(refetch) after create/reset so the form and callouts update immediately without a manual browser refresh.

Docs: update the README and Usage Guide admin UI sections accordingly.

roeldeb and others added 2 commits July 6, 2026 12:55
feat: port reset/override state and instant refresh from upstream

Bring the global and channel settings admin pages up to the latest
TrueLime.XbyK.ProjectSettings behavior (v1.7.0), scoped to project
settings only (custom form settings are out of scope for this fork).

Global settings page:
- Add "Reset to developer defaults" page action (deletes the global
  record) with a destructive confirmation dialog
- Disable the form with a "Create override" callout whenever no global
  record exists, previewing the developer defaults
- List channels that have their own settings when no global record
  exists, noting the new global settings will not apply to them

Channel settings page:
- Add reset page action labeled "Reset to global settings" or
  "Reset to developer defaults" depending on whether global settings
  exist, with a destructive confirmation dialog
- Disable the form with a "Create override" callout when no channel
  record exists; seed the override from the global settings and preview
  the effective (global) values so values do not jump
- Base all form state and callouts on record existence instead of
  serialized-value comparison

Both pages reload via NavigateTo(refetch) after create/reset so the
form and callouts update immediately without a manual browser refresh.

Docs: update the README and Usage Guide admin UI sections accordingly.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@
@roeldeb
roeldeb merged commit cbf983c into main Jul 6, 2026
2 checks passed
@roeldeb
roeldeb deleted the feat/reset-and-override-state-refresh branch July 6, 2026 12:30
roeldeb added a commit that referenced this pull request Jul 6, 2026
Global settings page:
- Add "Reset to developer defaults" page action (deletes the global
  record) with a destructive confirmation dialog
- Disable the form with a "Create override" callout whenever no global
  record exists, previewing the developer defaults
- List channels that have their own settings when no global record
  exists, noting the new global settings will not apply to them

Channel settings page:
- Add reset page action labeled "Reset to global settings" or
  "Reset to developer defaults" depending on whether global settings
  exist, with a destructive confirmation dialog
- Disable the form with a "Create override" callout when no channel
  record exists; seed the override from the global settings and preview
  the effective (global) values so values do not jump
- Base all form state and callouts on record existence instead of
  serialized-value comparison

Both pages reload via NavigateTo(refetch) after create/reset so the
form and callouts update immediately without a manual browser refresh.

Docs: update the README and Usage Guide admin UI sections accordingly.
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