waveterm/frontend/app
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
..
asset workspace switcher + new elements (in storybook) (#1148) 2024-10-27 13:22:06 -07:00
block Terminal search (#1654) 2025-01-01 10:43:02 -08:00
element Terminal search (#1654) 2025-01-01 10:43:02 -08:00
hook browser view (#1005) 2024-10-17 14:34:02 -07:00
modals Make TOS modal buttons larger (#1573) 2024-12-19 12:16:03 -08:00
notification Oops i actually made the tabs wrong (#1384) 2024-12-04 13:49:14 -08:00
store Terminal search (#1654) 2025-01-01 10:43:02 -08:00
tab Allow empty workspace name while editing workspace (#1592) 2024-12-20 08:55:28 -08:00
view Terminal search (#1654) 2025-01-01 10:43:02 -08:00
workspace Oops i actually made the tabs wrong (#1384) 2024-12-04 13:49:14 -08:00
app-bg.tsx browser view (#1005) 2024-10-17 14:34:02 -07:00
app.scss wsh run (#1376) 2024-12-04 14:16:50 -08:00
app.tsx new utility fn, deepCompareReturnPrev. use for settings prefix atom to do a deep equal (#1630) 2024-12-26 11:09:48 -08:00
mixins.scss Oops i actually made the tabs wrong (#1384) 2024-12-04 13:49:14 -08:00
reset.scss Oops i actually made the tabs wrong (#1384) 2024-12-04 13:49:14 -08:00
theme.scss Search box component (#1579) 2024-12-19 13:49:48 -08:00