Skip to content

feat: ajout de la recherche globale de workspaces et boards (T-106) - #106

Merged
bahmez merged 4 commits into
devfrom
feature/add-search-workspaces-and-boards
Jan 22, 2026
Merged

bahmez merged 4 commits into
devfrom
feature/add-search-workspaces-and-boards

Conversation

@schekina2

Copy link
Copy Markdown
Collaborator

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 SearchDialog avec recherche en temps réel

  • Raccourci 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.tsx

  • doc/07_RECHERCHE_GLOBALE.md

  • IMPLEMENTATION_T106.md

Fichiers modifiés

  • apps/web/src/components/layout/navbar.tsx

  • packages/trpc/src/index.ts

  • apps/web/public/locales/{en,fr}/common.json

  • doc/SOMMAIRE.md + doc/06_FUTURES_TACHES.md

Tests

✅ 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)

- 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.

@bahmez bahmez left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

C'est bon pour moi

@bahmez
bahmez merged commit 85ea9b7 into dev Jan 22, 2026
1 check passed
@bahmez
bahmez deleted the feature/add-search-workspaces-and-boards branch January 22, 2026 18:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants