Add sticky segment headers - #231
Open
rwjblue wants to merge 1 commit into
Open
Conversation
Keep roving operation context visible while scrolling through multi-segment logs without relying on a custom two-row sticky overlay. Segment START and BREAK rows promote the gray date header into a segment-specific header, while the blue event row remains in the list to show the full location and grid detail. Build segment summaries from the QSOs in each segment so counts and score badges match the pinned context. Carry break rows across UTC day boundaries when there are no intervening QSOs, which avoids stranded break rows above the next day header. Cover the section flattening, multi-segment detection, and segment summary scoring with focused Jest snapshots and unit tests.
rwjblue
marked this pull request as ready for review
June 14, 2026 16:50
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
BLUF: Adds sticky segment headers for multi-segment operation logs.
This keeps roving operation context visible while scrolling without using the abandoned two-row sticky overlay. For multi-segment operations, START and BREAK rows promote the gray date header into a segment-specific header with the activity reference and segment-local scoring summary, while the blue event row stays in the list for full location and grid detail.
The tricky case here is a BREAK immediately before a UTC day boundary with no intervening QSOs. That event is carried under the next day’s segment header so the list does not show a stranded blue break row above the date header.
Focused tests cover the section flattening behavior, multi-segment detection, and segment-local header scoring.
Demos