useYoastHTML - some fields don't update when navigating between pages

オープン
#699 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
next.js, typescript, wordpress
領域
frontend, web-dev

調査の方向性

Headless アプリコンポーネントと useYoastHTML オプションから始め、ブラウザーの開発者ツールで document head を調べながら内部リンクをたどって問題を再現します。タイトル以外のメタデータフィールドが、完全なリフレッシュを必要とせずに期待されるページコンテンツへ更新されれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Describe the bug

While this is an issue on my project, I have also verified that it is occurring on another project using this framework.

When passing useYoastHtml into the Headless app component, the page metadata within the document head seems to be correct, but when navigating around the site via internal links, many of the fields don't update. The title component updates, but from what I can see, other fields don't.

Steps to Reproduce
  1. Navigate to a page on a site using the useYoastHTML option and open the document head in the Elements tab of your browser dev tools.
  2. Click an internal link on the page.
  3. Notice that the title updates but nothing else in the head.
  4. Completely refresh the page and see that the head does have the expected content.
Screenshots, screen recording, code snippet

No response

Environment information

No response

WordPress information

No response

Code of Conduct
  • I agree to follow this project's Code of Conduct
主要言語
TypeScript
スター
204
フォーク
26
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

10up/headstartwp のほかの issue

10up/headstartwp の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。