Skip to content

Conversation

zxkmm
Copy link
Contributor

@zxkmm zxkmm commented Oct 12, 2024

What's new

Add a fast-select "Zapper" function for var_item type menu

  • in varible_item menu (e.g. the freq select menu), in old way you can only use Left and Right to swap.
  • I added a "Zapper menu", you highlight a item, long press
  • then use OK to paging, and use ^ v < > to pick one, kinda likes cheat code in old games
  • benefits:
    it's 4 times faster when you are looking for a item (e.g. a frequency)
    I't s extremely fast (and don't even need to look at the screen) if you remember the number (position) of that specific item (for example the most used two: 315 and 433.92)
go to 433.92: ok*9, then Right
go to 315.00: ok*4, then Right

TODO

Current interface is kinda ugly. Need to design a new one maybe.


For the reviewer

  • I've uploaded the firmware with this patch to a device and verified its functionality
  • I've confirmed the bug to be fixed / feature to be stable

@zxkmm zxkmm marked this pull request as ready for review October 12, 2024 11:08
},
false);

if(consumed) return true;
Copy link
Contributor Author

@zxkmm zxkmm Oct 12, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's for prevent the zapper menu infect in the var_item meny obj.

default:
break;
}
} else if(event->type == InputTypeLong) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

only one option but switch to keep it clean

{
VariableItem* item = variable_item_list_get_selected_item(model);

bool is_allowed = false;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is just for prevent mistaken-touch for those two options field. but they works good too, just i think not needed

@WillyJL WillyJL added the feature New feature or request label Oct 13, 2024
@zxkmm
Copy link
Contributor Author

zxkmm commented Oct 25, 2024

Just broken changelog, lol, will fix now
it turned out is github's diff view is broken

@WillyJL WillyJL changed the title Add a fast-select "Zapper" function for var_item type menu GUI: Add a fast-select "Zapper" mode for VarItemList Nov 8, 2024
@zxkmm zxkmm requested a review from 956MB as a code owner February 3, 2025 03:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
Status: Next Up
Development

Successfully merging this pull request may close these issues.

2 participants