You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Folders: rename and delete a custom folder from the sidebar #3
You can create a custom folder in the sidebar, but you can't rename or delete one. The server routes and the client hooks exist; nothing in the interface calls them.
What to build
A menu on each custom folder in the sidebar with Rename and Delete. Delete asks for confirmation and says what happens to the mail in the folder.
Where
app/components/mail/MailSidebar.tsx: renders the folders and imports only useCreateFolder and useFolders.
app/queries/folders.ts: useUpdateFolder and useDeleteFolder are ready to use.
Done when
A custom folder can be renamed and deleted from the sidebar, by mouse and by keyboard.
Built-in folders (Inbox, Sent, Drafts and the rest) have no such menu.
Activity