[Bug]: Shows "Open in Zed" when the ZFS Event Daemon is installed as

オープン 初心者向け
#33,443 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

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

評価

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

調査の方向性

issue では apps/server の領域が示されていますが、ファイルやテストは指定されていません。まず、サーバーがインストール済みエディターをどのように検出し、「Open in」ボタンのデフォルトをどのように選択するかをたどり、その後、エディター検出に関する既存のテストを調べてください。PATH 上の ZFS Event Daemon が Zed として提示されず、インストール済みの Zed エディターは引き続き検出可能であれば完了です。

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

説明

bug needs-triage
Before submitting
  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.
Area

apps/server

Steps to reproduce
  1. Use Linux with ZFS installed, so zed on PATH is the ZFS Event Daemon, and with no Zed editor installed.
  2. Open a project in T3 Code.
  3. Look at the "Open in" button in the sidebar or header.
Expected behavior

Zed is only offered when the Zed editor is installed. Its availability is checked more reliably, for example by looking for zeditor or by validating zed --version output.

Actual behavior

The button reads "Open in Zed" and is the default editor. Clicking it runs the ZFS zed binary, so it doesn't open an editor.

Image

Related to #23375, but a different case: I don’t have the Zed editor or zeditor installed at all. The only zed executable on my PATH is the ZFS Event Daemon. T3 still detects it as the Zed editor and displays “Open in Zed.”

Impact

Minor bug or occasional failure

Version or commit

0.1.7

Environment

linux desktop

Logs or stack traces
none
Screenshots, recordings, or supporting files

No response

Workaround

No response

主要言語
TypeScript
スター
24.8k
フォーク
6.4k
平均マージ
8時間 26分
マージ済み PR(30日)
133

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

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

pingdotgg/t3code のほかの issue

pingdotgg/t3code の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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