Skip to content

TT 7051 mobile scroll - #579

Merged
sarahentzel merged 2 commits into
developfrom
TT-7051-mobile-scroll
Sep 3, 2026
Merged

TT 7051 mobile scroll#579
sarahentzel merged 2 commits into
developfrom
TT-7051-mobile-scroll

Conversation

@gtryus

@gtryus gtryus commented Sep 3, 2026

Copy link
Copy Markdown
Contributor
  • remember where we were in the mobile view
  • remember where we were in the sheet view

Greg Trihus added 2 commits September 3, 2026 15:51
…the project. Added definitions for Sections, Passage Cards, and Current Passage in CONTEXT.md. Updated PassageCard component to include unique IDs and data attributes for better accessibility. Modified PlanView to restore the Current Passage from local storage and ensure it is in view when loaded. Added tests to verify the restoration and scrolling behavior of the Current Passage card.
…t passage highlighting. Added isCurrent prop to PassageCard for accessibility and visual indication. Updated PlanView to manage current passage state and ensure it is scrolled into view. Modified tests to verify current passage behavior.
@gtryus
gtryus requested review from sarahentzel and a balanced review from Copilot September 3, 2026 21:29

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

The implementation is focused, consistent with existing sheet behavior, and adequately tested.

Pull request overview

Extends Current Passage restoration to the mobile/card view, aligning it with the sheet view.

Changes:

  • Persists, highlights, and scrolls to the Current Passage.
  • Adds Cypress coverage for restoration and persistence.
  • Documents related user-facing terminology.
File summaries
File Description
PlanView.tsx Restores and persists Current Passage state.
PlanView.cy.tsx Tests scrolling, highlighting, and persistence.
PassageCard.tsx Adds current-state styling and accessibility metadata.
CONTEXT.md Defines Sections & Passages terminology.
Review details
  • Files reviewed: 4/4 changed files
  • Comments generated: 0
  • Review effort level: Balanced

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@sarahentzel
sarahentzel merged commit 4da28b6 into develop Sep 3, 2026
2 checks passed
@sarahentzel
sarahentzel deleted the TT-7051-mobile-scroll branch September 3, 2026 21:52
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.

3 participants