Repository navigation
feat: ajout de la recherche globale de workspaces et boards (T-106) - #106
Merged
Merged
Conversation
- Added i18next for multi-language support, enabling French and English localization. - Created language switcher component for dynamic language selection. - Updated various components and pages to utilize translations for improved user experience. - Introduced locale files for English and French with common phrases and UI text. - Enhanced layout components to accommodate language changes seamlessly.
…ns and context management - Expanded language support by integrating a new i18n context for managing language state and translations. - Added comprehensive translations for various components and pages in both English and French. - Updated existing components to utilize the new translation hooks, improving user experience across the application. - Introduced a detailed documentation file outlining the i18n setup and usage for future reference.
- Added a new search feature in the navbar to allow users to search for workspaces and boards. - Integrated search functionality in the backend to filter workspaces and boards based on user input. - Updated English and French locale files with new search-related text for improved user experience. - Enhanced documentation to include new search capabilities and usage instructions.
…ling - Added new search-related text in English and French locales for improved user experience. - Updated the search dialog component to utilize translation hooks for dynamic text rendering. - Implemented result selection handling to navigate to workspaces or boards based on user selection. - Improved accessibility and usability of the search dialog with clear action prompts and result counts.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Résumé
Implémentation d'une recherche globale permettant de trouver rapidement des workspaces et boards via le raccourci clavier Cmd+K / Ctrl+K.
Fonctionnalités
Frontend
Composant
SearchDialogavec recherche en temps réelRaccourci clavier Cmd+K / Ctrl+K
Recherche debounced (300ms)
Navigation au clavier (↑↓ Enter Esc)
Distinction visuelle workspaces/boards (icônes + badges)
Interface responsive et internationalisée (FR/EN)
Backend
Procédure tRPC
search.all(query, limit?)Filtrage basé sur les permissions utilisateur
Limite de résultats configurable (max 50)
Modifications
Nouveaux fichiers
apps/web/src/components/layout/search-dialog.tsxdoc/07_RECHERCHE_GLOBALE.mdIMPLEMENTATION_T106.mdFichiers modifiés
apps/web/src/components/layout/navbar.tsxpackages/trpc/src/index.tsapps/web/public/locales/{en,fr}/common.jsondoc/SOMMAIRE.md+doc/06_FUTURES_TACHES.mdTests
✅ Lint, typecheck, build et tests (108 tests) passent avec succès
Corrections CI appliquées
Ajout des dépendances dans les hooks React
Échappement des caractères spéciaux en JSX
Résolution des problèmes de déclaration TypeScript
Sécurité
Filtrage par permissions (utilisateurs voient uniquement leurs ressources)
Validation des requêtes (1-200 caractères)
Limitation des résultats (max 50)