jellyfin-roku
jellyfin-roku copied to clipboard
Update Alpha menu - refactor, bugfix, and QOL updates
This converts the alpha menu to use the correct styling for vars, it moves the mic icon inside the alpha node, fixes an edge case bug, and adds some quality of life improvements.
Changes
- Refactor
Alpha.bs
and all files that use it to use lowerCamelCase for all var names - Move the mic icon from
ItemGrid
,MovieLibraryView
, andMusicLibraryView
and put it inside the Alpha component. ~~Also removes the mic text completely~~- Moved the mic icon and mic text to the overhang to match the tvguide page (except for music library which hides the overhang)
- The tvguide/itemgrid was the only thing using the mic text (and reusing the mic icon). I am now creating the mic icon and text nodes as needed for the livetv guide view.
- Convert mic icon from a
Button
to aPoster
node- It was difficult to reproduce in the first place but I haven't been able to reproduce #1525 since making this change
- Keep focus on alpha menu after selecting a letter
- EDIT: I'm keeping focus on alpha menu now whenever it is active no matter what. Including after using the voice filter option
- When a user selects the same letter that is already focused, remove the current filter instead of doing nothing
- Move logic to show mic icon into
Alpha.bs
- When using the voice search/filter feature, if the users search is for a single character, select the corresponding option on the alphamenu i.e. saying "Z" will select "Z" on the alhpamenu. saying 3 will select "#" etc.
Issues
Fixes #1297 Fixes #1526 Fixes #1527 Fixes #1528
Note: there was one thing I tried to fix but couldn't figure out how:
- When the alpha menu is not focused, there is a wide "focused" overlay that shows up on top of it although it is hard to see with the naked eye. Here is a screenshot after first load of the movie library (notice the overlay around #)
This pull request has merge conflicts. Please resolve the conflicts so the PR can be reviewed. Thanks!
This pull request has been inactive for 21 days and will be automatically closed in 7 days if there is no further activity.
In my Movie library, in Presentation view, I clicked a letter and it threw an error on line 737 m.spinner.visible = true
hah so the reason I missed that crash was because of my movie library being bugged (it would load using the itemgrid instead of the movie specific grid). Apparently that fixed itself recently because I can reproduce this crash. Great timing 😆
This pull request has been inactive for 21 days and will be automatically closed in 7 days if there is no further activity.
This pull request has merge conflicts. Please resolve the conflicts so the PR can be reviewed. Thanks!
This also likely fixes #1297
This pull request has been inactive for 21 days and will be automatically closed in 7 days if there is no further activity.
This pull request has been closed because it has been inactive for 28 days. You may submit a new pull request if desired.
This pull request has been inactive for 21 days and will be automatically closed in 7 days if there is no further activity.
This pull request has been closed because it has been inactive for 28 days. You may submit a new pull request if desired.