Skip to content

feat(DataRetentionSettingsForm): per-store data retention settings element - #244

Open
brettflorio wants to merge 3 commits into
mainfrom
feat/data-retention-settings-form
Open

feat(DataRetentionSettingsForm): per-store data retention settings element#244
brettflorio wants to merge 3 commits into
mainfrom
feat/data-retention-settings-form

Conversation

@brettflorio

@brettflorio brettflorio commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

DataRetentionSettingsForm — edits the store's data_retention field

data_retention now lives on the Store resource (not a data_retention_settings sub-resource), so the form is Store-typed and edits the nested data_retention object via custom getValue/setValue + this.edit() (the StoreForm nested-JSON-field pattern).

  • auto_anonymize (switch) + auto_anonymize_days (number, min 90); v8n and hiddenSelector read data_retention.*; days control hidden unless auto-anonymize is on.
  • Stories bound to a store href; tests updated (incl. a read/write-through-data_retention case). Suite green.

Requires the foxy-sdk change adding data_retention to the Store graph.

Brett Florio and others added 2 commits June 18, 2026 11:11
…ement

foxy-data-retention-settings-form edits fx:data_retention_settings: a toggle
(auto_anonymize) and a conditional days-of-inactivity field with a 90-day
minimum (v8n + min). Mirrors CustomerPortalSettingsForm (PATCH-only settings
singleton: delete/timestamps hidden). Includes i18n, tests, and a story.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
…dataset

Populated fixture + store link so the storybook Playground loads an editable
data_retention_settings resource.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Brett Florio seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

1 similar comment
@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Brett Florio seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

…field

data_retention now lives on the Store resource (not a sub-resource), so the
form binds to a store and edits the nested data_retention object via custom
get/set + this.edit() (the StoreForm pattern). Update v8n/hiddenSelector to
read data_retention.*, stories to a store href, and tests.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
Claude-Session: https://claude.ai/code/session_01UGvyb3Yx7kGiTWfaVnBa4u
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