-
-
Notifications
You must be signed in to change notification settings - Fork 586
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
OpenGraph meta tags are not rendered and when rendered, URLs are wrong #2639
Comments
I found that this bug was introduced in this commit If we remove the
|
I would like to work on this under bounty program |
They don't assign issues here, you can just start working and open a PR |
Happy to know you are gonna work on this anyway @sambhavgupta0705 👍 |
Bounty Issue's service commentText labels: @asyncapi/bounty_team |
I like to be assigned to this bounty issue and start working.! I have previous experience working with the og meta tags specifically and I believe I am suitable to do this job and ready to tackle the challenge. Thanks. Edit: https://github.com/search?q=is%3Apr+is%3Amerged+author%3Abupd+-org%3Abupd |
@bupd |
@bupd, I cannot assign the issue to you because it is Akshat Nema who submitted it for the Bounty Program, so it is him who is responsible for it (and thus is the point of contact about it.) |
@aeworxet I would like to work on this during the bounty program |
@akshatnema, and at @sambhavgupta0705's 45 merged PRs throughout the AsyncAPI Organization, except for the fact that he is an AsyncAPI Maintainer thus could have been assigned immediately after the addition of the label |
@aeworxet Assigned @sambhavgupta0705 for this issue.
Sure, I'll take care of this next time. |
Bounty Issue's Timeline
Please note that the dates given represent deadlines, not specific dates, so if the goal is reached sooner, it's better. |
Ok that's great to get to know about How this works. Maintainers > Contributors > Newbies. as mentioned in the doc. Looking forward put my time and effort to the async api. Thanks. |
@bupd |
@sambhavgupta0705 The Bounty program has been started for this quarter. Please make sure that you share your updates on this issue every week. |
Yes @akshatnema I was just busy with my exams |
Technically, @sambhavgupta0705 has time until April 12 before submission of the Draft PR. |
@JeelRajodiya can you please explain how you removed it as I am unable to see it after remove it the tags also |
Sure! please refer to the video below to see how removing the input.mp4Possible solutionRemoving the You can refer to next-i18next project setup guide, compare it with asyncAPI codebase and check if there is anything wrong with the configuration in asyncAPI codebase. One thing that differs in next-i18next setup and asyncAPI codebase is that there is no serverSideTranslations setup in asyncAPI codebase. You can start with configuring serverSideTranslations I believe it can resolve the issue. If it does not, you can follow the above mentioned procedure of comparing the configuration of asyncAPI and next-i18next. |
|
As far as I understood, if the command returns empty output means there are no meta tags, and if the command returns something means the meta tags are present. I am not sure about it. You might be right, I might be wrong. |
Got it |
Upon request of the Bounty Program Participant (@sambhavgupta0705), all remaining target dates of the Bounty Issue's Timeline are extended by two calendar weeks. Bounty Issue's Timeline Extended
Please note that the dates given represent deadlines, not specific dates, so if the goal is reached sooner, it's better.Keep in mind the responsibility for violations of the Timeline. |
Taking into account the comments in the PR and that removal of internationalization is not an option, should the reconfiguration of the |
@sambhavgupta0705 If we extend this issue to |
Well it is a hit and trial issue |
@sambhavgupta0705 Communicate with @aeworxet about new guidelines, if the issue is extended for Also @sambhavgupta0705, I would prefer to think of a way before taking a Bounty issue, as this is not a mentorship program. So you should be clear with your ways. |
Since there are clearly difficulties with this Bounty Issue, I would propose taking an incremental approach: to consider reconfiguration of the |
I presume the error is caused by improper configuration/implementation of I18nextProvider of the Next.js has its own built-in support for internationalized (i18n) routing since v10.0.0 (website uses Next.js v14.1.1) The simplest guess is that these two functionalities are conflicting and what would solve the issue is migration of the website to internal built-in Next.js' @akshatnema Do you have thoughts on this subject? |
@aeworxet I think @anshgoyalevil already explored that part in his Mentorship project last year, and there were some configuration errors. Also, we can't have built-in support of Next js inside our website, because this will lead us to have different page components for different languages. We actually decided to go with global variable and locales based i18n configuration, where this content will be rendered via useTranslation Hook and we will then have fallback mechanism for each language as well. So, I think instead of using built in configuration, we should think to use https://www.npmjs.com/package/next-i18next in place of current one. Moreover, we can think of using ssr via Netlify functions using next-on-netlify package. |
@sambhavgupta0705, if this Bounty Issue is reclassified (upgraded) to |
Yeah it will be enough but @sambhavgupta0705 do you have enough bandwidth to resolve this in 2 months? |
@sambhavgupta0705, please respond to @akshatnema's very doable proposal. |
Well can I get time for this weekend to think about this, because I don't know the exact solution for this issue and picking up this issue and dropping it later would not be good? |
@sambhavgupta0705 |
@sambhavgupta0705 |
@aeworxet I will be working on this issue for the next 2 months from now |
Sorry for the delay |
Upon the joint decision of two AsyncAPI Maintainers, one of whom is responsible for the resolution of this Bounty Issue from the AsyncAPI's side (@akshatnema) and the second one is the Bounty Program Participant (@sambhavgupta0705), this Bounty Issue is reclassified (upgraded) to Bounty Issue has been Reclassified and its Timeline Changed
Please note that the dates given represent deadlines, not specific dates, so if the goal is reached sooner, it's better.Keep in mind the responsibility for violations of the Timeline. |
@sambhavgupta0705, please provide the Draft PR. |
yes @aeworxet submitting it |
@sambhavgupta0705, please provide an update to the PR. |
@akshatnema had scheduled a call with @derberg on 2024-08-27 to clarify some final details on this Bounty Issue before merging #3111. |
Response, critical for technical resolution of this Bounty Issue (clarification on implementation) was delayed for one period of three consecutive working days so all remaining target dates of the Bounty Issue's Timeline are extended by two calendar weeks. Bounty Issue's Timeline Extended
Please note that the dates given represent deadlines, not specific dates, so if the goal is reached sooner, it's better.Keep in mind the responsibility for violations of the Timeline. |
@akshatnema |
Hey @aeworxet this issue is now resolved ✅ |
Bounty Issue Completed 🎉@sambhavgupta0705, please go to the AsyncAPI page on Open Collective and submit an invoice for |
Yeahhhhh🎉🫶🏻 |
Describe the bug
Open Graph meta tags are not rendered whenever you access the site but rather it seems it is postrendered somehow (sorry but I'm not familiar with NextJS, etc).
Additionally, once rendered, the URLs of the meta tags are pointing to
localhost:3000
How to Reproduce
curl --stderr - https://www.asyncapi.com | grep "og\|twitter"
looks the meta tags into the first rendered version. The output is empty.meta
tags.You can additionally test the Open Graph metas via https://www.opengraph.xyz/url/https%3A%2F%2Fwww.asyncapi.com
Expected behavior
The text was updated successfully, but these errors were encountered: