chore(amps): hide Neural Amp from palette/registry (keep code for later)
Remove Neural Amp from PedalRegistry.builtIn and PedalPaletteView.preferredOrder so it can't be added — the model loader's security-scoped file access is unresolved (fails silently under sandboxing; flagged in external review). NeuralAmpPedal, its neuralModelRow UI, PedalType/category/color mappings, and tests are all kept for later iteration — re-add the two entries to re-enable. Help acknowledgment for the GuitarML loader dropped (feature not user-reachable); registry test now asserts it is not registered. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -113,8 +113,10 @@ struct NeuralAmpPedalTests {
|
||||
#expect(pedal.effectKnobs.map { $0.label } == ["Gain"])
|
||||
}
|
||||
|
||||
@Test func registeredInBuiltInRegistry() throws {
|
||||
let pedal: Pedal? = PedalRegistry.makePedal(type: "Neural Amp")
|
||||
#expect(pedal is NeuralAmpPedal)
|
||||
@Test func notRegisteredWhileHidden() throws {
|
||||
// Neural Amp is intentionally not in the palette/registry for now (unresolved security-scoped
|
||||
// model-file access); the class + UI are kept for later iteration. Re-add to
|
||||
// PedalRegistry.builtIn + PedalPaletteView.preferredOrder to re-enable.
|
||||
#expect(PedalRegistry.makePedal(type: "Neural Amp") == nil)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user