feat: icon-only toolbar, versioning fixes, history modal, PanelRight repositioning

- Toolbar: remove text labels from all icon buttons (AI, Save, Preview, Convert)
  all buttons now icon-only with title tooltip for accessibility
- Toolbar: reposition PanelRight (info panel toggle) to far right after three-dot menu
- Versioning: decouple getNoteHistory/restoreNoteVersion from global userAISettings.noteHistory
  now checks note.historyEnabled directly — unblocks manual per-note history
- Versioning: add 'Sauvegarder cette version' button in Versions tab of info panel
  calls commitNoteHistory with visual feedback (spinner → success state)
- note-document-info-panel: import commitNoteHistory, add isSavingVersion state
- notes.ts: fix double guard that silently blocked all history operations
This commit is contained in:
Antigravity
2026-05-09 07:28:03 +00:00
parent 574c8b3166
commit 97b08e5d0b
65 changed files with 2991 additions and 2296 deletions

10
.claude/settings.json Normal file
View File

@@ -0,0 +1,10 @@
{
"permissions": {
"allow": [
"Bash(npm run *)",
"Bash(curl -s http://localhost:3000)",
"Bash(curl -s -o /dev/null -w \"%{http_code}\" http://localhost:3000/)",
"Bash(kill 3309513)"
]
}
}

View File

@@ -24,7 +24,14 @@
"Bash(do python3 -c \"import json; json.load\\(open\\(''$f''\\)\\)\")",
"Bash(done)",
"Bash(npx prisma generate)",
"Bash(git add:*)"
"Bash(git add:*)",
"Bash(npm list *)",
"Bash(git commit -m ' *)",
"Bash(git push *)",
"mcp__zai-mcp-server__analyze_image",
"Bash(npx prisma *)",
"Bash(xargs -I{} ls {})",
"Bash(node_modules/.bin/tsc --noEmit)"
]
}
}