Skip to content

chore(deps): Bump react from 19.2.4 to 19.2.5 - #7

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/react-19.2.5
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/react-19.2.5

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Apr 9, 2026 •

Copy link
Copy Markdown
Contributor

Bumps react from 19.2.4 to 19.2.5.

Release notes

Sourced from react's releases.

19.2.5 (April 8th, 2026)

React Server Components

Commits

Summary by CodeRabbit

  • Chores
    • Updated dependencies to the latest versions.

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Apr 9, 2026
@dependabot dependabot Bot changed the title build(deps): Bump react from 19.2.4 to 19.2.5 chore(deps): Bump react from 19.2.4 to 19.2.5 Apr 10, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/react-19.2.5 branch 2 times, most recently from c96dd92 to 343847f Compare April 11, 2026 18:09
@iskhakovt

Copy link
Copy Markdown
Owner

@dependabot recreate

@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/react-19.2.5 branch from 343847f to d6bb0f8 Compare April 11, 2026 21:32
@coderabbitai

coderabbitai Bot commented Apr 11, 2026 •

Copy link
Copy Markdown
📝 Walkthrough

Walkthrough

The react dependency in the web package is updated from version ^19.2.0 to ^19.2.5. This is a patch-level version bump that allows the package manager to select a newer patch version of React within the same minor version range.

Changes

Cohort / File(s) Summary
Dependency Update
packages/web/package.json
Updated react dependency from ^19.2.0 to ^19.2.5 to permit patch-level updates.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐰 A whisker twitch and a hop so grand,
React now dances to version's band,
From 19.2.0 we gently bound,
To 19.2.5—progress found! ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: a dependency version bump of React from 19.2.4 to 19.2.5, which matches the raw_summary and PR objectives.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch dependabot/npm_and_yarn/react-19.2.5

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹 Nitpick comments (1)
packages/web/package.json (1)

18-19: Pin react-dom to 19.2.5 to match react'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: change react-dom from ^19.2.0 to ^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

📥 Commits

Reviewing files that changed from the base of the PR and between 984614d and d6bb0f8.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (1)
  • packages/web/package.json

@dependabot @github

dependabot Bot commented on behalf of github Apr 11, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #16.

@dependabot dependabot Bot closed this Apr 11, 2026
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/react-19.2.5 branch April 11, 2026 21:36
iskhakovt added a commit that referenced this pull request Apr 18, 2026
…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]>
iskhakovt added a commit that referenced this pull request Apr 18, 2026
…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]>
iskhakovt added a commit that referenced this pull request Apr 19, 2026
…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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant