Systeme de modals Foundry — confirmation, formulaire, plein ecran
Dark industriel, aciers froids et orange signal, inspire des consoles d'infrastructure
Copie le prompt dans le presse-papier, sans quitter la page.
CONTEXT & GOAL Build the cmd+K command palette for Ridgeline, a project management tool for software teams. It must let a user summon fuzzy search over projects, tasks, documents, and teammates, plus run quick actions, without leaving the keyboard. Audience: power users who live in the keyboard, comparing this against Raycast and Linear's own palette. The signature idea: matched characters in each result don't just bold — they light up sequentially like a typed trace, and each result group carries its own subtle 4px color tick so the eye can parse category before reading text. ART DIRECTION Floating dark glass, deliberately weightless: the palette hovers over a dimmed, blurred backdrop rather than sitting in the page flow. References: Raycast's precision, Linear's restraint, macOS Spotlight's speed. The distinguishing craft detail is the sequential match-highlight animation — most command palettes just bold matched letters instantly; here they light up in typing order, reinforcing that the palette is listening in real time. COLOR SYSTEM Backdrop overlay: #05060A at 70% opacity with 8px blur. Palette surface: rgba(20,22,30,0.85) with backdrop-blur-2xl, border 1px rgba(255,255,255,0.08). Input background: transparent, input text: #F2F3F6, placeholder: #6C7080. Group label text: #7A7E8C, uppercase. Group color ticks: Projects #6C8CFF, Tasks #3ECF8E, Documents #F5A623, People #E879C4, Actions #9497A6. Result row default background: transparent, hover/active background: rgba(255,255,255,0.06), selected row border-left: 2px solid the current group's tick color. Matched character highlight: #FFD166 text on a #FFD16620 background flash. Kbd shortcut chip background: rgba(255,255,255,0.08), text #C7C9D6. Empty state icon/text: #5B5E6B. TYPOGRAPHY Input text Inter 18px/26px weight 500. Group labels Inter 11px/16px weight 600, letter-spacing 0.08em uppercase. Result title Inter 14px/20px weight 500, result subtitle (path/breadcrumb) Inter 12px/16px weight 400 color #7A7E8C. Kbd chips JetBrains Mono 11px weight 500. Empty state heading Inter 16px/24px weight 600. LAYOUT & GRID Palette width 640px, centered horizontally, top offset 15vh from viewport top, max-height 60vh with internal scroll. Input row height 56px with 20px horizontal padding and a 20px search icon. Results list: 8px vertical padding per group, each row 44px height, 12px horizontal padding, icon (20px) plus text block plus trailing kbd chip. Breakpoints: desktop as described; tablet width reduces to 90vw; mobile (under 640px) becomes a full-height sheet from the top with the input pinned and results scrolling beneath, kbd chips hidden since there is no physical keyboard to reference. SECTIONS & COMPONENTS Trigger: a small pill button in the navbar reading "Search... cmd+K", opening the palette on click or the global cmd+K/Ctrl+K shortcut. Search input: real-time fuzzy match via Fuse.js across title, subtitle, and tags, icon changes from magnifier to a spinner while an async server search for People/Documents resolves. Result groups render in fixed order — Projects, Tasks, Documents, People, Actions — each with its label and colored tick, hidden entirely if it has zero matches. Each row: icon left, title with matched characters highlighted in #FFD166 with the sequential light-up motion, subtitle below (for example task rows show "Ridgeline / Sprint 24"), trailing kbd chip shows a quick action like "Enter to open" or "cmd+Enter to assign to me". Keyboard navigation: arrow keys move a highlighted selection bar (background rgba(255,255,255,0.06) plus left border tick), wrapping at list edges; Enter activates, Escape closes. Contextual preview: when a Document or Project row is selected via keyboard for more than 400ms, a 240px side panel slides in showing a mini preview (title, last edited, owner avatar) — desktop only. Empty state: centered "No results for 'billing dashbord'" with a suggestion "Did you mean billing dashboard?" as a clickable correction. Loading state: while the server search for People runs, that group shows 3 skeleton rows with pulsing grey bars. Disabled action state: if a quick action requires permissions the user lacks, the row renders at 50% opacity with a lock icon and no hover state. MOTION Open: overlay fades in 150ms linear, palette scales 0.97 to 1 and fades in 200ms cubic-bezier(0.16,1,0.3,1), input auto-focuses immediately. Character match highlight: each matched character's background flashes in sequentially, 25ms stagger per character, 150ms fade per character, mimicking a typed trace. Selection bar: translateY between rows animates 120ms ease-out, snapping precisely to row bounds. Close: on Escape or backdrop click, the palette scales to 0.98 and fades out over 120ms, faster than open to feel responsive. Group appearance when results change: height auto-animates 180ms ease-out as groups collapse to zero when they have no matches. Reduced motion: replace scale transforms with opacity-only (150ms), disable the sequential character light-up in favor of an instant bold plus color match. TECH & QUALITY React 18, Radix UI Dialog as the accessible modal foundation, Tailwind CSS v4, Framer Motion for transforms, Fuse.js for client-side fuzzy scoring merged with a debounced server call for People/Documents. Files: CommandPalette.tsx, useFuzzySearch.ts, ResultGroup.tsx, MatchHighlight.tsx. The dialog uses role="dialog" and aria-modal="true", the input has aria-label="Search Ridgeline", the results list uses role="listbox" and role="option" with aria-selected, focus never leaves the dialog while open (focus trap), and closing returns focus to the trigger button. Contrast of #F2F3F6 on the palette's effective background exceeds 12:1.
Palette de commandes cmd+K pour Ridgeline, outil de gestion de projet, permettant de chercher et d'agir sur projets, taches, documents et personnes. Idee signature : les resultats de recherche floue affichent en direct les caracteres correspondants surlignes comme une trace de frappe, et chaque groupe a sa propre couleur de repere discrete.
Glass sombre flottant, halo profond, inspire de Raycast et Linear
Force : le surlignage séquentiel des caractères façon trace de frappe est un bon détail distinctif, avec des specs clavier/aria exemplaires. Faiblesse : le concept général de palette cmd+K reste très proche des références citées (Raycast, Linear), l'originalité reposant surtout sur ce détail d'exécution. Conservé tel quel.
Dark industriel, aciers froids et orange signal, inspire des consoles d'infrastructure
Dark glow premium inspire de Linear, aurore violette diffuse derriere un verre depoli epais
Dark neon arcade maitrise, violet electrique sur anthracite, energie sans chaos