apache / apache/answer

Configurable options for the "Share" option

Aperta
#1,279 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
new-feature
Lingua principale
Go
Stelle
15.7k
Fork
1.4k
Merge medio
3g 8h
PR unite (30g)
7

Descrizione

## 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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Inizia da /main/ui/src/components/Share/index.tsx, quindi esamina i pannelli Admin → Settings e Admin → Customize menzionati nell’issue per capire dove potrebbero essere collocate le opzioni configurabili. Il lavoro è completo quando è possibile configurare i nomi e gli endpoint di share, rimuovere o modificare le opzioni esistenti e supportare nuovi endpoint senza ricompilare il software.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
react, typescript
Ambito
full-stack
Tipo di issue
Funzionalità
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
30/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.