104 lines
4.6 KiB
Markdown
104 lines
4.6 KiB
Markdown
# Palette de blocs – Todo list
|
||
|
||
## Légende
|
||
|
||
- [x] Tâche complétée (bloc pleinement fonctionnel)
|
||
- [ ] Tâche non complétée ou partielle (implémentation de base ou non implémentée)
|
||
|
||
---
|
||
|
||
## 1. Blocs 100 % fonctionnels
|
||
|
||
Ces blocs sont disponibles dans la palette `/`, ont un `BlockType` dédié, un composant associé dans le `BlockHostComponent` et des `default props` dans `DocumentService`.
|
||
|
||
- [x] Heading 1 — `heading-1` (type : `heading`)
|
||
- [x] Heading 2 — `heading-2` (type : `heading`)
|
||
- [x] Heading 3 — `heading-3` (type : `heading`)
|
||
- [x] Paragraph — `paragraph` (type : `paragraph`)
|
||
|
||
- [x] Bullet List — `bullet-list` (type : `list` → items `list-item`)
|
||
- [x] Numbered List — `numbered-list` (type : `list` → items `list-item`)
|
||
- [x] Checkbox List — `checkbox-list` (type : `list` → items `list-item`)
|
||
|
||
- [x] Toggle Block — `toggle` (type : `toggle`)
|
||
- [x] Table — `table` (type : `table`)
|
||
- [x] Code — `code` (type : `code`)
|
||
- [x] Quote — `quote` (type : `quote`)
|
||
- [x] Line — `line` (type : `line`)
|
||
- [x] File — `file` (type : `file`)
|
||
|
||
- [x] Image — `image` (type : `image`)
|
||
|
||
- [x] Steps — `steps` (type : `steps`)
|
||
- [x] Hint — `hint` (type : `hint`)
|
||
- [x] Button — `button` (type : `button`)
|
||
- [x] Progress — `progress` (type : `progress`)
|
||
- [x] Dropdown — `dropdown` (type : `dropdown`)
|
||
- [x] Outline — `outline` (type : `outline`)
|
||
|
||
- [x] Collapsible Large Heading — `collapsible-large` (type : `collapsible`)
|
||
- [x] Collapsible Medium Heading — `collapsible-medium` (type : `collapsible`)
|
||
- [x] Collapsible Small Heading — `collapsible-small` (type : `collapsible`)
|
||
|
||
- [x] 2 Columns — `2-columns` (type : `columns`)
|
||
|
||
- [x] Embed (générique) — `embed` (type : `embed`)
|
||
- [x] YouTube — `embed-youtube` (type : `embed`)
|
||
- [x] Google Drive — `embed-gdrive` (type : `embed`)
|
||
- [x] Google Maps — `embed-maps` (type : `embed`)
|
||
|
||
---
|
||
|
||
## 2. Blocs implémentés de base
|
||
|
||
Ces blocs existent, sont routés côté UI et ont un comportement principal fonctionnel, mais sont encore en amélioration ou refonte.
|
||
|
||
- [ ] Kanban Board — `kanban` (type : `kanban`) *(implémentation de base, en cours d’amélioration)*
|
||
|
||
---
|
||
|
||
## 3. Blocs non implémentés (palette uniquement)
|
||
|
||
Ces entrées existent dans `PALETTE_ITEMS`, mais il n’y a pas encore de composant de bloc associé dans `BlockHostComponent`, ni de `default props` dédiés (ou comportement complet) dans `DocumentService`. À implémenter.
|
||
|
||
### 3.1. Liens / inline
|
||
|
||
- [x] Link — `link` (type : `link`) *(✅ implémenté - composant avec texte/URL, popover, modal d'édition)*
|
||
- [ ] Get Feedback — `feedback` (type : `link`) *(non implémenté, lien utilitaire palette)*
|
||
|
||
### 3.2. Audio / vidéo / médias avancés
|
||
|
||
- [ ] Audio Record — `audio-record` (type : `audio`) *(non implémenté)*
|
||
- [ ] Video Record — `video-record` (type : `video`) *(non implémenté)*
|
||
|
||
### 3.3. Web / intégrations média
|
||
|
||
- [ ] Bookmark — `bookmark` (type : `bookmark`) *(non implémenté)*
|
||
- [x] Unsplash — `unsplash` (type : `unsplash`) *(implémenté, mais manque de pagination, bug d'affichage lors de recherche)*
|
||
|
||
### 3.4. Tâches et productivité avancées
|
||
|
||
- [ ] Task List — `task-list` (type : `task-list`) *(non implémenté, liste de tâches avancée)*
|
||
- [ ] Link Page / Create — `link-page` (type : `link-page`) *(non implémenté)*
|
||
- [ ] Date — `date` (type : `date`) *(non implémenté, insertion de date inline)*
|
||
- [ ] Mention Member — `mention` (type : `mention`) *(non implémenté, mention utilisateur)*
|
||
|
||
### 3.5. Vues avancées
|
||
|
||
- [ ] Database — `database` (type : `database`) *(non implémenté, vue de données structurée)*
|
||
|
||
### 3.6. Templates
|
||
|
||
- [ ] Template – Marketing Strategy — `template-marketing-strategy` (type : `template`) *(non implémenté)*
|
||
- [ ] Template – Marketing Quarterly Planning — `template-quarterly-planning` (type : `template`) *(non implémenté)*
|
||
- [ ] Template – Content Plan — `template-content-plan` (type : `template`) *(non implémenté)*
|
||
- [ ] More Templates — `more-templates` (type : `template`) *(non implémenté, entrée de navigation vers plus de templates)*
|
||
|
||
---
|
||
|
||
## 4. Pistes d’implémentation futures
|
||
|
||
- `link`, `date`, `mention` pourraient devenir des entités inline plutôt que des blocs à part entière, avec un traitement spécifique dans l’éditeur de texte riche.
|
||
- `task-list`, `database` et les `template` nécessitent une réflexion UX plus poussée (modèles, vues, relation avec le vault / Obsidian).
|
||
- `audio`, `video`, `bookmark`, `unsplash` demanderont des intégrations côté serveur ou API supplémentaires (upload, transcodage, recherche externe).
|