Skip to content

feat(seo): use getDescriptionShort to handle long description#878

Merged
nicolaskempf57 merged 6 commits intomainfrom
fix/meta-description
Jan 19, 2026
Merged

feat(seo): use getDescriptionShort to handle long description#878
nicolaskempf57 merged 6 commits intomainfrom
fix/meta-description

Conversation

@nicolaskempf57
Copy link
Copy Markdown
Contributor

I'm using getDescriptionShort to handle the case of a dataset without description.

I encountered a reactive issue with the previous solution that I can't reproduce anymore with this new implementation.

Copy link
Copy Markdown
Contributor

@ThibaudDauce ThibaudDauce left a comment

Choose a reason for hiding this comment

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

removeMarkdown could use processSync to avoid all these computedAsync (I don't know how it will work with the SSR?)

Comment thread datagouv-components/src/functions/datasets.ts Outdated
@nicolaskempf57
Copy link
Copy Markdown
Contributor Author

removeMarkdown could use processSync to avoid all these computedAsync (I don't know how it will work with the SSR?)

Yes ! It's on my TODO but it's a breaking change for the package so maybe we should keep a sync and async version of the function

@nicolaskempf57 nicolaskempf57 merged commit ba1524e into main Jan 19, 2026
4 checks passed
@nicolaskempf57 nicolaskempf57 deleted the fix/meta-description branch January 19, 2026 13:22
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