Configurable options for the "Share" option

オープン
#1,279 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
30/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
react, typescript
領域
full-stack

調査の方向性

/main/ui/src/components/Share/index.tsx から始め、次に issue で言及されている Admin → Settings パネルと Admin → Customize パネルを調べて、設定可能なオプションをどこに配置できるかを理解します。Share の名前とエンドポイントを設定でき、既存のオプションを削除または変更でき、新しいエンドポイントをソフトウェアの再ビルドなしでサポートできれば完了です。

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

説明

new-feature

Issue

Currently the "Share" option is hardcoded (in /main/ui/src/components/Share/index.tsx) to offer options of link copy, facebook, twitter, or system share. This seems very inflexible, and a number of use cases could all benefit from having the share options being configurable.

Use cases

  1. Corporate intranet deployments of Answer, where sharing to external sites is not allowable or should be discouraged. In these use cases, removal of some/all sharing options might be preferred.
  2. Changes in the sharing landscape. For example, "Twitter" is now "X", and that shouldn't require a software rebuild to accommodate.
  3. Support for new options. For example, Adding BlueSky, or other new / up and coming sharing sites.

Suggested solution

Make the sharing options (names and endpoints) configurable in either the Admin -> Settings or Admin -> Customize panels. Might require a two step solution, where one step is configuring the name and endpoint, and the other step is the ability to define a new / non-standard endpoint that can be referenced.

主要言語
Go
スター
15.7k
フォーク
1.4k
平均マージ
9日 6時間
マージ済み PR(30日)
8

環境構築

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

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

apache/answer のほかの issue

apache/answer の issue をすべて見る

似ている issue

Go の issue をもっと見る

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

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