Skip to content

presetBrowser: fix workbench mirror dropping decoded amp/block model names - #82

Open
ptn wants to merge 1 commit into
sKuhLight:mainfrom
ptn:fix/workbench-dropping-decoded
Open

presetBrowser: fix workbench mirror dropping decoded amp/block model names#82
ptn wants to merge 1 commit into
sKuhLight:mainfrom
ptn:fix/workbench-dropping-decoded

Conversation

@ptn

@ptn ptn commented Aug 24, 2026

Copy link
Copy Markdown

The provided sample query of "All 5153 rigs" was not returning anything at all on FM3, firmware 13. I did have about 10 presets that should have matched it.

AMP(TYPE=...) queries (and simple free-text search) could never match a real amp/block model because the workbench preset-browser mirror only carried the generic roster instance label ("Amp 1") and the device model string ("FM3") into matchEntryFromSummary, never the decoded per-family model names ForgeFX sends separately (e.g. "5153 100W Blue"). Thread summary.models/amps through AxisPresetBrowserEntrySummary and prefer them over the generic label in matchEntryFromSummary and axisPbRowBlockChips, matching src/lib/PresetBrowser.svelte's reference behavior.

Release

Merging to main releases automatically — a single release:* label controls it:

  • no label → patch (a PR touching only docs/, .github/, or *.md → no release)
  • release:minor / release:major → bigger bump
  • release:none → adopt without releasing (rides the next release)
  • release:hold → merge now, release later
  • release:hold / release:none win over a co-present bump label
  • at most one bump label (the pr-labels check enforces this)

Versions come from tags — never bump package.json in a PR. This repo releases with the -beta suffix (X.Y.Z-beta).

Details: docs/RELEASING.md

The provided sample query of "All 5153 rigs" was not returning anything
at all on FM3, firmware 13. I did have about 10 presets that should have
matched it.

AMP(TYPE=...) queries (and simple free-text search) could never match a
real amp/block model because the workbench preset-browser mirror only
carried the generic roster instance label ("Amp 1") and the device model
string ("FM3") into matchEntryFromSummary, never the decoded per-family
model names ForgeFX sends separately (e.g. "5153 100W Blue"). Thread
summary.models/amps through AxisPresetBrowserEntrySummary and prefer them
over the generic label in matchEntryFromSummary and axisPbRowBlockChips,
matching src/lib/PresetBrowser.svelte's reference behavior.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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.

1 participant