Request: Allow apps to programmatically update app settings

Aperta
#286 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
42/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
typescript

Direzione di ricerca

Start by comparing how app settings are handled on the developers.reddit.com app settings page and through the Devvit CLI, then trace the existing public API surface for an appropriate entry point. The issue names reddit.setSetting() as a possible interface but no files or tests. Done means apps can programmatically update settings and preserve or transform prior values as described.

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

Descrizione

Currently, app settings can only be updated in one of two ways: Either by using the app settings page on developers.reddit.com, or by using the Devvit CLI. I think it would be very useful to be able to update app settings programatically, via a function such as reddit.setSetting() or some similar name.

An example of how this could be very beneficial is: Let's say one of my Mod Tools app's settings is a boolean value and I want to change it to a select, to give the user/mod more options. Ideally, I'd like to base the default value of that select setting on the previous value of the boolean setting, so that when the app is updated, it doesn't break the workflow for mods.

Lingua principale
TypeScript
Stelle
210
Fork
88
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di reddit/devvit

Tutte le issue di reddit/devvit

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.