waveterm/frontend/app/store
Evan Simkowitz da2291f889
Terminal search (#1654)
This adds support for searching the terminal buffer using the
`@xterm/addon-search` library. It also adds three options for searching:
regex, case-sensitive, and whole-word. These can be included or excluded
from the search options for `useSearch` depending on whether the search
backend supports it.


![image](https://github.com/user-attachments/assets/e0b7e2ed-641b-463f-94a2-f24969fb3b06)

I didn't like any of the Font Awesome icons for these toggles so until
we have time to make some of our own icons that better match the Font
Awesome style, I've appropriated VSCode's icons from their [codicons
font](https://github.com/microsoft/vscode-codicons).

To implement the toggle-able buttons for these options, I've introduced
a new HeaderElem component, `ToggleIconButton`. This is styled similarly
to `IconButton`, but when you hover over it, it also shows a highlighted
background and when active, it shows as fully-opaque and with an
accented border.

Also removes the `useDismiss` behavior for the search box to better
match behavior in other apps.

Also fixes the scrollbar observer from my previous PR so it's wider.
2025-01-01 10:43:02 -08:00
..
contextmenu.ts Stop event propagation for contextmenu show event (#1493) 2024-12-11 11:03:30 -08:00
global.ts new utility fn, deepCompareReturnPrev. use for settings prefix atom to do a deep equal (#1630) 2024-12-26 11:09:48 -08:00
jotaiStore.ts Remove global.ts dependency from emain (#1003) 2024-10-10 10:12:42 -07:00
keymodel.ts Terminal search (#1654) 2025-01-01 10:43:02 -08:00
modalmodel.ts tos page 2 -- quick tips (#387) 2024-09-16 23:45:47 -07:00
services.ts Deleting current workspace switches to another instead of closing [ backend implementation ] (#1623) 2024-12-29 09:58:29 -08:00
wos.ts Auditing async usage in frontend code (#1402) 2024-12-05 18:09:54 -08:00
wps.ts Remove global.ts dependency from emain (#1003) 2024-10-10 10:12:42 -07:00
ws.ts merge main to dev 0.9 2024-10-18 09:29:39 -07:00
wshclient.ts vdom 3 (#1033) 2024-10-17 14:50:36 -07:00
wshclientapi.ts Rename outdated WaveAI types (#1609) 2024-12-23 10:55:04 -08:00
wshrouter.ts browser view (#1005) 2024-10-17 14:34:02 -07:00
wshrpcutil.ts browser view (#1005) 2024-10-17 14:34:02 -07:00