Feature/quick switch#134
Open
hciupinski wants to merge 4 commits into
Open
Conversation
Author
|
Hi @tuntorius, could you take a look at this PR and assess whether it would be a useful functionality? |
|
Hi @hciupinski Looks like this repo is abandoned and I am trying to build the the app on my Ubuntu Linux to try to fix some issues... How did you build the app to prepare this PR? Did you use Windows or Linux? If you have some insights it would be great to help us collecting "how to build" info in eg. this issue: #97 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Quick Switch UX: Mobile Foot Switcher
Summary
Allows user to switch channels in the same way as on a real foot switcher but using mobile app.
Adapts the quick-switch layout to device orientation: a single row in landscape for horizontal rigs, a stacked column in portrait for thumb-friendly taps.
Keeps preset colors in sync with the selected channel so the active button always reflects live amp state.
Double tap on each button to pin your channel.
User can use 2 or 3 channels (because why more 🎸 )
Technical Highlights
Channel press events translate 1-based labels to the amp’s 0-based indexes and guard against invalid selections (lib/UI/pages/quickSwitchPage.dart).
Button rendering uses a Flex that flips between Axis.vertical and Axis.horizontal, maintaining consistent padding and gesture handling across orientations (lib/UI/pages/quickSwitchPage.dart).
Testing
flutter run with a connected device: verify channel buttons trigger their matching amp presets.
Rotate between portrait/landscape: confirm layout swaps between column and row while preserving colors and gestures.
Screenshots
QSwitch tab
Choose your channel on double tap
Horizontal view
Video sample
Google Disk - ios recording