Skip to content

🗺️ Change map#1192

Open
BmnQuentin wants to merge 13 commits intodevfrom
change-map
Open

🗺️ Change map#1192
BmnQuentin wants to merge 13 commits intodevfrom
change-map

Conversation

@BmnQuentin
Copy link
Copy Markdown
Collaborator

No description provided.

@BmnQuentin BmnQuentin marked this pull request as ready for review April 27, 2026 15:38
Comment thread src/app/(authenticated)/structures/page.tsx Outdated
Comment thread src/app/components/map/Map.tsx Outdated
Comment thread src/app/components/map/StructureMarker.tsx Outdated
Comment thread src/app/components/map/MapContext.tsx Outdated
Comment thread src/app/components/map/MapContext.tsx Outdated
Comment thread src/constants.ts Outdated
Comment thread src/app/components/map/Map.tsx Outdated
Copy link
Copy Markdown
Collaborator

@florianpanchout florianpanchout left a comment

Choose a reason for hiding this comment

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

Ce serait cool d'en profiter pour rajouter des tests sur cette partie de l'app

return (
<div className="h-full w-full flex flex-col bg-alt-grey">
<div className="flex gap-2 px-6 border-b border-b-border-default-grey min-h-[4.35rem] justify-between items-center sticky top-0 bg-lifted-grey z-10">
<SegmentedControl
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Il faut lui donner une valeur par défaut sinon il va toujours afficher tableau au chargement même si on a #carte

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

J'ai un peu galéré et finalement avec Claude on aconvergé vers quelque chose qui affecte tout segmented control (et donc aussi le finance switch). Ca tourne bien, je te laisse me dire si ok pour toi !

Copy link
Copy Markdown
Collaborator

@florianpanchout florianpanchout left a comment

Choose a reason for hiding this comment

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

Et j'ai un problème de largeur du menu différent entre la carte et le tableau. Je pense qu'il faudrait ajouter un shrink-0 sur le Menu

createdMap.once("remove", () => cleanupInteractions());
});

const resizeObserver = new ResizeObserver(() => createdMap.resize());
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