feature/backup-methods-network-grants-collapsed-default #19
No reviewers
Labels
No labels
Compat/Breaking
Compat/Deprecation
Kind
Bug
Kind
Chore
Kind
Documentation
Kind
Enhancement
Kind
Feature
Kind
Investigation
Kind
Question
Kind
Security
Kind
Testing
Meta/Good First Issue
Meta/Help Wanted
Meta/Stale
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
Status/Needs Triage
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
XeplosionGames/minecraft-provider-analysis!19
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/backup-methods-network-grants-collapsed-default"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What changed and why
Four related capture-model fixes, all stemming from real gaps found while
using the tool:
Multiple backup models.
features.backupswas a single object, so aprovider offering both automated (
slot_limited) AND manual backupssimultaneously had no way to represent the second method. Changed to an
array of backup-method entries. UI: each method gets its own card with
a remove button (disabled at 1 remaining, per the schema's
minItems: 1)and a "+ Add another backup method" button.
Separate backup storage amount.
separate_storage(boolean) existedbut nothing captured how much separate storage was included. Added
separate_storage_gb, shown only when "Separate storage?" is yes. Itsdescription cross-references
addon.resource_deltas.backup_storage_gb(the purchasable-increase side), which already existed — the two now
reference each other.
Add-ons can now declare which networking feature they provide. When
feature_networking.dedicated_ip(or DNS hostname / dedicated subdomain /DDoS protection) is
"paid_addon", there was previously no way to knowwhich add-on actually provides it — only that some add-on does. Added
addon.grants_network_features, a closed-vocabulary array(
dedicated_ip/dns_hostname/dedicated_subdomain/ddos_protection),with checkboxes on the addon card. Chosen over a reference field on
feature_networkingbecause it's symmetric with the existingresource_deltaspattern — the add-on declares what it grants, so there'sno dangling-reference risk if an add-on is renamed or removed.
Cards collapsed by default. Inverted the collapse-tracking set
(
collapsedCards→expandedCards): default is now collapsed for productlines, offerings, add-ons, and promotions. Newly created cards (via any
"+ Add" button) are explicitly expanded on creation, so you're not stuck
re-expanding something you just clicked to create.
All schema additions are optional/nullable (not in any
requiredarray)except the
backupsarray shape change itself, which is additive acrossall 113 real provider files (none currently populate
features.backups—verified before making the change) and only affects the single example
file, which has been migrated.
Related issues
Closes #
How to test
pytest— 75 tests (up from 71), all passing, including newACCEPTED/REJECTED cases for the backups array shape and
grants_network_features.set a model, then click "+ Add another backup method" — confirm a
second, independent method card appears and both save correctly.
appears; set it to no/unknown — confirm it's hidden.
mechanism for" boxes — confirm they save/load independently of each
other and of the separate "Eligibility" checkbox on the same card.
confirm everything loads collapsed. Click "+ Add offering" (or any
other "+ Add") — confirm the new card opens expanded.
schema/provider-schema-v2.3.json(orvia
capture-validate) and confirm it passes.Checklist
Release notes
Support multiple simultaneous backup methods, track included separate-storage amounts, let add-ons declare which networking feature they provide, and collapse all cards by default for easier browsing.