Unable to unselect Default Folder
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 48/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- javascript
Research direction
Start in the Default folders settings flow and trace the mainStore.patchAccount call to /apps/mail/api/accounts/1 when a selection is cleared. Determine whether an empty default-folder value can be persisted; done means either the cleared value survives reload or the UI prevents unselecting it, with the behavior from #13318 considered.
Written by the indexing model from the issue text.
Description
Steps to reproduce
- go to Account settings -> Default folders
- open selection for any option (e.g. "Drafts are saved in:")
- press Backspace in order to invalidate selection
- the combobox now says "Select...", and implies that the default folder has been unselected
- reload the page, and go back to Account settings -> Default folders
Expected behavior
The blanked default folder type is unselected.
Actual behavior
I find the previous value assigned to the manipolated default folder.
Mail app version
5.10
Nextcloud version
No response
Mailserver or service
No response
Operating system
No response
PHP engine version
None
Nextcloud memory caching
No response
Web server
None
Database
None
Additional info
In those conditions, this.mainStore.patchAccount issues a call to /apps/mail/api/accounts/1 with an empty payload, which doesn't implies any actual change on backend.
But the real question is: is it possible at all to unassigned a default folder?
If yes: some fix is required to submit a "empty this selection" to the backend.
If not: frontend must impede to unselect that selection.
I've found this issue working on #13318, which still includes the same problem (as I didn't know how to handle this scenario).
- Dominant language
- JavaScript
- Stars
- 1k
- Forks
- 364
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 110
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing 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.
More from nextcloud/mail
-
1. to develop enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
nextcloud/mail#13903 · 1 comment ·
Maintainers usually reply within 1 day
-
[Feature]: Need a close preview button/option in mail viewPossibly taken @steven-mpawulo claimed this 1 day ago. Open1. to develop enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
nextcloud/mail#13841 · 3 comments ·
Maintainers usually reply within 1 day
-
1. to develop enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
nextcloud/mail#13828 · 1 comment ·
Maintainers usually reply within 1 day
-
Show email next to name in Search dropdownPossibly taken @vansh-nagar claimed this 26 days ago. Open1. to develop enhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
nextcloud/mail#13703 · 1 comment ·
Maintainers usually reply within 1 day
-
ISO-2022-JP emails are garbled in Mail 5.10.12 [Minimal fix available]Possibly taken @neconohitomi claimed this 46 days ago. Open1. to develop bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
nextcloud/mail#13472 · 1 comment ·
Maintainers usually reply within 1 day
Similar issues
-
Place search spins forever when nominatim failsPossibly taken @jgt87 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
anvaka/city-roads#213 ·
-
mobile UX
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 69/100
jellyfin/jellyfin-web#8685 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
SchemaStore/schemastore#6535 ·
Maintainers usually reply within 1 day
-
enhancement good first issue helia storage tier-1
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
QMeshPy/distributed-quantum#53 ·
Maintainers usually reply within 1 day