Don't rely on IDE=VSCode in querystring for behaviour
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- リファクタリング
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- dart
調査の方向性
packages/devtools_app/lib/src/shared/development_helpers.dart、packages/devtools_app/lib/src/shared/preferences/preferences.dart、packages/devtools_app/lib/src/standalone_ui/ide_shared/property_editor/property_editor_panel.dart の IDE 処理を確認してください。まず、IDE の値がクエリ文字列にどのように渡されるかを追跡し、WASM フォールバックの動作をテストしてください。VS Code、Antigravity、Cursor、その他の IDE バリアントで、アンケートフィルター、フォールバックメッセージ、プロパティエディターのドキュメントリンクが正しく機能すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
https://github.com/Dart-Code/Dart-Code/issues/5970 is a request to change the values pass in the querystring passed to DevTools to include the proper IDE name and not hard-coded values like "VSCode" (which prevents distinguishing VS Code forks using the same extension, like Antigravity or Cursor).
However, there are some places that currently assume "VSCode" here in DevTools that I think require reviewing first (or, we need to pass two values).
- Survey IDE filters
- WASM/JS fallback message
- Property editor documentation link
1. Survey IDE Filters
I don't know if this is used, but if it is, it would need to cover each of the variations of editors now. I think we could either:
- Update this comment to mention this is based on DASH__IDE_NAME and include updated examples ("Visual Studio Code", "Antigravity", "Cursor")
- Pass two values in querystring, DASH__IDE_NAME and also DASH__TOOL (or DASH__PLUGIN_NAME) which are constant across different IDE flavours using the same plugin/extension
2. WASM/JS fallback message
It controls whether to show a message if the wasm version fails. I'm not sure if this is necessary anymore, as I think there were WASM changes to not require COI? If so, this code could probably just be deleted (and if not, I think won't cause any problems). Needs testing though.
3. Property editor documentation link
If IDE is not exactly "VSCode" this will link to the Android Studio docs.
- 主要言語
- Dart
- スター
- 1.7k
- フォーク
- 405
- 平均マージ
- 4日 21時間
- マージ済み PR(30日)
- 15
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
flutter/devtools のほかの issue
-
cleanup P1
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
-
a: quality cost: low P2
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
contributions welcome cross-screen inspector-2.0-polish P2
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
cross-screen P3
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
documentation good first issue P2
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
flutter/devtools の issue をすべて見る
似ている issue
-
bug triage
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
fluttercommunity/plus_plugins#3979 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
flutter-webrtc/flutter-webrtc#2206 ·
-
from.page-issue
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
-
enhancement UI: Material
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
Notsfsssf/pixez-flutter#1360 ·
-
triage
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100