* Add replacement training_mod_tui crate
* Begin work on converting over to byteflags
* Allow StatefulTable.iter_mut()
* Additional merge work
* Fixing more compile errors from the merge
* Replace training_mod_tui with training_mod_tui_2, update byteflags dependency for random selection
* Fix button_config, hero buffs, caps issues. Move button logic into App
* Restore some functions that I cut too agressively
* Move to_vec into byteflags crate
* Fix src/training/ui
* Set `_` match arms on byteflags to `unreachable!()`
* Fix final few compiler errors
* Run formatter
* Reconsider whether unreachable parts are actually unreachable
* Adjust logging and remove dead code
* Fix some menu bugs
* Adjust icon sizes
* Separate checkmark from is_single_option
* Allow fast increment / decrement of slider handles with up/down
* Allow resetting current menu
* Change button behavior: `R/Z` now resets either the whole menu or the selected submenu depending on app.page, and `Y` now clears the current toggle so you don't have to press A six times. Only show keyhelp for `Y` if its relevant.
* Remove unneeded command line interface
* Take care of some minor nomenclature TODO's
* Increase stack size for menu::load_from_file() to avoid crashes
* Implement confirmation page before restoring from defaults
* Run rustfmt
* Fix warnings
* Grab releases from Github and install
* Refactor
* Fix crash
* Work on fixing install() crash
* Fix the crash by increasing stack size
* Block main() execution on the auto-updater
* Improve error handling
* Delete hash.txt
* Fix get_update_policy()
* Use current time as default last_update_version; Compare publish date to last_update_version to determine if update should be applied.
* Use skyline_web dialogs for user_wants_to_install. Use default selections on emulator instead.
* Fix some logic
* Convert CURRENT_VERSION to a Mutex; implement functions to update the config file
* Adjust logging
* Remove unneeded file
* Allow unwrap after is_some() check
* Fix format
* Auto-updater (squashed)
* Move update policy from config file to menu
* Skip version check on emulator
* Rustfmt, clippy
---------
Co-authored-by: jugeeya <jugeeya@live.com>
* Initial commit
* don't rewrite file each time
* Format Rust code using rustfmt
* Receive menu settings from web via message
* Adjust logic
* Stub changes for json messages
* Rust: receive menu as json
* Small JS changes for desktop
* Attempt to fix exit issues
* Fix filename issue
* JS: Export menu as json
* Use JSON for Rust -> JS message
* Update .conf file schema to json
* Tear down session when leaving training mode
* Remove URL behavior, rename WebAppletResponse -> MenuJsonStruct
* Update TUI to use JSON
Co-authored-by: jugeeya <jugeeya@live.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* Initial commit
* Format Rust code using rustfmt
* Add back fs calls
* working with drawing
* wow we're almost there
* multi-lists working, selection within tui working
* working with tabs
* working with smash
* amend warnings, fix menu actually saving inputs
* small refactors
* Fully working!
* Fix warnings
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>