Skip to content

feat(portal): show source data update date on application page#88

Draft
BatLeDev wants to merge 2 commits into
masterfrom
feat-app-data-update-date
Draft

feat(portal): show source data update date on application page#88
BatLeDev wants to merge 2 commits into
masterfrom
feat-app-data-update-date

Conversation

@BatLeDev

@BatLeDev BatLeDev commented Jun 26, 2026

Copy link
Copy Markdown
Member

Show the source data's last-update date on an application's page, next to the visualization's own update date.

  • The application page computes the most recent date across its source datasets (modified, falling back to dataUpdatedAt — matching data-fair's _modified fallback) and passes it to application-metadata.
  • The updatedAt label is clarified: "Visualization updated at" vs the new "Data updated at".
  • Fixes dataset-metadata, which displayed today's date when a dataset had no update date: it now falls back to updatedAt and uses a generic "Last update" label in that case.

Heads-up: the existing updatedAt label text changes ("Updated at" → "Visualization updated at") and dataset-metadata's display logic is modified — it's a shared component, so check the dataset pages too.

BatLeDev added 2 commits June 26, 2026 15:52
…ate date

dayjs(undefined) returns the current date, so datasets with neither
modified nor dataUpdatedAt (e.g. meta-only) silently showed today.
Fall back to the always-present updatedAt and use a generic
'last update' label when no data update date is available.
Display 'Données mises à jour le' under the owner, computed as the most
recent modified/dataUpdatedAt across the application's source datasets,
and relabel the application's own date as 'Visualisation mise à jour le'.
The line is hidden when no source dataset exposes a data update date.
@github-actions github-actions Bot added feature and removed feature labels Jun 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant