Repository navigation
fix(ui): open a recent clip from the status page - #133
Merged
Merged
Conversation
This was referenced Oct 28, 2026
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.
Branches
feature/,fix/,chore/→devPhase / tâche
v1.4.1 — retour de Palawi : on ne peut pas ouvrir un clip depuis « Derniers clips » sur État
Ce qui change
aria-keyshortcuts="Enter". La colonne n'a plus son propre arrêt de tabulation (les cartes suffisent pour défiler au clavier).Destination.clip(chemin) dansApp.tsx, passé parguard.leavecomme les autres destinations ;lib/destination.ts(demande d'ouverture et page de retour).get_clip), et fermer le lecteur (bouton ou Échap) ramène à la page d'origine. Ouvrir une carte de la galerie revient toujours à la galerie. Mettre à la Corbeille depuis le lecteur reste dans la galerie (l'annulation y est).get_clipavant de partir ;file_missing→ message sur État (« Ce fichier n'existe plus… »), la bibliothèque retire le clip et la carte disparaît.Library::clip(path); shell : commandeget_clip { path }(même contrôleknown_clipque les autres commandes de clip).Critères d'acceptation
Comment ça a été testé
cargo clippy --workspace --all-targets -- -D warnings,cargo test(nouveaua_clip_is_found_by_its_path),npm test(3 testsdestination.test.ts),npm run buildpwsh scripts/cdp-run.ps1 -Script scripts/recent-open-check.mjs -Clips 3→ 6 sur 6 (nom et raccourci ; clic simple sans effet ; double-clic → ce clip, retour à État ; Tab → focus visible, Entrée → lecteur, Échap → État ; galerie par la barre → pas de lecteur et retour à la galerie ; fichier supprimé juste avant le double-clic → message sur État, carte retirée).Docs mises à jour