Skip to content

fix: DELETE of a mailbox inside INBOX removes it from INBOX - #100

Merged
andris9 merged 1 commit into
masterfrom
fix/delete-inbox-child
Nov 15, 2026
Merged

andris9 merged 1 commit into
masterfrom
fix/delete-inbox-child

Conversation

@andris9

@andris9 andris9 commented Nov 15, 2026

Copy link
Copy Markdown
Collaborator

Deleting a child of INBOX (INBOX/Receipts) left it among INBOX's folders: it came back in LIST once the folder cache was built again, and INBOX kept \HasChildren. The parent is now INBOX itself, except where the personal namespace is INBOX., whose mailboxes are the namespace's.

Found by Inbox Classic's UI tests. A test in test/delete.test.ts covers it.

🤖 Generated with Claude Code

A child of INBOX (INBOX/Receipts) was looked for under the namespace's root, so it stayed among INBOX's folders, came
back in LIST once the folder cache was built again, and kept INBOX \HasChildren. The namespace's root is the parent only
where the personal namespace is "INBOX." itself.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@andris9
andris9 merged commit 3d036ac into master Nov 15, 2026
14 of 15 checks passed
@andris9
andris9 deleted the fix/delete-inbox-child branch November 15, 2026 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant