Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revoit la navigation entre les pages #937

Open
wants to merge 13 commits into
base: main
Choose a base branch
from

Conversation

bellangerq
Copy link
Collaborator

closes #853

@hissalht hissalht temporarily deployed to ara-853-revoir-la-navig-9zttw9 January 31, 2025 10:40 Inactive
@hissalht hissalht temporarily deployed to ara-853-revoir-la-navig-9zttw9 January 31, 2025 15:04 Inactive
@bellangerq bellangerq force-pushed the 853-revoir-la-navigation-tableau-de-bord-et-parcours branch from a0a950a to 345782e Compare February 5, 2025 15:55
@hissalht hissalht temporarily deployed to ara-853-revoir-la-navig-9zttw9 February 5, 2025 15:55 Inactive
@bellangerq bellangerq force-pushed the 853-revoir-la-navigation-tableau-de-bord-et-parcours branch from 345782e to 9e409ce Compare February 5, 2025 16:28
@hissalht hissalht temporarily deployed to ara-853-revoir-la-navig-9zttw9 February 5, 2025 16:29 Inactive
@hissalht hissalht temporarily deployed to ara-853-revoir-la-navig-9zttw9 February 6, 2025 10:15 Inactive
@hissalht hissalht temporarily deployed to ara-853-revoir-la-navig-9zttw9 February 6, 2025 10:40 Inactive
@bellangerq bellangerq marked this pull request as ready for review February 6, 2025 10:43
@bellangerq bellangerq requested review from hissalht and benoitdequick and removed request for hissalht February 6, 2025 10:43
@hissalht hissalht temporarily deployed to ara-853-revoir-la-navig-9zttw9 February 6, 2025 10:43 Inactive
@bellangerq bellangerq force-pushed the 853-revoir-la-navigation-tableau-de-bord-et-parcours branch from c2751d6 to c537847 Compare February 7, 2025 09:42
@hissalht hissalht temporarily deployed to ara-853-revoir-la-navig-9zttw9 February 7, 2025 09:43 Inactive
@benoitdequick
Copy link
Contributor

go 🚀

@AdrienMuzyczka
Copy link
Collaborator

AdrienMuzyczka commented Feb 10, 2025

2 remarques :

  1. Page "Audit" : le bug lié à l'utilisation des thématiques (celui qui nous a amenés à faire un revert aujourd'hui) existe sur la préproduction. Si je clique sur une ancre "thématique", la page se rafraîchit, je perds ma position et je suis repositionné dans l'onglet "Éléments transverses". Je ne sais pas s'il faut s'en inquiéter, mais je le note au cas où. Ce bug disparaît lorsqu'on utilise plusieurs fois les ancres.

  2. Page "Tableau de bord" : le niveau du bouton "Consulter" dans le bloc "Déclaration d'accessibilité" n'est pas correct lorsque la déclaration est rédigée. Le bouton devrait être tertiaire au lieu de secondaire.

@bellangerq bellangerq force-pushed the 853-revoir-la-navigation-tableau-de-bord-et-parcours branch from c537847 to 704f18e Compare February 12, 2025 09:50
@hissalht hissalht temporarily deployed to ara-853-revoir-la-navig-9zttw9 February 12, 2025 09:51 Inactive
@hissalht
Copy link
Collaborator

En mode connecté, lorsqu'on va sur le tableau de bord d'un audit qui n'est pas "à nous", il est impossible d’accéder à la page d'audit.

<div class="content">
<h1 class="fr-mb-6w">{{ audit.procedureName }}</h1>
<template v-if="isConnected">
Copy link
Collaborator

Choose a reason for hiding this comment

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

Changer la condition de is connected à is connected and owns this audit

Copy link
Collaborator

Choose a reason for hiding this comment

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

Sinon lorsqu'on est connecté, et qu'on va sur un audit pas associé avec son compte, on ne peut pas accéder à l'audit

Copy link
Collaborator Author

@bellangerq bellangerq Feb 27, 2025

Choose a reason for hiding this comment

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

Copy link
Collaborator

@hissalht hissalht Mar 5, 2025

Choose a reason for hiding this comment

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

Ah ouais t'as directement changé le code de isConnected. Je m'attendais à changer la condition directement dans le fichier.
C'est fine mais faudrait renommer isConnected je pense. Quand je lis isConnected je m'attends pas à ce qu'il y ait autre chose de checké que "est-ce que l'utilisateur est connecté"

D'ailleurs, est-ce que ça serait pas plutôt "isLoggedIn" ou "isSignedIn" ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Oui effectivement le composable check juste si on est connecté. Et j'ai bougé l'autre condition aux 2 endroits où je m'en servais.

@bellangerq bellangerq force-pushed the 853-revoir-la-navigation-tableau-de-bord-et-parcours branch from 7d002cb to 112b202 Compare March 5, 2025 14:00
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.

Revoir la navigation ("Tableau de bord” et parcours )
4 participants