Skip to content

Add sticky segment headers - #231

Open
rwjblue wants to merge 1 commit into
ham2k:mainfrom
rwjblue:rwjblue/add-sticky-segment-headers
Open

Add sticky segment headers#231
rwjblue wants to merge 1 commit into
ham2k:mainfrom
rwjblue:rwjblue/add-sticky-segment-headers

Conversation

@rwjblue

@rwjblue rwjblue commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

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

2026-06-14 at 12 54 48

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
rwjblue marked this pull request as ready for review June 14, 2026 16:50
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.

1 participant