-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: filtrage des questions en utilisant les étiquettes (#794)
## Description ### Modifications principales, dans le gabarit `lacommunaute/templates/forum_conversation/partials/topic_tags.html` 🎸 **suppression du paramètre `page=1` qui forçait le masquage de la zone de filtre** 🎸 **appel `htmx` de `TopicListView` lors du clic sur les tags, pour éviter tous les inconvénients d'un rechargement de page complet** ### Petits bonus en passant 🎸 fiabilisation des tests sur les filtres x les étiquettes 🎸 desambiguation des paramètres dans le contexte de la vue `TopicListView` 🎸 suppression de la gestion d'une liste de `Tag` dans les url (non terminé), pour n'en gérer plus qu'un seul ## Type de changement 🪲 Correction de bug (changement non cassant qui corrige un problème). 🎨 changement d'UI 🚧 technique ### Points d'attention 🦺 réécriture des tests concernés dans les commits pour améliorer la lisibilité (voir les passer en style `pytest`) 🦺 renommage des énums pour une meilleure présentation utilisateur 🦺 réécriture des tests de `ForumView` à voir ultérieurement selon les impacts de l'issue #765 ### Captures d'écran (optionnel) filtrage `ALL` ![image](https://github.com/user-attachments/assets/ae02763b-df65-45f2-b3b3-3093ba3b4fea) filtrage `ALL` x étiquette ![image](https://github.com/user-attachments/assets/7d444de3-8242-419a-b42e-286b294f4e74) filtrage `NEW` ![image](https://github.com/user-attachments/assets/614076c0-bbca-49a9-a644-f6295538efed) filtrage `NEW` x étiquette ![image](https://github.com/user-attachments/assets/1586e1e1-ed3d-47cc-9ac1-14dc28102c6a) filtrage `CERTIFIED` ![image](https://github.com/user-attachments/assets/7c44186c-551a-4c11-8808-70201b253708) filtrage `CERTIFIED` x étiquette ![image](https://github.com/user-attachments/assets/1cb8d7d1-1ff9-4edc-916d-b60c4a4c64f4)
- Loading branch information
1 parent
41237f1
commit d03847e
Showing
10 changed files
with
357 additions
and
263 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.