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

feat: adds opengraph to records #1042

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

feat: adds opengraph to records #1042

wants to merge 1 commit into from

Conversation

f-necas
Copy link
Collaborator

@f-necas f-necas commented Nov 15, 2024

Description

This PR introduces OpenGraph protocol to datahub's records. A nice implmentation would be to have a default image and base title for og:title.

But it will add more default.toml conf. I tried here to keep it simple.

Screenshots

image

Quality Assurance Checklist

  • Commit history is devoid of any merge commits and readable to facilitate reviews

This work is sponsored by MEL.

@f-necas f-necas requested a review from jahow November 15, 2024 14:39
Copy link
Contributor

github-actions bot commented Nov 15, 2024

Affected libs: ``,
Affected apps: datahub,

  • 🚀 Build and deploy storybook and demo on GitHub Pages
  • 📦 Build and push affected docker images

@coveralls
Copy link

coveralls commented Nov 15, 2024

Coverage Status

coverage: 82.388% (-0.8%) from 83.209%
when pulling f14b5d2 on opengraph
into 89e0d3b on main.

Copy link
Contributor

github-actions bot commented Nov 15, 2024

📷 Screenshots are here!

Copy link
Collaborator

@jahow jahow left a comment

Choose a reason for hiding this comment

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

Thank you, very interesting feature! Could you maybe put all the meta-related features in a component in the feature/record lib? something like gn-ui-record-meta for example. Thanks!

Comment on lines +8 to +10
<meta property="og:title" content="Datahub" />
<meta property="og:type" content="website" />
<meta property="og:url" content="" />
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is this really required or will the angular code be enough to create those elements?

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.

3 participants