waveterm/frontend/app/element
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
..
avatar.scss Oops i actually made the tabs wrong (#1384) 2024-12-04 13:49:14 -08:00
avatar.stories.tsx workspace switcher + new elements (in storybook) (#1148) 2024-10-27 13:22:06 -07:00
avatar.tsx Switch from Less to Scss (#1335) 2024-11-21 16:05:04 -08:00
button.scss Update button class name so it doesn't conflict with Monaco (#1536) 2024-12-16 18:10:06 -08:00
button.stories.tsx menu (#846) 2024-09-26 18:21:28 -07:00
button.tsx Update button class name so it doesn't conflict with Monaco (#1536) 2024-12-16 18:10:06 -08:00
collapsiblemenu.scss Oops i actually made the tabs wrong (#1384) 2024-12-04 13:49:14 -08:00
collapsiblemenu.stories.tsx workspace switcher + new elements (in storybook) (#1148) 2024-10-27 13:22:06 -07:00
collapsiblemenu.tsx Switch from Less to Scss (#1335) 2024-11-21 16:05:04 -08:00
copybutton.scss Oops i actually made the tabs wrong (#1384) 2024-12-04 13:49:14 -08:00
copybutton.tsx Switch from Less to Scss (#1335) 2024-11-21 16:05:04 -08:00
emojipalette.scss Oops i actually made the tabs wrong (#1384) 2024-12-04 13:49:14 -08:00
emojipalette.stories.tsx workspace switcher + new elements (in storybook) (#1148) 2024-10-27 13:22:06 -07:00
emojipalette.tsx Switch from Less to Scss (#1335) 2024-11-21 16:05:04 -08:00
errorboundary.tsx errorboundary fallback, errorboundary in block frame header. fix workspace error boundary 2024-09-09 18:20:57 -07:00
expandablemenu.scss Oops i actually made the tabs wrong (#1384) 2024-12-04 13:49:14 -08:00
expandablemenu.stories.tsx workspace switcher + new elements (in storybook) (#1148) 2024-10-27 13:22:06 -07:00
expandablemenu.tsx Switch from Less to Scss (#1335) 2024-11-21 16:05:04 -08:00
flyoutmenu.scss Oops i actually made the tabs wrong (#1384) 2024-12-04 13:49:14 -08:00
flyoutmenu.stories.tsx workspace switcher + new elements (in storybook) (#1148) 2024-10-27 13:22:06 -07:00
flyoutmenu.tsx Switch from Less to Scss (#1335) 2024-11-21 16:05:04 -08:00
iconbutton.scss Terminal search (#1654) 2025-01-01 10:43:02 -08:00
iconbutton.tsx Terminal search (#1654) 2025-01-01 10:43:02 -08:00
input.scss Oops i actually made the tabs wrong (#1384) 2024-12-04 13:49:14 -08:00
input.stories.tsx workspace switcher + new elements (in storybook) (#1148) 2024-10-27 13:22:06 -07:00
input.tsx Auto-select workspace name (#1464) 2024-12-10 12:26:42 -08:00
linkbutton.scss Oops i actually made the tabs wrong (#1384) 2024-12-04 13:49:14 -08:00
linkbutton.tsx Switch from Less to Scss (#1335) 2024-11-21 16:05:04 -08:00
magnify.scss Oops i actually made the tabs wrong (#1384) 2024-12-04 13:49:14 -08:00
magnify.stories.tsx Update copyright indicators on a bunch of files (#255) 2024-08-20 17:01:29 -07:00
magnify.tsx Switch from Less to Scss (#1335) 2024-11-21 16:05:04 -08:00
markdown-contentblock-plugin.ts wsh ai file attachments -- renderer in waveai (#1281) 2024-11-14 16:20:33 -08:00
markdown-util.ts relative markdown text (#1489) 2024-12-16 16:04:07 -08:00
markdown.scss fix markdown last margin (#1575) 2024-12-19 12:41:03 -08:00
markdown.tsx fix: bound custom fontsizes between 6 and 64 (#1577) 2024-12-19 13:01:12 -08:00
menubutton.scss Update button class name so it doesn't conflict with Monaco (#1536) 2024-12-16 18:10:06 -08:00
menubutton.stories.tsx workspace switcher + new elements (in storybook) (#1148) 2024-10-27 13:22:06 -07:00
menubutton.tsx Switch from Less to Scss (#1335) 2024-11-21 16:05:04 -08:00
modal.scss Oops i actually made the tabs wrong (#1384) 2024-12-04 13:49:14 -08:00
modal.tsx Switch from Less to Scss (#1335) 2024-11-21 16:05:04 -08:00
multilineinput.scss Oops i actually made the tabs wrong (#1384) 2024-12-04 13:49:14 -08:00
multilineinput.stories.tsx workspace switcher + new elements (in storybook) (#1148) 2024-10-27 13:22:06 -07:00
multilineinput.tsx Switch from Less to Scss (#1335) 2024-11-21 16:05:04 -08:00
notification.scss Switch from Less to Scss (#1335) 2024-11-21 16:05:04 -08:00
notification.tsx notification (#1207) 2024-11-15 21:26:16 -08:00
popover.scss Oops i actually made the tabs wrong (#1384) 2024-12-04 13:49:14 -08:00
popover.stories.tsx workspace switcher + new elements (in storybook) (#1148) 2024-10-27 13:22:06 -07:00
popover.tsx tabs new design (#1352) 2024-12-03 13:53:27 -08:00
progressbar.scss progressbar component (#1556) 2024-12-27 09:48:53 -08:00
progressbar.stories.tsx progressbar component (#1556) 2024-12-27 09:48:53 -08:00
progressbar.tsx progressbar component (#1556) 2024-12-27 09:48:53 -08:00
quickelems.scss Oops i actually made the tabs wrong (#1384) 2024-12-04 13:49:14 -08:00
quickelems.tsx Switch from Less to Scss (#1335) 2024-11-21 16:05:04 -08:00
quicktips.scss Oops i actually made the tabs wrong (#1384) 2024-12-04 13:49:14 -08:00
quicktips.tsx Switch from Less to Scss (#1335) 2024-11-21 16:05:04 -08:00
search.scss Terminal search (#1654) 2025-01-01 10:43:02 -08:00
search.stories.tsx Terminal search (#1654) 2025-01-01 10:43:02 -08:00
search.tsx Terminal search (#1654) 2025-01-01 10:43:02 -08:00
toggle.scss Oops i actually made the tabs wrong (#1384) 2024-12-04 13:49:14 -08:00
toggle.tsx Switch from Less to Scss (#1335) 2024-11-21 16:05:04 -08:00
typingindicator.scss Oops i actually made the tabs wrong (#1384) 2024-12-04 13:49:14 -08:00
typingindicator.tsx Switch from Less to Scss (#1335) 2024-11-21 16:05:04 -08:00
windowdrag.scss try to fix drag region above tabs (#1466) 2024-12-10 12:50:58 -08:00
windowdrag.tsx tabs new design (#1352) 2024-12-03 13:53:27 -08:00