Skip to content

Expansion presets and search#912

Draft
davidhealey wants to merge 3 commits intochristophhart:developfrom
davidhealey:expansionPresetsAndSearch
Draft

Expansion presets and search#912
davidhealey wants to merge 3 commits intochristophhart:developfrom
davidhealey:expansionPresetsAndSearch

Conversation

@davidhealey
Copy link
Copy Markdown
Contributor

Depends on #910

Add expansion-aware preset browser search

  • Search presets across all available expansions when no expansion is
    selected; scope search to the selected expansion when one is active
  • Preserve search wildcard when switching expansions during a search
  • Add FullPathSearch panel property to prefix results with the expansion
    name so the user can distinguish same-named presets from different
    expansions
  • Always show expansion column during search/filter mode

https://claude.ai/code/session_011hoRk8B1Wv3jdut16umVbu

claude and others added 3 commits March 12, 2026 16:18
… enum

On Linux, resolv.h (included transitively via httplib.h's resolv.h pull-in
when __linux__ is defined) defines DELETE as ns_uop_delete which equals 0.
This collides with the RestServer::Method::DELETE enum value in switch
statements, causing "duplicate case value" errors since GET also equals 0.

Undefine DELETE after all system headers are included in RestServer.cpp.

https://claude.ai/code/session_0136KCbr58YCTnir9yWDX7jW
- Add Install (.hr1), Relocate Samples, and Uninstall buttons to the
  expansion column in the preset browser
- Selective uninstall: user can keep custom presets, only monolith
  (.ch*) files are deleted (not the whole samples folder if shared)
- Relocate samples: validates all monolith files exist in the new
  location before writing the link file; shows success message on
  completion
- Install: prompts for sample directory, auto-creates named subfolder
  unless the chosen directory already matches the expansion name
- Add ShowExpansionEditButtons panel property (default: false) to
  control visibility of these buttons independently of other columns
- Remove overwrite confirmation from createLinkFileInFolder
- Use ButtonIndexes enum instead of magic numbers when hiding buttons
- Force-extract user presets after fresh install so preset browser
  populates immediately

https://claude.ai/code/session_01K6DbeGdttAjpybH9DEckMq

Add expansion management buttons to preset browser expansion column

- Add/rename/delete buttons to the expansion column with independent
  showExpansionEditButtons option
- Add button installs an .hr1 package; rename button relocates samples;
  delete button uninstalls the expansion
- Fix edit buttons staying visible after deselecting an expansion by
  clearing the listbox selection before updateButtonVisibility
- Promote ButtonIndexes enum to class scope so call sites can use
  named constants instead of raw integers

https://claude.ai/code/session_01K6DbeGdttAjpybH9DEckMq
- Search presets across all available expansions when no expansion is
  selected; scope search to the selected expansion when one is active
- Preserve search wildcard when switching expansions during a search
- Add FullPathSearch panel property to prefix results with the expansion
  name so the user can distinguish same-named presets from different
  expansions
- Always show expansion column during search/filter mode

https://claude.ai/code/session_011hoRk8B1Wv3jdut16umVbu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants