Skip to content
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

Rework using IPC event #1

Merged
merged 11 commits into from
Jan 28, 2024
Merged

Conversation

D3SOX
Copy link

@D3SOX D3SOX commented Jan 27, 2024

  • A lot of refactoring
  • Don't use hard-coded Discord class for icon style
  • Use existing method to format the duration
  • Added a setting whether to track it for yourself or not (Maybe we could depend on the state of the CallTimer plugin here)
  • Now using IPC events and a simple map to store the join times

@D3SOX
Copy link
Author

D3SOX commented Jan 27, 2024

Oops, changing the guild resets the timers because the component is remounted. Need to fix

component gets remounted so the timer needs to use a fixed start time
@D3SOX D3SOX marked this pull request as ready for review January 27, 2024 19:10
@Max-Herbold
Copy link
Owner

Thanks for these changes they are fantastic! One issue which I will fix in the main pr

@Max-Herbold Max-Herbold merged commit 6c5dbec into Max-Herbold:main Jan 28, 2024
@D3SOX D3SOX deleted the d3sox/allCallTimers branch January 29, 2024 15:11
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.

2 participants