-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Combine settings for navigation action after removing a message #7206
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like that the navigation flow logic has been streamlined. While the name PostRemoveNavigation
isn't ideal, I can't provide a better one.
Some of the modified classes reached a size that harms readability, and adding more code to them would be counterproductive.
Optional: The migration logic is scattered across various modules and classes, making it easy to overlook a step. This area could definitely improve with some refactoring.
app/core/src/main/java/com/fsck/k9/preferences/GeneralSettingsDescriptions.java
Show resolved
Hide resolved
fe33a4b
to
c209252
Compare
After the user deletes or moves a message in the message view screen, the available navigation options are: - Return to message list - Show previous message - Show next message We get rid of the "magic" mode that tries to keep going in the direction in which the user was moving previously.
c209252
to
4d434b2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
app/core/src/main/java/com/fsck/k9/preferences/GeneralSettingsDescriptions.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
This combines the settings "Return to list after delete" and "Show next message after delete" into a single setting "After deleting or moving a message" (suggestions for a better name are welcome).
After the user deletes or moves a message in the message view screen, the available navigation options are:
We get rid of the "magic" mode that tries to keep going in the direction in which the user was moving previously.