Repository navigation
Conversation
Chromium re-fills form fields from history when you go Back, so /team showed the old custom dates beside the 30d metrics. autocomplete=off makes the browser keep the server-rendered values. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Author
|
Closing as a duplicate of #730 (Medic, APO-17700). #730 sets autoComplete="off" on the WindowControls form, and /team and the person pages render that same form. I ran this PR's /team Back test against #730's change alone, and it passes. One fix on the form covers Home, Team and person pages, so this input-level copy isn't needed. Both PRs, like every open bug-board PR, are waiting on #743 to fix the npm audit check. |
nlewis84
deleted the
apo-17784-bug-board-team-back-restores-30d-metrics-but
branch
November 18, 2026 15:45
This branch was successfully deployed
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
🐛 Issue
Fixes APO-17784
On /team, apply custom dates, then use Back to the plain /team page. The heading says "Team metrics · 30d" but Start and End still show the custom dates. The metrics and the inputs disagree.
✏️ Solution
autoComplete="off"on the Start and End inputs. Chromium was refilling them from history on Back, overriding the server-rendered 30d values. The inputs were already keyed to the window, so this was not a React state bug.🔬 To Test
🧾 Proof
The new e2e test fails on main and passes on this branch. Repro on the fixture build, Start value after Back: main
2026-10-01, branch2026-10-19.🤖 Generated with Claude Code