PageSourceSearch

https://app.thena.ai/assets/Shortcuts-DuW6PbsL.js

js thena.ai collected 2026-09-28 06:44:33 UTC 4,114 bytes, 1 lines download raw bytes

1import{r as f,j as e,bG as h,Z as b,cV as p,cW as i,cX as o,cA as k}from"./index-B79jx0QH.js";import{I as j}from"./InputWithIcon-CbUy2I24.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new Error().stack;n&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[n]="96480186-4236-418b-b2c2-889f7e4a47dd",t._sentryDebugIdIdentifier="sentry-dbid-96480186-4236-418b-b2c2-889f7e4a47dd")}catch{}})();const l=[{action:"Move to previous request (Up)",key:"K"},{action:"Move to next request (Down)",key:"J"},{action:"Change status",key:"S"},{action:"Change assignee",key:"A"},{action:"Discard request",key:"D"},{action:"Close request",key:"E"},{action:"Change urgency",key:"U"},{action:"Close request and move to previous",key:"E",icon:[i]},{action:"Close request and move to next",key:"E",icon:[i,o]},{action:"Close the drawer",key:"Esc"},{action:"Go to Details section in request drawer",key:"D",icon:[o]},{action:"Go to Internal threads section",key:"I",icon:[o]},{action:"Go to Activities section",key:"A",icon:[o]},{action:"Subscribe or Unsubscribe",key:"S",icon:[o]},{action:"Send comment on editor",key:"Enter",icon:[i]},{action:"Select or create snippet",key:"/"},{action:"Add to or remove from favorites",icon:[o],key:"F"},{action:"Assign request to me",key:"I"},{action:"Snooze or Unsnooze",key:"H"}],d=[{action:"Create manual request",key:"C"},{action:"Switch between Kanban and List view",key:"Ctrl",keySecond:"L"},{action:"Open filter",key:"F"},{action:"Find in view in board",key:"F",icon:[i]},{action:"Toggle request title",key:"A",icon:[o]},{action:"Open ordering",key:"O"}],u=[{action:"Delete notification",icon:[k]},{action:"Subscribe or Unsubscribe to a notification",key:"S",icon:[o]}],x=[{action:"Open command palette",key:"K",icon:[i]},{action:"Search",key:"/"},{action:"Shortcuts",key:"S",icon:[i,o]},{action:"Preferences",key:"P",icon:[o]},{action:"What's new",key:"W",icon:[o]}],r=({search:t,title:n,shortcuts:c})=>e.jsxs("div",{className:"flex flex-col gap-2",children:[e.jsx("h2",{className:"text-lg font-medium",children:n}),e.jsx("ul",{children:c.filter(s=>s.action.toLowerCase().includes(t.toLowerCase())).map(s=>{var a;return e.jsxs("li",{className:"flex justify-between items-center py-2 text-sm",children:[e.jsx("span",{children:s.action}),e.jsxs("div",{className:"flex gap-2 items-center justify-center",children:[(a=s.icon)==null?void 0:a.map((m,y)=>e.jsx("div",{className:"border border-[var(--badge-border)] text-sm px-2 py-1 h-7 w-7 flex items-center justify-center rounded-md",children:e.jsx(m,{size:14})},y)),s.key&&e.jsx("div",{className:"border border-[var(--badge-border)] text-sm px-2 py-1 h-7 min-w-7 flex items-center justify-center rounded-md",children:s.key}),s.keySecond&&e.jsx("div",{className:"border border-[var(--badge-border)] text-sm px-2 py-1 h-7 min-w-7 flex items-center justify-center rounded-md",children:s.keySecond})]})]},s.action)})})]}),v=()=>{const[t,n]=f.useState(""),c=[...l,...d,...u,...x].filter(s=>s.action.toLowerCase().includes(t.toLowerCase()));return e.jsxs("div",{className:"w-full flex flex-col items-center rounded-lg",children:[e.jsxs("div",{className:"flex items-center w-[50rem] p-8 justify-between",children:[e.jsx("h1",{className:"text-xl font-medium",children:"Keyboard shortcuts"}),e.jsx(j,{Icon:h,value:t,onChange:s=>n(s.target.value),type:"text",placeholder:"Search shortcuts",className:"w-56",iconClassName:"top-[13px]"})]}),e.jsx(b,{className:"w-[46rem]"}),(c==null?void 0:c.length)>0?e.jsx("div",{className:"h-[calc(100vh-180px)] overflow-auto w-full flex flex-col items-center",children:e.jsxs("div",{className:"flex flex-col gap-10 bg-red-30 w-[50rem] p-8",children:[e.jsx(r,{search:t,title:"Drawer",shortcuts:l}),e.jsx(r,{search:t,title:"Requests",shortcuts:d}),e.jsx(r,{search:t,title:"Inbox",shortcuts:u}),e.jsx(r,{search:t,title:"Others",shortcuts:x})]})}):e.jsxs("div",{className:"flex flex-col items-center justify-center text-muted-text gap-3 h-[80vh]",children:[e.jsx(p,{size:24}),e.jsx("span",{children:"No matching shortcuts found"})]})]})};export{v as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.