Skip to content

State improvements + QoL additions#91

Open
0x96EA wants to merge 12 commits intoakuse-app:react-portfrom
0x96EA:feat/no-ref/store_improvements
Open

State improvements + QoL additions#91
0x96EA wants to merge 12 commits intoakuse-app:react-portfrom
0x96EA:feat/no-ref/store_improvements

Conversation

@0x96EA
Copy link
Contributor

@0x96EA 0x96EA commented Jun 15, 2024

So i went down a rabbit hole to fix the app state not being saved correctly and learned a lot about electron store... Please feel free to choose to use parts of the PR or redo it in a style you want. 😊

I optimized the number of calls that needed to be made to the store and keep the data in a context with a hook for the frontend. Have already seen the performance improvements and the app now "remembers things correctly".

List of changes

  • Setup context for interaction with electron-store see useStorageContext()
  • Added PIP button
  • Fixed memory leaks from the auto update ipc events being emitted but not being cleaned up.
  • Updated various useEffect calls
  • Fixed adding and removing shows from your list
  • Added shortcuts for Skip Intro ('s' key) and PIP ('o key')

Screenshots

Screenshot 2024-06-16 at 03 22 14

Skip Intro button moved to the left and Picture in picture button on the right


Screenshot 2024-06-16 at 03 22 33

Picture in picture on


Screenshot 2024-06-16 at 03 22 43

Picture in picture with mouse hovered over it


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant