nextcloud / nextcloud/mail

Always show folders with new e-mails (and at the top)

Open
#546 3 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop enhancement
Dominant language
JavaScript
Stars
1k
Forks
348
Avg merge
12h 28m
Merged PRs (30d)
91

Description

If you have server-side filters that automatically classify e-mails and put them in subfolders, it's extremely easy to miss new e-mails as those folders are hidden by default.

Steps to reproduce
  1. Get new mail in a folder that is not the Inbox, Favourites, etc. (special folders at the top)
Expected behaviour

Folders with new e-mails are always visible (no need to click on "show all folders"). Folders with new e-mails are alphabetically sorted.

Actual behaviour

Folders with new e-mails are hidden unless you click the "show all folders" button. Folders with new e-mails are mixed with folders without new e-mails and unsorted.

Mail app

Mail app version: 0.7.3

Mailserver or service: dovecot

(removed the rest of the template because it's irrelevant, this is a feature request)


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Contributor guide

Open the contributing guide

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.

Research direction

Start by tracing how the Mail app renders the folder list and handles the "show all folders" control when new mail arrives in a non-special folder. Confirm the existing ordering and visibility behavior, then verify that folders with new e-mails are always visible and sorted alphabetically above folders without new mail.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.