Repository navigation
elrs.lua: Improvement to Folders/Sub-Folders - #3474
Conversation
1. Show the Sub-Folder name in the title when navigating to it 2. Allow to show nested sub-folders
|
@CapnBry: Changes done as requested. Just to give you an idea of what i'm doing, you can see the video: Have been modifying the alex's gyro code to make it significantly easier to setup/use. Merged gyro code ideas from UNI-RX, openXsensor gyro functionality into the code. |
|
|
||
| local function fieldBackExec(field) | ||
| if field.grandParent then | ||
| if field.grandParent then -- Back from Sub-menu |
There was a problem hiding this comment.
fix the spacing just before the then
|
@frankiearzu please cherry pick your commits and submit an additional PR to https://github.com/ExpressLRS/Lua-Scripts as well. |
|
@frankiearzu you might be also interested in the new ExpressLRS lua scripts that I am developing: https://github.com/ExpressLRS/Lua-Scripts/tree/unified-lua-lsp It requires EdgeTX nightly though. |
CapnBry
left a comment
There was a problem hiding this comment.
Looks good, thanks for the changes. Tested on Boxer and TX16S.
* Manage multi-level sub-folders 1. Show the Sub-Folder name in the title when navigating to it 2. Allow to show nested sub-folders * Updates to elrs requested by CapnBry * Fix minor nit --------- Co-authored-by: Paul Kendall <[email protected]>









Fixes: #3464
Pretty efficient in memory, it only stores one global variable for the current folder name, and for navigation, stores one extra variable in the entry that keeps track of the "---BACK---" entry to keep track of the "grandParent".