Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Legger til mulighet for å hente ut htmltitle og htmlintroduction #433

Merged
merged 4 commits into from
Feb 27, 2024

Conversation

gunnarvelle
Copy link
Member

Add htmlTitle to article to be able to render. Use htmlIntroduction

@gunnarvelle gunnarvelle requested review from a team February 8, 2024 13:13
@Jonas-C
Copy link
Contributor

Jonas-C commented Feb 8, 2024

Burde vi samkjøre dette med backend og frontend, kanskje?

@gunnarvelle
Copy link
Member Author

Backend har støtte for dette, og det er vel berre en fordel at vi legger til dette i frontend tidlig?

@gunnarvelle gunnarvelle requested a review from a team February 26, 2024 08:43
@@ -28,6 +28,7 @@ export async function fetchLearningpaths(learningpathIds: string[], context: Con
return {
id: learningpath.id,
title: learningpath.title.title,
htmlTitle: learningpath.title.title,
Copy link
Contributor

Choose a reason for hiding this comment

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

Har vi støtte for html-tittel i stier?

Copy link
Member Author

Choose a reason for hiding this comment

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

Nei, men siden eg utvida Meta-typen måtte eg legge det til her også.

@gunnarvelle gunnarvelle requested a review from Jonas-C February 27, 2024 07:23
Copy link
Contributor

@Jonas-C Jonas-C left a comment

Choose a reason for hiding this comment

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

Stoler på deg!

@gunnarvelle gunnarvelle merged commit dc7ba32 into master Feb 27, 2024
3 checks passed
@gunnarvelle gunnarvelle deleted the htmlTitle branch February 27, 2024 11:17
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