-
Notifications
You must be signed in to change notification settings - Fork 270
feat: Allow user to control message view mode #10945
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
base: main
Are you sure you want to change the base?
Conversation
ae8adf6
to
97d05cd
Compare
Signed-off-by: SebastianKrupinski <[email protected]>
97d05cd
to
2c6772c
Compare
If you receive two messages that form a thread, you will still only see one entry in your INBOX with the current approach, right? |
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.
it works as described
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.
Tested and doesn't work. It's only possible to open the latest received message of a thread. I can not open earlier ones, because they are not shown in the message list. The list is still threaded.
Correct! I was not aware we stacked messages in the list, I have already made the backed and front end changes, just need to updated some backend tests, will push the update soon. |
Signed-off-by: SebastianKrupinski <[email protected]>
Signed-off-by: SebastianKrupinski <[email protected]>
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.
Looks sane
Are there any plans to skip building threads if the user doesn't use them anyway?
Signed-off-by: SebastianKrupinski <[email protected]>
if ($view !== null) { | ||
$view = $view === 'singleton' ? IMailSearch::VIEW_SINGLETON : IMailSearch::VIEW_THREADED; | ||
} | ||
$messages = $this->mailSearch->findMessages( |
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.
Inline the var and you have a smaller diff ✨
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.
Done, Hopefully this is what you ment
|
Signed-off-by: SebastianKrupinski <[email protected]>
Fixed, took some major head scratching to find the correct code. |
Will fix lint errors on final approval |
Resolves: #5913
Summary
User Setting
Administrator Settings