Skip to content

TT 7048 assigned to me - #580

Draft
gtryus wants to merge 2 commits into
developfrom
TT-7048-assigned-to-me
Draft

TT 7048 assigned to me#580
gtryus wants to merge 2 commits into
developfrom
TT-7048-assigned-to-me

Conversation

@gtryus

@gtryus gtryus commented Sep 3, 2026

Copy link
Copy Markdown
Contributor
  • create filter method
  • refresh
  • test cases

- Implemented the refilterSheet function to reapply filters to existing sheet rows based on the assigned-to-me filter state.
- Created unit tests for the refilterSheet function to ensure correct filtering behavior.
- Updated the Sheet component to utilize the new refilterSheet function for improved performance and maintainability.
- Added a new test file for assignedToMe filtering scenarios.
@gtryus
gtryus marked this pull request as draft September 3, 2026 21:29
@gtryus
gtryus requested review from sarahentzel and a balanced review from Copilot September 3, 2026 22:07

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 reviewed changes have no unresolved approval-blocking issues.

Pull request overview

Fixes TT-7048 so “Assigned to Me” filtering correctly handles the final passage in flat sheets.

Changes:

  • Extracts reusable sheet refiltering logic.
  • Prevents valid final flat rows from being hidden.
  • Adds focused regression tests.
File summaries
File Description
src/renderer/src/components/Sheet/ScriptureTable.tsx Uses the extracted filtering helper.
src/renderer/src/components/Sheet/refilterSheet.ts Implements sheet refiltering and the flat-row fix.
src/renderer/src/components/Sheet/index.ts Exports the new helper.
src/renderer/src/__tests__/refilterSheet.assignedToMe.test.ts Covers assigned-to-me filtering regressions.
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.

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.

2 participants