You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(survey): state the 1-year retention in the email label - #441
The subterrans-playtrace bucket's lifecycle rule now expires objects after 365 days instead of 90 (LightAxe/subterrans-web#42, already applied). The survey's optional-email label said "deleted after 90 days", which is no longer true. This changes it to say 1 year.
SURVEY_EMAIL_LABEL now reads: "Email (optional) — only used to reply about this report; deleted after 1 year"
The unit test's retention assertion and the e2e spec's expected string are updated to match
The aria-label comment in ui-scene.ts is updated too (it reuses the same string)
Render-only copy change: no sim code is touched and there's no simVersion bump. The new text is one character shorter than the old, so the layout doesn't change.
Until this merges and the site picks up the bump, new submissions still show the 90-day wording. None of the survey rows currently stored include an email.
The playtrace bucket now keeps survey rows for 365 days instead of 90
(website infra change, already applied). The optional-email label
promised "deleted after 90 days", which would no longer be true.
Copy-only change in the render layer; no sim impact.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Reviewing files that changed from the base of the PR and between 10b9f70 and 5479792.
You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.
Use the checkbox below for a quick retry:
Trigger review
No actionable comments were generated in the recent review.
Walkthrough
The optional email-label copy now states that the address is deleted after one year. The related accessibility comment and test expectations use the same retention period.
Changes: Survey email retention copy
Layer / File(s)
Summary
Update retention copy and expectations src/render/survey-overlay-layout.ts, src/render/ui-scene.ts, src/render/survey-overlay-layout.test.ts, tests/survey-overlay.spec.ts
The email-label text, accessibility comment, and test expectations now state one year instead of 90 days. The layout-test comment refers to the 365-day lifecycle rule.
This updates the survey's optional-email label to say the address is deleted after one year instead of 90 days, and updates the related tests and comments to match. The change is text-only and low risk. The author reports that the matching 365-day bucket retention was applied separately, and that should be confirmed deployed so the wording is accurate when this goes live.
Pre-merge checks: 4
Check name
Status
Explanation
Description Check
Check skipped - CodeRabbit’s high-level summary is enabled.
Title check
The title "fix(survey): state the 1-year retention in the email label" matches the main change. The optional-email label in survey-overlay-layout.ts changes from "deleted after 90 days" to "deleted af…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title "fix(survey): state the 1-year retention in the email label" matches the main change. The optional-email label in survey-overlay-layout.ts changes from "deleted after 90 days" to "deleted after 1 year". The related test, e2e spec, and aria-label comment are updated to match. The title names the survey scope and the retention wording change, so a reviewer scanning history can identify the primary change.
Finishing Touches
Generate unit tests (beta)
Commit to this branch
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Reviewing files that changed from the base of the PR and between 6ca2af3 and 10b9f70.
Files selected for processing: 4
src/render/survey-overlay-layout.test.ts
src/render/survey-overlay-layout.ts
src/render/ui-scene.ts
tests/survey-overlay.spec.ts
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
subterrans-playtracebucket's lifecycle rule now expires objects after 365 days instead of 90 (LightAxe/subterrans-web#42, already applied). The survey's optional-email label said "deleted after 90 days", which is no longer true. This changes it to say 1 year.SURVEY_EMAIL_LABELnow reads: "Email (optional) — only used to reply about this report; deleted after 1 year"aria-labelcomment inui-scene.tsis updated too (it reuses the same string)Render-only copy change: no sim code is touched and there's no simVersion bump. The new text is one character shorter than the old, so the layout doesn't change.
Until this merges and the site picks up the bump, new submissions still show the 90-day wording. None of the survey rows currently stored include an email.
🤖 Generated with Claude Code
Summary by CodeRabbit