Skip to content

Feat/specs client v0 - #630

Open
EliNoden wants to merge 7 commits into
mainfrom
feat/specs-client-v0
Open

Feat/specs client v0#630
EliNoden wants to merge 7 commits into
mainfrom
feat/specs-client-v0

Conversation

@EliNoden

@EliNoden EliNoden commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

🔎 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

image image image

@EliNoden
EliNoden force-pushed the feat/specs-client-v0 branch 5 times, most recently from eab4603 to 73e2385 Compare July 31, 2026 09:52
@EliNoden EliNoden closed this Jul 31, 2026
@EliNoden EliNoden reopened this Jul 31, 2026
@EliNoden
EliNoden force-pushed the feat/specs-client-v0 branch 4 times, most recently from 86c6620 to 12fb9bf Compare August 11, 2026 12:54
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
EliNoden force-pushed the feat/specs-client-v0 branch from 12fb9bf to 3b94b5b Compare August 11, 2026 15:00
type="text/css"
media="print"
/>
<title>ANS - Specs</title>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

"Hub Santé" plus que "ANS" ?

@@ -0,0 +1,49 @@
# 1. Build
FROM node:24-alpine AS builder

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

RUN pnpm build

# 2. Serve
FROM nginx:alpine

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

ENTRYPOINT ["/docker-entrypoint.sh"]

# Run as non-root user for better security
USER 1000

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pas nécessaire si image dhi

<Sidebar collapsible="icon" {...props}>
<SidebarHeader>
<Link to="/">
<img

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Fichier duppliqué avec /public ?

@@ -0,0 +1,269 @@
import { useState } from "react";

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

A splitter en plusieurs modules, un par composants.

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