Skip to content

Collapse Source storage on case open and show a long job message on hover - #248

Merged
charpy4n6 merged 1 commit into
mainfrom
feat/sidebar-source-storage-and-progress-tooltip
Oct 1, 2026
Merged

charpy4n6 merged 1 commit into
mainfrom
feat/sidebar-source-storage-and-progress-tooltip

Conversation

@charpy4n6

Copy link
Copy Markdown
Collaborator

Two small sidebar changes, display only.

Source storage section

  • The extraction zips and disk images a case was built from were listed under the Source filter as a fixed block. It is now a collapsible section, Source storage (N), styled like the sections below it.
  • It is closed when a case opens, and stays as the examiner sets it when the list is drawn again (for example after Copy into case).
  • What it shows and does is unchanged: mode (read in place or copied), file counts, volumes, Copy into case / Drop copies, and the status tag.

Job bar tooltip

  • The job bar at the foot of the sidebar is narrow, so a message such as "Matching known-hash lists…" with its count was cut off.
  • Hovering the bar now shows the whole message and progress. Several jobs write the bar's text, so the tooltip follows the text itself (a MutationObserver) rather than each job setting it.

Tests

  • tests/test_sidebar_tweaks.py pins both pieces of wiring in app.js, in the style of test_back_to_place.py.
  • Full suite locally on Windows: 820 passed, 6 skipped. Line endings and the changed-file lint pass.
  • Checked in a browser: the section is closed on case open, stays open across a redraw, and is closed again after reopening; the bar's tooltip carries the full text.

🤖 Generated with Claude Code

…over

The extraction zips and disk images a case was built from were listed under the
Source filter as a fixed block, which grows with every source and pushes the rest
of the sidebar down. It is now a collapsible section, "Source storage (N)", in the
style of the sections below it: closed when a case opens, and left as the
examiner set it when the list is drawn again (after a copy into the case, for
example). Nothing about what it shows or does changes.

The job bar at the foot of the sidebar is narrow, so a message like "Matching
known-hash lists..." with its count was cut off. Hovering the bar now shows the
whole message and progress. Several jobs write the bar's text, so the tooltip
follows the text itself rather than being set by each of them.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@charpy4n6
charpy4n6 merged commit 82a4700 into main Oct 1, 2026
8 checks passed
@charpy4n6
charpy4n6 deleted the feat/sidebar-source-storage-and-progress-tooltip branch October 1, 2026 01:29
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