Skip to content

Conversation

GretaD
Copy link
Contributor

@GretaD GretaD commented Sep 16, 2025

fixes #11567

Signed-off-by: greta <gretadoci@gmail.com>
Signed-off-by: greta <gretadoci@gmail.com>
const groupOrder = sortOrder === 'newest'
? ['lastHour', 'today', 'yesterday', 'lastWeek', 'lastMonth', 'older']
: ['older', 'lastMonth', 'lastWeek', 'yesterday', 'today', 'lastHour']
Copy link
Member

Choose a reason for hiding this comment

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

for sorting by oldest it will not show the year of the messages, will it? it will start with Older.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes, i think older is good enough to fix the issue reported, we dont have to change it, unless someone has a strong opinion. In the ticket itself I proposed year, because i thought thats what we already have.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

also, changing the whole logic of showing years, then months, then week/recent, is more of a feature request, and here im just fixing a bug :)

Copy link
Member

Choose a reason for hiding this comment

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

IMO it's very strange to start with Older, because it's missing a context of what it's compared to. If anything, it should start with Old. But that's weird.

What is shown in Outlook and others?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Outlook has it with Years, then Months(Jan..Feb..), than last week, and today. When we worked on the initial feature, Older was proposed for messages older than last month.

I can change the scope of the PR, because yes, its odd to start with Older, but that will need a bit of more work than just fixing the bug reported.

Copy link
Member

Choose a reason for hiding this comment

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

Sounds like a plan

Copy link
Member

Choose a reason for hiding this comment

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

The feature was always about covering all sorting options. See #11057.

Signed-off-by: greta <gretadoci@gmail.com>
@GretaD
Copy link
Contributor Author

GretaD commented Sep 17, 2025

Started from scratch here: #11708

@GretaD GretaD closed this Sep 17, 2025
@ChristophWurst ChristophWurst deleted the fix/sorting-mailboxes branch September 17, 2025 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Sorting broken with new grouping feature

2 participants