Configurable options for the "Share" option
- Vorherrschende Sprache
- Go
- Sterne
- 15.7k
- Forks
- 1.4k
- Ø Merge
- 3 T. 8 Std.
- Gemergte PRs (30 T.)
- 7
Beschreibung
## 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.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
Beginne mit /main/ui/src/components/Share/index.tsx und prüfe anschließend die im Issue erwähnten Bereiche Admin → Settings und Admin → Customize, um zu verstehen, wo konfigurierbare Optionen hingehören könnten. Die Aufgabe ist abgeschlossen, wenn Share-Namen und Endpoints konfiguriert werden können, vorhandene Optionen entfernt oder geändert werden können und neue Endpoints ohne einen Neubuild der Software unterstützt werden können.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- react, typescript
- Bereich
- full-stack
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 30/100