refactor: Improve debug panel delete handler and add debug endpoint

- Refactored UserMenu debug panel delete handler to match ThoughtGalaxy pattern
- Added proper error handling with Mantine notifications
- Added loading state management during delete operations
- Created /api/nodes/debug endpoint for development debugging
- Cleaned up debug logging from DELETE endpoint

The debug panel now uses the same delete pattern as ThoughtGalaxy for consistency,
with proper error notifications and state updates.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-11-10 02:32:34 +00:00
parent 63c955c848
commit d072b71eec
4 changed files with 205 additions and 6 deletions

14
todo.md
View File

@@ -6,11 +6,15 @@ Upcoming items that should be implemented (time-permitting):
playwright mcp testing as well as that of magnitude
- ADD MAGNITUDE TESTS FOR EVERYTHING, both existing and new additions
- stream the AI output to deepgram for faster synthesis
- fix the freaking galaxy node clicking -- when going directly to a node ID
link, it redirects to /chat; when clicking on a node in /galaxy (either
general or on a specific node ID url there), it closes the modal automatically
- dark mode/light mode favicon and overall app theme
- dark mode/light mode favicon
- fix the double border on desktop between sidebar and conversation actions UI
- delete "backup"/"old" page.tsx files
- allow ai to transition to edit in chat
- why wait for three nodes before umap?
- fix creation/display of node links
- render markdown
- fix the "new tables being created instead of adding to the proper table"
issues we're having with the other tables like we were having with the node
table and we're now having with at least the oauth session, oauth state, and
user tabless; it's probably happening with the link_to table as well but that
one doesn't have data because it seems like link creation is broken (see task
above to fix)