Feat/specs client v0 - #630
Open
EliNoden wants to merge 7 commits into
Open
Conversation
EliNoden
force-pushed
the
feat/specs-client-v0
branch
5 times, most recently
from
July 31, 2026 09:52
eab4603 to
73e2385
Compare
EliNoden
force-pushed
the
feat/specs-client-v0
branch
4 times, most recently
from
August 11, 2026 12:54
86c6620 to
12fb9bf
Compare
New React/Vite app under tools/specs/client for browsing/managing Hub Sante schemas: sidebar nav, schema store, message detail view, shadcn UI components, ANS branding assets, Docker/nginx deploy setup.
Types, accordion primitive, field rendering, lazy-loaded route and sidebar link, squashed into one buildup commit.
EliNoden
force-pushed
the
feat/specs-client-v0
branch
from
August 11, 2026 15:00
12fb9bf to
3b94b5b
Compare
Clemsazert
requested changes
Aug 11, 2026
| type="text/css" | ||
| media="print" | ||
| /> | ||
| <title>ANS - Specs</title> |
Contributor
There was a problem hiding this comment.
"Hub Santé" plus que "ANS" ?
| @@ -0,0 +1,49 @@ | |||
| # 1. Build | |||
| FROM node:24-alpine AS builder | |||
Contributor
There was a problem hiding this comment.
| RUN pnpm build | ||
|
|
||
| # 2. Serve | ||
| FROM nginx:alpine |
Contributor
There was a problem hiding this comment.
| ENTRYPOINT ["/docker-entrypoint.sh"] | ||
|
|
||
| # Run as non-root user for better security | ||
| USER 1000 |
Contributor
There was a problem hiding this comment.
Pas nécessaire si image dhi
| <Sidebar collapsible="icon" {...props}> | ||
| <SidebarHeader> | ||
| <Link to="/"> | ||
| <img |
Contributor
There was a problem hiding this comment.
Tu peux créer un composant AssetImage qui abstrait le besoin de forger la string pour src et prend en props le nom du fichier à afficher, le alt et un number pour gérer la taille
Contributor
There was a problem hiding this comment.
Fichier duppliqué avec /public ?
| @@ -0,0 +1,269 @@ | |||
| import { useState } from "react"; | |||
Contributor
There was a problem hiding this comment.
A splitter en plusieurs modules, un par composants.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🔎 Détails
Ajout d'un nouveau service Specs, qui permet de visualiser les schemas du MDD. Gardez en tête que ceci est une v0, et que le rendu est très probablement voué à changer dans les prochaines versions.
Cette PR inclut uniquement le client en readonly, puisqu'aucune dépendance au futur serveur
🔗Ticket associé
Asana
✅ Validation