Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Desktop: private project home channels show no lock icon in the sidebar

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

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

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
86/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
typescript
領域
desktop

調査の方向性

desktop/src/features/channels/ui/ChannelGlyph.tsx から始めて、projectHome と private-visibility の分岐を調べます。プライベートなプロジェクトホームチャンネルのサイドバー表示を確認し、プロジェクトのマークを失わずにプライバシーが見えるよう表示を更新します。プライベートなプロジェクトホームにロックまたはプライベート用のバリアントが表示され、他のチャンネルアイコンは変更されないことが完了条件です。

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

説明

What happens

A channel created with visibility: private that is also a project's home channel shows the project icon (folder + #) in the sidebar, with no lock. Private channels that are not project homes show the lock as expected. Looking at the sidebar, you can't tell that the project channel is private.

Observed in Buzz Desktop 0.5.25 (macOS): the channel's kind 9007 create event and a later kind 9002 update both carry ["visibility","private"], and the relay membership is restricted.

Why

In desktop/src/features/channels/ui/ChannelGlyph.tsx, projectHome is checked first and returns early, so the visibility === "private" branch is never reached for project homes:

if (projectHome) {
  return <ProjectChannelIcon className={iconClass} />;
}
if (channel.visibility === "private") {
  return <Lock className={iconClass} />;
}

Suggestion

Show privacy on project homes as well, for example with a small lock badge on ProjectChannelIcon when channel.visibility === "private", or a private variant of the project icon. Privacy is the more safety-relevant signal of the two, so it shouldn't be hidden by the project mark.

主要言語
Rust
スター
35.3k
フォーク
4.7k
平均マージ
2日 21時間
マージ済み PR(30日)
197

環境構築

はじめの一歩

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

block/buzz のほかの issue

block/buzz の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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