Repository navigation
refactor(ui): phase 6 — texte coupé, identité des rangées, états vides - #20
Merged
tension-atoi merged 2 commits intoOct 24, 2026
Conversation
…kage, empty says why
- Port Skwir's clip (Apache-2.0) into `elements::clip`: a text cut by its
ellipsis or its line clamp shows whole in a tooltip, only while cut;
whether it was is read from the drawn layout when the tooltip is asked
for. The catalogue's names, versions and sources, the cards' names and
descriptions, and the inspector's name use it.
- `known_by`: a catalogue row and a card take their id from their
package. Every row was "package_row", so a tooltip or a press kept as
one row's could pass to the next as the list scrolled.
- One tooltip view (`components::tooltip`) for the whole window; the
sidebar's own copy goes.
- The empty catalogue says why: the text typed ("Nothing here matches
“vim”." — Escape clears it), the filters hiding everything (and where
to clear them), or "Everything is up to date."
- Tests: a name that fits says nothing more; one cut short says itself
whole; ids follow what they show; the empty states' words.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012CfvJFUwgYwz6HYiWrec9T
…ays each thing once Found by driving the built window under a virtual display: - The window opened with nothing focused, so its actions (Ctrl+K, Ctrl+F, the arrows) were on no dispatch path until something was clicked. The workspace's root takes the focus as the window opens. - The palette's field showed the search's `/` keycap, a key that does not reach it (`SearchInputView::without_slash_hint`). - The shortcut sheet was cut at the bottom with no way to see the rest: it is bounded by the window (85 %) and has its scrollbar. - "Focus the search" was listed twice; one line now carries both keys (Ctrl+F /). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012CfvJFUwgYwz6HYiWrec9T
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.
Phase 6 (dernière) du refactor front-end inspiré de Skwir. Empilée sur #19.
Ce qui change
clipde Skwir (Apache-2.0) danselements::clip. Un texte coupé par son ellipse ou sonline_clampse montre en entier au survol, seulement tant qu'il est coupé ; on le lit dans la mise en page dessinée au moment où l'infobulle est demandée, jamais dansrender. Appliqué aux noms, versions et sources du tableau, aux noms et descriptions des cartes, au nom dans l'inspecteur.known_by) : une rangée et une carte du catalogue prennent leur id de leur paquet. Toutes les rangées s'appelaientpackage_row: une infobulle ou un appui pouvait passer d'une rangée à l'autre au défilement.components::tooltip) pour toute la fenêtre ; la copie de la barre latérale disparaît.AGENTS.md.Correctifs trouvés en lançant la vraie fenêtre (Xvfb, touches synthétiques) :
Vérification :
cargo test→ 276 OK (un nom qui tient ne dit rien de plus, un nom coupé se dit en entier, les ids suivent ce qu'ils montrent, les textes des états vides). Clippy : aucun nouvel avertissement.https://claude.ai/code/session_012CfvJFUwgYwz6HYiWrec9T
Generated by Claude Code