Skip to content

feat!(datagouv-components): explode DatasetInformationPanel into multiple components#912

Open
ThibaudDauce wants to merge 5 commits intomainfrom
extract_dataset_information_to_datagouv_components
Open

feat!(datagouv-components): explode DatasetInformationPanel into multiple components#912
ThibaudDauce wants to merge 5 commits intomainfrom
extract_dataset_information_to_datagouv_components

Conversation

@ThibaudDauce
Copy link
Contributor

@ThibaudDauce ThibaudDauce commented Feb 3, 2026

Fix #744

  • Explode DatasetInformationPanel into multiple components (see usage in pages/datasets/[did]/informations.vue):
    • DatasetInformationSection
    • DatasetTemporalitySection
    • DatasetSpatialSection
    • DatasetSchemaSection
    • DatasetEmbedSection
    • ExtraAccordion
  • Allow passing extra DescriptionListTerm and DescriptionListDetails in default slot
  • Delete old DatasetInformationPanel

You need to have access to a DatasetV2WithFullObject. Retrieve this version by adding the header X-Get-Datasets-Full-Objects: True to the request: GET /api/2/datasets/{id}/

Need to add schema to the config:

  schemasSiteUrl: runtimeConfig.public.schemasSite.url,
  schemasSiteName: runtimeConfig.public.schemasSite.name,

Copy link
Contributor

Choose a reason for hiding this comment

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

What is the goal of this file ?

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.

Couverture temporelle manquante dans le datagouv-components

2 participants