Wrong state when switching from drafts (or any other non-inbox) to priority inbox
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1k
- Forks
- 348
- Avg merge
- 12h 28m
- Merged PRs (30d)
- 91
Description
Steps to reproduce
- Open "Drafts" folder
- Reload the page (to clear the existing state)
- Click on "Priority inbox"
- A wrong view is shown
- Reload the page
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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