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

fix buggy refresh (patch) #950

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

Conversation

yaaax
Copy link
Collaborator

@yaaax yaaax commented Feb 10, 2025

closes #839
closes #934
closes #949

@yaaax yaaax linked an issue Feb 10, 2025 that may be closed by this pull request
@hissalht hissalht temporarily deployed to ara-948-bug-rechargemen-k85en0 February 10, 2025 15:01 Inactive
@yaaax yaaax force-pushed the 948-bug-rechargement-de-la-page-sur-le-mauvais-onglet-transverse branch from 79dd08c to 4e531ae Compare February 10, 2025 15:09
@hissalht hissalht temporarily deployed to ara-948-bug-rechargemen-k85en0 February 10, 2025 15:10 Inactive
* Each tab has its slug as a route parameter
* Default redirect to first tab
* History management between tabs
* Better scroll behavior:
  * generally try to display tabs at the top of the screen when navigating between tabs
  * remember saved positions (mimics native browser behavior)
  * Dynamic scroll margin to always scroll to the proper position
* Add a "useResizeObserver" (taken from vueuse project)
@yaaax yaaax force-pushed the 948-bug-rechargement-de-la-page-sur-le-mauvais-onglet-transverse branch from 4b9dac5 to 175258f Compare February 25, 2025 18:15
@yaaax yaaax force-pushed the 948-bug-rechargement-de-la-page-sur-le-mauvais-onglet-transverse branch from 175258f to 3d8f1bb Compare February 25, 2025 18:19
@hissalht hissalht temporarily deployed to ara-948-bug-rechargemen-ljpdxf February 26, 2025 08:49 Inactive
LayoutIcon is used on tab "Éléments transverses"
@hissalht hissalht temporarily deployed to ara-948-bug-rechargemen-ljpdxf February 26, 2025 10:19 Inactive
@benoitdequick benoitdequick changed the title fix buggy refresh (patch) (#948) fix buggy refresh (patch) Mar 3, 2025
@hissalht hissalht temporarily deployed to ara-948-bug-rechargemen-ljpdxf March 4, 2025 11:00 Inactive
@yaaax yaaax force-pushed the 948-bug-rechargement-de-la-page-sur-le-mauvais-onglet-transverse branch from 456ee58 to ea31ccd Compare March 4, 2025 14:55
@hissalht hissalht temporarily deployed to ara-948-bug-rechargemen-ljpdxf March 4, 2025 14:55 Inactive
@yaaax yaaax force-pushed the 948-bug-rechargement-de-la-page-sur-le-mauvais-onglet-transverse branch from ea31ccd to f7f5e07 Compare March 4, 2025 15:18
@hissalht hissalht temporarily deployed to ara-948-bug-rechargemen-ljpdxf March 4, 2025 15:18 Inactive
@benoitdequick benoitdequick requested review from bellangerq and hissalht and removed request for bellangerq March 4, 2025 16:20
* it simplifies the architecture as selecting a new tab always changes the route
* + Add some enums and use them to avoid using slugify to much
@yaaax yaaax force-pushed the 948-bug-rechargement-de-la-page-sur-le-mauvais-onglet-transverse branch from f7f5e07 to dd5417b Compare March 5, 2025 09:32
component: AuditGenerationPageCriteria,
componentParams: {
page: transversePage,
auditUniqueId: "uniqueId"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Utiliser la prop : props.uniqueId

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Bien sûr 🤦

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Bien sûr 🤦

component: AuditGenerationPageCriteria,
componentParams: {
page: p,
auditUniqueId: "uniqueId"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Utiliser la prop : props.uniqueId

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants