patternfly / patternfly/patternfly-react
Code Editor - loading resources from jsdeliver
まだ誰も着手していません。
- 主要言語
- TypeScript
- スター
- 862
- フォーク
- 392
- 平均マージ
- 4日 8時間
- マージ済み PR(30日)
- 9
説明
Is this a new component or an extension of an existing one?
The code editor is loading resources via jsdeliver, this conflicts with strict Content-Security-Policy (CSP) settings, causing errors and forcing users to relax their security policies (e.g., allowing 'unsafe-inline', 'unsafe-eval', and worker-src blob:), which weakens security
Describe the feature
Would it be possible to package all these resources into the local bundle instead?
Are there visuals for this feature? If applicable, please include examples for each state and for varying widths
Any other information?
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
Issue ではソースファイルやテストが特定されていません。まず、コードエディターのリソース読み込みのエントリーポイントと bundler の設定を見つけ、次にどのリソースが jsdelivr から取得されているかを追跡してください。指定された厳格な CSP 設定の下で、これらのポリシー緩和を必要とせずにリソースがローカルバンドルから提供され、エディターが動作すれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- react, typescript
- 領域
- frontend, security
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100