sepehr 640fcb26f7 fix: improve note interactions and markdown LaTeX support
## Bug Fixes

### Note Card Actions
- Fix broken size change functionality (missing state declaration)
- Implement React 19 useOptimistic for instant UI feedback
- Add startTransition for non-blocking updates
- Ensure smooth animations without page refresh
- All note actions now work: pin, archive, color, size, checklist

### Markdown LaTeX Rendering
- Add remark-math and rehype-katex plugins
- Support inline equations with dollar sign syntax
- Support block equations with double dollar sign syntax
- Import KaTeX CSS for proper styling
- Equations now render correctly instead of showing raw LaTeX

## Technical Details

- Replace undefined currentNote references with optimistic state
- Add optimistic updates before server actions for instant feedback
- Use router.refresh() in transitions for smart cache invalidation
- Install remark-math, rehype-katex, and katex packages

## Testing

- Build passes successfully with no TypeScript errors
- Dev server hot-reloads changes correctly
2026-01-09 22:13:49 +01:00

56 lines
1.7 KiB
YAML

# generated: 2026-01-08
# project: Keep
# project_key: keep
# tracking_system: file-system
# story_location: _bmad-output/implementation-artifacts
# STATUS DEFINITIONS:
# ==================
# Epic Status:
# - backlog: Epic not yet started
# - in-progress: Epic actively being worked on
# - done: All stories in epic completed
#
# Story Status:
# - backlog: Story only exists in epic file
# - ready-for-dev: Story file created in stories folder
# - in-progress: Developer actively working on implementation
# - review: Ready for code review (via Dev's code-review workflow)
# - done: Story completed
generated: 2026-01-08
project: Keep
project_key: keep
tracking_system: file-system
story_location: _bmad-output/implementation-artifacts
development_status:
epic-1: done
1-1-mise-en-place-de-l-infrastructure-muuri: done
1-2-drag-and-drop-fluide-et-persistant: done
1-3-robustesse-du-layout-avec-resizeobserver: done
epic-1-retrospective: done
epic-2: in-progress
2-1-infrastructure-ia-abstraction-provider: done
2-2-analyse-et-suggestions-de-tags-en-temps-reel: done
2-3-validation-des-suggestions-par-l-utilisateur: backlog
epic-2-retrospective: optional
epic-3: in-progress
3-1-indexation-vectorielle-automatique: done
3-2-recherche-semantique-par-intention: in-progress
3-3-vue-de-recherche-hybride: backlog
epic-3-retrospective: optional
epic-4: backlog
4-1-installation-pwa-et-manifeste: backlog
4-2-stockage-local-et-mode-offline: backlog
4-3-synchronisation-de-fond-background-sync: backlog
epic-4-retrospective: optional
epic-5: in-progress
5-1-interface-de-configuration-des-modeles: done
5-2-gestion-avancee-epinglage-archivage: backlog
5-3-support-multimedia-et-images: backlog
epic-5-retrospective: optional