code-forge-io / code-forge-io/react-router-devtools
be able to disable colors for browser console.log
- 主要言語
- TypeScript
- スター
- 972
- フォーク
- 55
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Hi !
a little suggestion for firefox users...
Logs with colors improve readability and are therefore relevant when they appear in the server-side terminal. However, when this same code is executed on the browser side and the browser does not support colors (Firefox), the developer experience is degraded. Would it be possible to implement an option to disable colors for code written on the browser side?
[better-console-logs](https://github.com/forge42dev/react-router-devtools/blob/1b57656ec96f4fa9858242ece2a1088da3b87487/src/vite/plugin.tsx#L232)
react-router-devtools version: 1.0.5
firefox version: 133 (Linux)

コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
まず、src/vite/plugin.tsx の232行目付近にあるリンク先の better-console-logs 実装を確認し、Firefox 133 で色付きのブラウザーコンソール出力を再現します。ブラウザー側のロギングがどこで設定されているかを追跡し、オプションに期待される動作を定義します。サーバー側の色は引き続き利用可能で、ブラウザーの色は無効にできるようにします。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- typescript
- 領域
- developer-experience, tooling
- issue の種類
- 機能追加
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 38/100