-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[develop] Add ROM favorites and history tabs to file browser #168
[develop] Add ROM favorites and history tabs to file browser #168
Conversation
Moved the Load last game and favorites with menu into the branch
Both history and last game works for roms and 64dd games
Giving a bit more space between the lines of history
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Removing the empty entry that snuck in
Fixing up ordering
Moved add to favorite to the options context menu
refactored most of the history / favorite code to now be "bookkeeping". this now uses a common struct to hold the required paths and the record type (to open up future work for emus).
Users can remove favorites via the menu
Updated the tabs so they fill the top of the screen.
All comments are for discussion... not a review... |
Only thing really missing at the moment is being able to favorite 64DD games. |
load_history and load_favorite are cleaned when going into the load-disk screen to stop a loop. other bits of code cleaned up.
* Update various function code styles to match the rest of the menu. * Added some function documentation. * Changed tab placement. * Updated tab colour. * Changed action bar layout to match rest of menu structure.
Fixed issue with not finding the first item
…FlashcartMenu into history_develop
Fixing looking up rom path with the wrong variable
* minor style changes
Improve text
Improves GUI
spacing
Documentation improvements
Code style
Fixing the context menu so the text sits in the middle again.
Updated the scroll bar height to take into account the border
updating to 8 favorites and history items
Increases ROMs displayed in menu by 1
Aligning information text
improve tab context
Description
Contains the code required for showing history and favourites.
There are now 3 tabs at the top of the browser display: Files, History, Favorites.
When you launch a game, either rom or disk, the file path for those will be written out to an ini file called
history.ini
,which can then be reloaded quickly from the History tab
Roms and Disks can be added as favorites.
Select the rom or Disk as normal, then bring up the options menu (R).
an option to "add to favorites" will be on the new list.
Those can then be selected from the favorites tab.
Currently there are limits to the number of history and favorites and that is set to 8.
Motivation and Context
Issue request for last game history and favorites from the menu GUI.
How Has This Been Tested?
Tested locally on Supercart 64 & SummerCart64,
Tested last loading just a rom, just a disk and a disk and rom
Tested History, loading rom, disk and rom and disk.
Tested favorites using F-Zero X and expansion.
Screenshots
Types of changes
Checklist:
Signed-off-by: GITHUB_USER <GITHUB_USER_EMAIL>