Add Group by Date to Message List

Open
#672 2 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
55/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
javascript
Domain
frontend

Research direction

The issue does not name files, tests, or entry points. Start by locating the message list and the controls for sorting and threaded versus non-threaded views, then trace how those views preserve message order and filtering. Done means users can toggle Today, Yesterday, This Week, and Older headers in both views while existing sorting, filtering, and search results remain unchanged.

Written by the indexing model from the issue text.

Description

Is your feature request related to a problem? Please describe.

Emails are displayed in a continuous list without visual date separation, making it harder to distinguish recent messages from older ones.

Describe the solution you'd like

Add a Group by Date option to visually organize emails without changing their existing order.

Requirements:

Display date group headers: Today, Yesterday, This Week, and Older.

Group messages visually while preserving the current sorting order.

Do not modify existing filtering or search results.

Support both threaded and non-threaded views.

Allow users to enable or disable Group by Date.

Describe alternatives you've considered

Using the existing date sorting option, which orders messages chronologically but does not visually separate them into date groups.

Additional context

Acceptance criteria:

Messages appear under the appropriate date headers.

Existing sorting, filtering, and search behavior remains unchanged.

Grouping works correctly in both conversation (threaded) and individual message (non-threaded) views.

Users can toggle date grouping on or off without affecting the message order.

Dominant language
JavaScript
Stars
518
Forks
50
Avg merge
4d 45m
Merged PRs (30d)
43

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from maathimself/mailflow

All issues in maathimself/mailflow

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.