pages/assets/garden_command-palettes_index.md._f02tHf2.js

1 line
1.8 KiB
JavaScript

import{d as n}from"./chunks/git.data.BNwuPjHI.js";import{M as s,q as l,Q as e,K as i,u as a,ag as o,p as r}from"./chunks/framework.Sr2_9k8k.js";const m=e("h1",{class:"p-name"},"Command Palettes",-1),c=["innerHTML"],p=o('<hr><p>Command palettes are a design pattern where apps expose functionality through a search bar</p><p>Typing what you want is almost certainly easier and faster than finding the action in some submenu or remembering an arcane hotkey</p><ul><li>Especially with fuzzy search that also looks through descriptions of actions</li><li>Command palettes scale very well with large amounts of actions</li></ul><p><a href="/garden/artificial-intelligence/">Artificial Intelligence</a> will make command palettes increasingly powerful</p><ul><li>Eventually these may become conversational interfaces</li></ul><p>Maggie Appleton discusses this pattern in her article on <a href="https://maggieappleton.com/command-bar" target="_blank" rel="noreferrer">Command K Bars</a></p><ul><li>The name comes from the fact many apps use the ctrl/cmd k shortcut to open the command palette</li></ul><p>Many softwares I use have some form of command palette</p><ul><li>Linear</li><li><a href="/garden/logseq/">Logseq</a></li><li>Visual Studio Code</li></ul>',10),y=JSON.parse('{"title":"Command Palettes","description":"","frontmatter":{"public":"true","slug":"command-palettes","title":"Command Palettes","prev":false,"next":false},"headers":[],"relativePath":"garden/command-palettes/index.md","filePath":"garden/command-palettes/index.md"}'),d={name:"garden/command-palettes/index.md"},T=Object.assign(d,{setup(u){const t=s();return(h,_)=>(r(),l("div",null,[m,e("p",null,[i("117 words, ~1 minute read. "),e("span",{innerHTML:a(n)[`site/${a(t).page.value.relativePath}`]},null,8,c)]),p]))}});export{y as __pageData,T as default};