- Implement backend tag tree endpoint at /tags/tree with TagTreeNode and
TagTreeResponse models
- Add frontend tag tree decryption logic and wire it into notes
decryption flow
- Fetch and decrypt tag tree in tags.tsx; integrate with tag store
- Add UI toggle for folders vs tags and update Sidebar and Header
- Remove unused SetStateAction import in SideBar - Add clearAll to
authStore to wipe state, localStorage, and reset notes - Expose
useAuthStore on window for debugging - Update notesStore.updateFolder to
return FolderTreeNode and fix recursion by using the correct child
variable