Commit cbf983c
feat: reset/override state and instant refresh from upstream (#1)
* @
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>
@
* Refactor channel settings and normalize line endings
---------
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent b706974 commit cbf983c
295 files changed
Lines changed: 525 additions & 390 deletions
File tree
- docs
- examples/DancingGoat
- AdminComponents
- Apps/SampleDataGenerator
- UIPages
- Commerce
- Checkout
- EventHandlers
- Extractors
- PriceCalculation
- Promotions
- Repositories
- Services
- ShoppingCart
- Components
- FormSections/TitledSection
- InlineEditors
- ColorPickerEditor
- TextEditor
- Personalization/ConditionTypes
- Sections
- ThreeColumnSection
- ViewComponents
- Articles
- Banner
- CafeCardSection
- Cafe
- CompanyAddress
- SocialLinks
- TrackingConsent
- Widgets
- CTAButton
- CardWidget
- HeroImageWidget
- ProductCardWidget
- TestimonialWidget
- Controllers
- EmailComponents
- Sections
- Templates
- Widgets
- ButtonWidget
- Enums
- ImageWidget
- TextWidget
- Helpers
- Generators
- DataProtection
- DigitalMarketing
- TagHelpers
- Models
- Account
- Consent
- Email
- Reusable
- Banner
- Cafe
- Contact
- Event
- ProductAccessory
- ProductBrewer
- ProductCoffee
- ProductGrinder
- ProductTemplateAlphaSize
- Reference
- SocialLink
- Tag
- Taxonomy
- Schema
- WebPage
- ArticlePage
- ArticlesSection
- CheckoutPage
- ConfirmationPage
- ContactsPage
- HomePage
- PrivacyPage
- ProductCategory
- ProductPage
- ShoppingCart
- Store
- PageTemplates
- Article
- LandingPage
- Resources
- Samples
- DataProtection
- IdentityCollectors
- PersonalDataCollectors
- Writers
- PersonalDataErasers
- EmailActivityTracking
- Services
- Views
- Account
- DancingGoatArticle
- DancingGoatCheckout
- EditorTemplates
- DancingGoatConfirmation
- DancingGoatContacts
- DancingGoatHome
- DancingGoatPrivacy
- DancingGoatProductCategory
- DancingGoatProductDetail
- DancingGoatProduct
- DancingGoatShoppingCart
- DancingGoatStore
- HttpErrors
- wwwroot
- Content/Styles
- PageBuilder/Admin/InlineEditors
- ColorPickerEditor
- TextEditor
- Scripts
- src/XperienceCommunity.ProjectSettings
- Pages
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
| 3 | + | |
5 | 4 | | |
6 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
7 | 9 | | |
8 | 10 | | |
9 | 11 | | |
| |||
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
| 21 | + | |
19 | 22 | | |
20 | 23 | | |
21 | 24 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
0 commit comments