Skip to content

SF-3804 Use the verse following a selected heading when adding questions#3987

Merged
Nateowami merged 1 commit into
masterfrom
fix/SF-3804
Jul 22, 2026
Merged

SF-3804 Use the verse following a selected heading when adding questions#3987
Nateowami merged 1 commit into
masterfrom
fix/SF-3804

Conversation

@pmachapman

@pmachapman pmachapman commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator

This change is Reviewable

@pmachapman pmachapman added the will require testing PR should not be merged until testers confirm testing is complete label Jul 8, 2026
@pmachapman
pmachapman temporarily deployed to screenshot_diff July 8, 2026 03:26 — with GitHub Actions Inactive
@codecov

codecov Bot commented Jul 8, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 88.88889% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 81.06%. Comparing base (f27c954) to head (c49ede8).
⚠️ Report is 4 commits behind head on master.

Files with missing lines Patch % Lines
...re/ClientApp/src/app/shared/text/text.component.ts 50.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3987      +/-   ##
==========================================
+ Coverage   81.02%   81.06%   +0.04%     
==========================================
  Files         645      645              
  Lines       41538    41551      +13     
  Branches     6743     6766      +23     
==========================================
+ Hits        33656    33685      +29     
+ Misses       6780     6754      -26     
- Partials     1102     1112      +10     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

@RaymondLuong3 RaymondLuong3 self-assigned this Jul 21, 2026

@RaymondLuong3 RaymondLuong3 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Just a couple non-blocking comments.

@RaymondLuong3 reviewed 3 files and all commit messages, and made 3 comments.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on pmachapman).


src/SIL.XForge.Scripture/ClientApp/src/app/checking/checking/checking.component.ts line 1088 at r1 (raw file):

        // If this segment is not a verse segment, keep looking down the chapter until we get a verse segment
        while (verseRef == null) {
          segmentRef = this.scripturePanel?.textComponent.getNextSegmentRef(segmentRef);

Nit: The null coalescing is not necessary.

Code quote:

this.scripturePanel?

src/SIL.XForge.Scripture/ClientApp/src/app/checking/checking/checking.component.ts line 1097 at r1 (raw file):

          segmentRef = this.scripturePanel.textComponent.segmentRef;
          while (verseRef == null) {
            segmentRef = this.scripturePanel?.textComponent.getPrevSegmentRef(segmentRef);

Nit: Same as above

Code quote:

segmentRef = this.scripturePanel?.

@RaymondLuong3 RaymondLuong3 added ready to test and removed will require testing PR should not be merged until testers confirm testing is complete labels Jul 21, 2026

@pmachapman pmachapman left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

@pmachapman made 2 comments and resolved 2 discussions.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on pmachapman).


src/SIL.XForge.Scripture/ClientApp/src/app/checking/checking/checking.component.ts line 1088 at r1 (raw file):

Previously, RaymondLuong3 (Raymond Luong) wrote…

Nit: The null coalescing is not necessary.

Done.


src/SIL.XForge.Scripture/ClientApp/src/app/checking/checking/checking.component.ts line 1097 at r1 (raw file):

Previously, RaymondLuong3 (Raymond Luong) wrote…

Nit: Same as above

Done.

@pmachapman
pmachapman temporarily deployed to screenshot_diff July 21, 2026 22:57 — with GitHub Actions Inactive
@Nateowami Nateowami added testing complete Testing of PR is complete and should no longer hold up merging of the PR and removed ready to test labels Jul 22, 2026
@Nateowami
Nateowami enabled auto-merge (squash) July 22, 2026 17:34
@Nateowami
Nateowami temporarily deployed to screenshot_diff July 22, 2026 17:42 — with GitHub Actions Inactive
@Nateowami
Nateowami merged commit 3e810df into master Jul 22, 2026
25 of 26 checks passed
@Nateowami
Nateowami deleted the fix/SF-3804 branch July 22, 2026 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

testing complete Testing of PR is complete and should no longer hold up merging of the PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants