Skip to content

feat(ui): display selected item name and modified date in footer and hover tooltips - #2533

Merged
l0gicgate merged 7 commits into
mainfrom
feat/2462-footer-and-hover-details
Nov 16, 2026
Merged

l0gicgate merged 7 commits into
mainfrom
feat/2462-footer-and-hover-details

Conversation

@JoeJoeflyn

@JoeJoeflyn JoeJoeflyn commented Nov 16, 2026 •

Copy link
Copy Markdown
Collaborator

Description

Show the selected item's full name in the footer status bar across all view modes with middle-ellipsizing when constrained. For views that do not show a modified date column (Icons and Columns), include the formatted modified date in the footer status line and in 900ms rest-timer hover tooltips. In List view, show a hover tooltip displaying the full filename only when the name label is ellipsized. Keyboard-driven navigation (including 10xer mode) immediately updates the footer with zero delay and avoids popover distractions. Existing date formatting and preferences are reused without duplication.

Also installs location edit cancellation on the file chooser window so clicking outside the path entry dismisses it and restores breadcrumbs, consistent with the main browser window.

Visual evidence

all-modes-showcase

How to test

  1. Launch Strata in List mode, select an item, and verify the footer displays the full name and size with middle-ellipsizing if narrow.
  2. In List mode, hover over a truncated filename for ~900ms to verify the tooltip reveals the full name without redundant metadata.
  3. Switch to Icons mode or Columns mode, select an item, and verify the footer displays {name} ({size}) — {modified_date}.
  4. In Icons mode or Columns mode, hover over an item to verify the tooltip displays {name}\n{modified_date}.
  5. In 10xer mode, navigate items using j/k or arrow keys and verify the footer updates immediately without triggering hover tooltips.
  6. Open a file chooser (e.g. via portal or folder transfer), press Ctrl+L to edit the path, and click anywhere outside the path field (e.g. on the file list or window background) to verify the path entry closes and restores breadcrumbs.

Expected result:

  • Footer status bar displays full selected item names across all modes, appending formatted modified date in Columns and Icons modes.
  • Hover tooltips appear after 900ms rest showing {name}\n{date} in Columns/Icons and full name only in List when truncated.
  • Date formats respect user preferences and live updates.
  • File chooser dismisses path edit on click outside.

Related issue

Closes #2462

JoeJoeflyn and others added 5 commits November 16, 2026 16:31
The icons card checked rest on a private EntryTooltip that never saw pointer
motion, so its tooltip could not appear. Share one name-and-date text helper
across the icons, columns, and list tooltips, and skip hidden name labels
while a row is renamed.
The selected item's footer text depends on the mode, so rebuilding only the
reference row left it stale until the selection changed.
@l0gicgate

Copy link
Copy Markdown
Contributor

Review pass: merged main (6b1c4f8) and pushed two fixes.

Icons tooltips never appeared (5126ab8). NameTooltip wrapped its own EntryTooltip and checked rest on it, but EntryTooltip::install tracked pointer motion on a separate instance, so text() always saw an un-rested state and the icons card query always returned None. The existing icons tests passed because they drove pointer_moved and text on the same wrapper. Fix: the icons provider is now a plain text(card, x, y) function and the shared installer owns the rest check. The rest-timing coverage moved to entry_tooltip::tests, including one that emits query-tooltip on an installed widget. The three tooltip call sites now share entry_tooltip::name_text, and the columns and list providers skip a hidden name label so a row being renamed does not show its old name.

Footer went stale on a view-mode switch (72b17f4). The selection text now depends on the mode, but set_mode only rebuilt the reference row, so switching List → Icons kept one.txt (3 B) without the date until the selection changed (and vice versa). set_mode now refreshes the listing status; covered in footer_tracks_modes_and_shields_files_while_open.

Also kept status.rs and the new entry_tooltip.rs at CodeScene 10.0 (the five-argument show_selection_count and the moved slop conditional were new findings).

Manual check in the QA container: Icons, Columns and List tooltips after a ~1 s rest (List only for an ellipsized name, none for a fitting one), footer name (size) — date in Icons/Columns and name (size) in List, and the footer re-rendering on each mode switch with the selection kept. Screenshots are local only; I cannot upload attachments.

@l0gicgate
l0gicgate merged commit 6a974cd into main Nov 16, 2026
11 checks passed
@l0gicgate
l0gicgate deleted the feat/2462-footer-and-hover-details branch November 16, 2026 16:02
wmfeht added a commit that referenced this pull request Nov 21, 2026
…for Rune

Each is an item under the owning package's Open, as a follow-up after done (A2, A8 and A10
for #2603, A6 for #2533, A18 for #2448, and A19, A20 and A9 for #2108), with a reference
issue: #2684, #2685, #2686 and #2687. The A19 successor rows and the E1 Menu-key row say what
the Rune runs showed, and H5.md takes the Menu key's line-14 failure as a finding to confirm.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Show the selected item's full name in the footer

2 participants