Repository navigation
chore(deps): Bump react from 19.2.4 to 19.2.5 - #7
dependabot[bot] wants to merge 1 commit into
Conversation
c96dd92 to
343847f
Compare
|
@dependabot recreate |
Bumps [react](https://github.com/facebook/react/tree/HEAD/packages/react) from 19.2.4 to 19.2.5. - [Release notes](https://github.com/facebook/react/releases) - [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md) - [Commits](https://github.com/facebook/react/commits/v19.2.5/packages/react) --- updated-dependencies: - dependency-name: react dependency-version: 19.2.5 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
343847f to
d6bb0f8
Compare
📝 WalkthroughWalkthroughThe Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
🧹 Nitpick comments (1)
packages/web/package.json (1)
18-19: Pinreact-domto19.2.5to matchreact's patch version.The lockfile currently resolves
[email protected]with[email protected], causing patch skew between the renderer and runtime. Align both to the same patch for consistency: changereact-domfrom^19.2.0to^19.2.5.🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@packages/web/package.json` around lines 18 - 19, Update the package.json dependency for react-dom to match react's patch version: change the "react-dom" entry from "^19.2.0" to "^19.2.5" so it aligns with "react": "^19.2.5"; update the lockfile (reinstall or run npm/yarn/pnpm install) afterwards to ensure the lockfile resolves both react and react-dom to 19.2.5.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Nitpick comments:
In `@packages/web/package.json`:
- Around line 18-19: Update the package.json dependency for react-dom to match
react's patch version: change the "react-dom" entry from "^19.2.0" to "^19.2.5"
so it aligns with "react": "^19.2.5"; update the lockfile (reinstall or run
npm/yarn/pnpm install) afterwards to ensure the lockfile resolves both react and
react-dom to 19.2.5.
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: fef95b82-6a68-47b5-a32e-27acbd76d71c
⛔ Files ignored due to path filters (1)
pnpm-lock.yamlis excluded by!**/pnpm-lock.yaml
📒 Files selected for processing (1)
packages/web/package.json
|
Superseded by #16. |
…yebrow fix QA round covering four question-flow issues (#4, #5, #6, #7): **#4 Progress pill + nav hover** - Wraps the top-right "Progress" link in a bordered pill so it reads as a target, not body text. - Unifies Back / Skip hover to accent (previously faded-to-muted, almost invisible) — all three clickable cues in the card now signal the same way. **#5 Inline description with reserved slot** - Replaces the "What's this?" toggle with an always-rendered description rendered as a muted paragraph with a 2px accent-light left rule (editorial-aside style). `text-pretty` handles orphan avoidance. - Reserves 2.75rem below the heading so cards stay a uniform height whether or not the question has a description (~43% do). Removes the showDescription state from Question.tsx and the toggle logic it carried. **#6 Suppress "New category" eyebrow when returning** - The welcome-interstitial eyebrow hid "New category" once the user has answers in that category — no longer reads as "new" on resume. - Threaded via a `hasAnswersInCategory` boolean computed on demand in Question.tsx (cheap per-render lookup). **#7 α commit animation + keyboard listener refactor** - 300ms spring-pop keyframe `commit-alpha` overshoots and settles into the existing selected-answer ring, giving keyboard commits visual feedback before the advance fires. - Moves number-key handling out of Question.tsx's window listener into two new scoped components — `RatingGroup` (1-5) and `TimingButtons` (1/n, 2/l) — each owning its own `useState<Rating|null>` + `onAnimationEnd`-driven commit flow. Listener lifetimes match each component's mount, so the two never compete. - Mouse clicks stay instant (detect via `event.detail === 0`). Reduced- motion users get a 1ms keyframe so the commit still dispatches but no visible motion plays. - Page-level arrows (prev/next question) stay in Question.tsx. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
…yebrow fix QA round covering four question-flow issues (#4, #5, #6, #7): **#4 Progress pill + nav hover** - Wraps the top-right "Progress" link in a bordered pill so it reads as a target, not body text. - Unifies Back / Skip hover to accent (previously faded-to-muted, almost invisible) — all three clickable cues in the card now signal the same way. **#5 Inline description with reserved slot** - Replaces the "What's this?" toggle with an always-rendered description rendered as a muted paragraph with a 2px accent-light left rule (editorial-aside style). `text-pretty` handles orphan avoidance. - Reserves 2.75rem below the heading so cards stay a uniform height whether or not the question has a description (~43% do). Removes the showDescription state from Question.tsx and the toggle logic it carried. **#6 Suppress "New category" eyebrow when returning** - The welcome-interstitial eyebrow hid "New category" once the user has answers in that category — no longer reads as "new" on resume. - Threaded via a `hasAnswersInCategory` boolean computed on demand in Question.tsx (cheap per-render lookup). **#7 α commit animation + keyboard listener refactor** - 300ms spring-pop keyframe `commit-alpha` overshoots and settles into the existing selected-answer ring, giving keyboard commits visual feedback before the advance fires. - Moves number-key handling out of Question.tsx's window listener into two new scoped components — `RatingGroup` (1-5) and `TimingButtons` (1/n, 2/l) — each owning its own `useState<Rating|null>` + `onAnimationEnd`-driven commit flow. Listener lifetimes match each component's mount, so the two never compete. - Mouse clicks stay instant (detect via `event.detail === 0`). Reduced- motion users get a 1ms keyframe so the commit still dispatches but no visible motion plays. - Page-level arrows (prev/next question) stay in Question.tsx. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
…yebrow fix (#58) * feat(web): progress pill, inline description, commit animation, new-eyebrow fix QA round covering four question-flow issues (#4, #5, #6, #7): **#4 Progress pill + nav hover** - Wraps the top-right "Progress" link in a bordered pill so it reads as a target, not body text. - Unifies Back / Skip hover to accent (previously faded-to-muted, almost invisible) — all three clickable cues in the card now signal the same way. **#5 Inline description with reserved slot** - Replaces the "What's this?" toggle with an always-rendered description rendered as a muted paragraph with a 2px accent-light left rule (editorial-aside style). `text-pretty` handles orphan avoidance. - Reserves 2.75rem below the heading so cards stay a uniform height whether or not the question has a description (~43% do). Removes the showDescription state from Question.tsx and the toggle logic it carried. **#6 Suppress "New category" eyebrow when returning** - The welcome-interstitial eyebrow hid "New category" once the user has answers in that category — no longer reads as "new" on resume. - Threaded via a `hasAnswersInCategory` boolean computed on demand in Question.tsx (cheap per-render lookup). **#7 α commit animation + keyboard listener refactor** - 300ms spring-pop keyframe `commit-alpha` overshoots and settles into the existing selected-answer ring, giving keyboard commits visual feedback before the advance fires. - Moves number-key handling out of Question.tsx's window listener into two new scoped components — `RatingGroup` (1-5) and `TimingButtons` (1/n, 2/l) — each owning its own `useState<Rating|null>` + `onAnimationEnd`-driven commit flow. Listener lifetimes match each component's mount, so the two never compete. - Mouse clicks stay instant (detect via `event.detail === 0`). Reduced- motion users get a 1ms keyframe so the commit still dispatches but no visible motion plays. - Page-level arrows (prev/next question) stay in Question.tsx. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]> * docs: todo to stabilize localStorage-backed state with useSyncExternalStore Surfaced while wiring pr-c-answering-flow's welcome-screen CTA logic. Discovered along the way that existing Summary.tsx + Review.tsx useMemo blocks depend on `answers` which has fresh object identity per render — the memos never cache. Promoting from "nice to have" to p2 because it's actively defeating existing memoization. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]> * docs: expand caching audit todo with sortMembersViewerFirst + questions-by-id map Two more wins surfaced alongside the useSyncExternalStore item — lump under the same p2 entry since they're all "do one pass on render-time computes" work that makes sense batched. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]> * style(web): switch question description from quote rule to hushed inline Replaces the 2px accent-light left rule + indent with italic muted text. The aside-rule felt heavier than the description warranted — italic carries the "secondary voice" cue with less chrome and stays closer to the question's typographic line. No visual baseline change captured because the e2e admin flow narrows to "Group & External" whose first question has no description. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]> * feat(web): state-aware primary CTA on category welcome screen Clicking a half-filled category from Summary used to land on the welcome screen and the only Start button took you to the *first* question of the category — re-walking already-answered ones instead of resuming where you left off. Three states now, mirroring the /group screen vocabulary: fresh (no answers) → [Start] partial (some answered) → [Continue] + [Review from the start] complete (all answered) → [Review from the start] Continue jumps to the first unanswered question in the category. Review from the start jumps to the first question (regardless of answer state) so the user can walk through edits. No visual baseline change — e2e admin flow only exercises the fresh state on the welcome screen. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]> * feat(web): rating/timing glossary popover (help icon in question header) QA flagged that the rating glossary disappears after the intro screen — Andrey forgot what "Fantasy only" meant mid-flow. Adds a small HelpCircle icon next to the Progress chip in the question card header. Click toggles a popover showing all rating options (Yes / If partner wants / Maybe / Fantasy only / No) with their one-line meanings, sourced verbatim from `UI.intro.answers` so it matches the intro copy. Switches content based on context: when the timing sub-question is showing (Now / Later), the popover swaps to the timing glossary (`UI.intro.timing`) instead. Closes on Escape, click-outside, or the in-popover × button. Auto-closes when the answer mode flips. Tests: e2e asserts both the rating-mode glossary opens and that it swaps to the timing glossary after committing Yes; visual snapshot of the open popover is captured alongside the description regression shot — both desktop and mobile baselines. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]> * fix(web): defer to child handlers + use pointerdown for touch parity PR 58 review caught two real issues: **Question.tsx ArrowLeft/Right double-handling** RatingGroup's roving-tabindex onKeyDown calls preventDefault on ArrowLeft/Right to move focus between rating options. The window- level page-navigation handler in Question.tsx was firing for the SAME event, so pressing ArrowLeft on a focused rating both moved the focus ring AND navigated to the previous question. Add an `e.defaultPrevented` early return so child handlers consume the event first. **QuestionCard help popover dismiss missed touch** The click-outside handler used `mousedown` + `MouseEvent`. Mobile browsers do synthesize `mousedown` from touchstart in most cases, but `pointerdown` is the unified event spec for mouse / touch / pen and works consistently across input types without relying on compat shims. Switched event name + parameter type to PointerEvent. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]> * fix(web): PR 58 review follow-ups — popover dismiss, focus, layout safety Five items from the review bundle: **Dismiss popover on screen-key + mode transitions (item 2).** An open glossary popover used to linger after the user committed an answer (advancing to the next question) — overlaying the next screen's content. A `useEffect` on `[showTiming, screen.key]` closes the popover on any transition that signals "user moved on": commit, Back, Skip, category jump, or mode flip. Matches the Slack / GitHub / Notion convention of closing transient popovers on user action. **Focus move into popover on open (item 6).** Keyboard-only users opening the help used to land nowhere — focus stayed on the trigger and Tab cycled through the page to reach the × button. Added a `closeRef` forwarded to the close button and a `useEffect` that focuses it on `helpOpen` true. Non-modal dialog pattern (per Radix / shadcn), Escape still dismisses from anywhere. **Viewport safety on popover width (item 7).** `max-w-[calc(100vw-2rem)]` caps the popover inside the viewport minus a margin, in case future card padding changes or very narrow devices would otherwise cause clipping. **Invariant comment on `e.detail === 0` (item 1).** Added a note about the programmatic `.click()` gotcha — `element.click()` also reports `detail === 0`, so test helpers that want to exercise the click path must use real mouse input (Playwright's locator `.click()` produces `detail ≥ 1`). **Drop updater form in CategoryWelcomeScreen (item 4).** `setIndex(() => firstQuestionIdx)` → `setIndex(firstQuestionIdx)`. Same for `goToFirstUnanswered`. Not a change in behavior; updater only needs the closure form when the setter depends on the previous value. **New E2E: help popover dismisses on commit and on Skip.** Extends fill-questionnaire.spec.ts — opens popover, presses "3" (keyboard commit), asserts dialog gone. Then opens again, clicks Skip, asserts dialog gone. Covers both transition classes from item 2. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]> * refactor(web): drop unnecessary updater form in CategoryWelcomeScreen Review item 4 (deferred from the previous commit). None of the setIndex calls here depend on the previous value — they jump to a specific index — so the `() => value` form was noise. Widen the prop type to accept plain values (matching React's native Dispatch<SetStateAction<number>> shape) and simplify the three call sites. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]> --------- Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>
Bumps react from 19.2.4 to 19.2.5.
Release notes
Sourced from react's releases.
Commits
23f4f9f19.2.5Summary by CodeRabbit