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

Allow clicking edit while paused and recently loved/unloved #4540

Merged
merged 1 commit into from
Feb 23, 2024

Conversation

yayuyokitano
Copy link
Member

@yayuyokitano yayuyokitano commented Feb 23, 2024

Adds new field "permanentMode" to some communications, which ignores temporary modes paused, loved, unloved.
This allows some functionality in UI to be unaffected by temporary modes.

Closes #4539

It is worth noting this change is a little past trivial, but it's not huge.

@yayuyokitano yayuyokitano added fixed patch-change For patch changes labels Feb 23, 2024
@yayuyokitano yayuyokitano requested a review from inverse February 23, 2024 19:21
Copy link
Member

@inverse inverse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can see what it's doing but the naming seems a little off as it sounds like it's static.

@yayuyokitano
Copy link
Member Author

Merging to get fix done immediately, but I agree, I wasn't sure what to name this. Do you have a different suggestion? Maybe persistentMode?

@yayuyokitano yayuyokitano merged commit 72227a7 into web-scrobbler:master Feb 23, 2024
11 checks passed
@yayuyokitano yayuyokitano deleted the pause-fix-2 branch February 23, 2024 21:41
@inverse
Copy link
Member

inverse commented Feb 23, 2024

I didn't have a better suggestion :/ the other one is more of the mode but can be in a transient state whereas the other is the actual mode right?

@yayuyokitano
Copy link
Member Author

Correct. Mode can be one of the three temporary modes (paused, loved, unloved), whereas the permanentMode is whatever the mode would be if there was no temporary override right now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch-change For patch changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot edit fields during pause state
2 participants