nextcloud / nextcloud/mail

Wrong state when switching from drafts (or any other non-inbox) to priority inbox

Open
#10,426 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Steps to reproduce
  1. Open "Drafts" folder
  2. Reload the page (to clear the existing state)
  3. Click on "Priority inbox"
  4. A wrong view is shown
  5. Reload the page
  6. The correct view is shown

https://github.com/user-attachments/assets/52805a5d-4470-45e6-b689-ececed8addc5

Expected behavior

The priority inbox view.

Actual behavior

Something weird 🙈

I'm seeing a request for pi-other, and therefore it's a list of non-important messages? 🤣

Mail app version

main / stable4.0

Nextcloud version

stable31 / stable30

Additional info

Thanks to @marcelklehr for reporting 🙏

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

Reproduce the transition from Drafts to Priority inbox using the listed steps, then inspect the frontend state handling involved in switching folders. The fix is complete when navigating directly from a non-inbox folder shows the Priority inbox view without requiring a reload, including the expected message list rather than pi-other.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.