Insecure Content Warning Visibility Issue with long content

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

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

評価

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

調査の方向性

WordPress エディターで、安全でないコンテンツを含む長い投稿または固定ページを使って問題を再現し、その後、公開/更新フローと安全でないコンテンツの警告の表示処理を追跡します。完了条件は、公開または更新に失敗したときに、エディターが警告まで自動的にスクロールし、警告を強調表示することです。

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

説明

type:bug
Describe the bug

Description of the issue:

When a post or page contains long content and triggers an insecure content warning, the page should automatically scroll to the top and highlight the error. Currently, if a post/page with long content has insecure content, after clicking the publish/update button, the user is unable to identify the cause of the failure because the warning appears at the top of the screen, which may not be visible due to the length of the content.

https://github.com/10up/insecure-content-warning/assets/6384299/9f75d120-f36c-4f67-a059-9c35588e5ef1

Steps to Reproduce

Steps to Reproduce:

  1. Create or edit a post/page.
  2. Add a significant amount of content to the editor to make the page scrollable.
  3. Insert insecure content
  4. Click the publish/update button.
Screenshots, screen recording, code snippet

Expected Result:

The page should automatically scroll to the top and highlight the insecure content warning, making it clear to the user why the post/page is not published.

Environment information

No response

WordPress information

No response

Code of Conduct
  • I agree to follow this project's Code of Conduct
主要言語
JavaScript
スター
37
フォーク
0
平均マージ
38分
マージ済み PR(30日)
1

環境構築

はじめの一歩

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

10up/insecure-content-warning のほかの issue

10up/insecure-content-warning の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

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

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