Add ListToggle and built-in search filtering to ResourceControls, move Export/Clear buttons to HistoryListPanel
ResourceControls now manages its own search state internally and filters all three accordion sections (URIs, Templates, Subscriptions) by name and URI. Added ListToggle to expand/collapse all sections. Moved Export JSON and Clear All buttons from HistoryControls sidebar to the HistoryListPanel header for better proximity to the data they act on. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
5594e940c9
commit
a68933464b
1 changed files with 80 additions and 69 deletions
|
|
@ -59,6 +59,12 @@ export function LogControls({
|
|||
<Stack gap="md">
|
||||
<Title order={4}>Logging</Title>
|
||||
|
||||
<TextInput
|
||||
placeholder="Search..."
|
||||
value={filterText}
|
||||
onChange={(e) => onFilterChange(e.currentTarget.value)}
|
||||
/>
|
||||
|
||||
<Title order={5}>Active Level</Title>
|
||||
<Group wrap="nowrap">
|
||||
<Select
|
||||
|
|
@ -74,13 +80,6 @@ export function LogControls({
|
|||
</Button>
|
||||
</Group>
|
||||
|
||||
<Title order={5}>Search</Title>
|
||||
<TextInput
|
||||
placeholder="Search logs..."
|
||||
value={filterText}
|
||||
onChange={(e) => onFilterChange(e.currentTarget.value)}
|
||||
/>
|
||||
|
||||
<Group justify="space-between">
|
||||
<Title order={5}>Filter by Level</Title>
|
||||
<SubtleButton onClick={onToggleAllLevels}>
|
||||
|
|
|
|||
Loading…
Reference in a new issue