Skip to content

feat(sequence-groups): 3+ member filter, size sort, and zoomed crop view#134

Merged
MateoLostanlen merged 6 commits into
mainfrom
feat/sequence-groups-min3-sort-by-size
Jun 4, 2026
Merged

feat(sequence-groups): 3+ member filter, size sort, and zoomed crop view#134
MateoLostanlen merged 6 commits into
mainfrom
feat/sequence-groups-min3-sort-by-size

Conversation

@MateoLostanlen

Copy link
Copy Markdown
Member
  • List only groups with at least 3 sequences (was 2+), ordered by member count descending, then newest, with id as a stable pagination tie-breaker.
  • Group page now shows each member's full frame beside a zoomed crop centered on the detected object, so small objects stay legible; reference-region overlay recolored to magenta.
  • Frontend copy updated to the new threshold; backend test covers the filter and size ordering.

List only groups with at least 3 sequences, ordered by member count
descending (largest first), then by created_at descending.
Ordering by member_count + created_at alone can leave equal rows in an
undefined order, making offset pagination unstable. Add a deterministic
id tie-breaker.
Small detected objects were hard to see in the group page thumbnails.
Each member card now shows the full frame with its bbox overlays next to
a zoomed crop centered on the detected object (the prediction box, or the
group reference region when the frame has none). The crop reuses the
cached image via a CSS transform, so no extra fetch or canvas. Grid
dropped from 3 to 2 columns to fit the wider cards.
The crop fell back to the group reference region without checking it was
a valid, non-zero-area box. Guard with isValidBox and render the plain
frame otherwise.
@MateoLostanlen MateoLostanlen merged commit ddee604 into main Jun 4, 2026
5 checks passed
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