discourse/app/assets/javascripts/admin/addon
Ted Johansson 06a0108a52
DEV: Store selected API key scope mode in the database table (#31601)
Currently, after creating an API key, there is no way in the UI to see what scope the key has. To do this we need to first store the selected scope mode when creating a new key.

In this PR we:

- Convert scope_mode from a transient attribute to a database backed enum.
- Ship the possible values through the javascript:update_constants rake task instead of hard coding in front-end.

In follow-up PRs we will:

- Backfill existing API keys based on their associated api_key_scopes records.
- Start showing the scope mode in the UI.
2025-03-04 16:41:43 +08:00
..
adapters DEV: Move admin config pages out of /customize/ sub-route (#30511) 2025-01-02 09:13:11 +10:00
components DEV: Store selected API key scope mode in the database table (#31601) 2025-03-04 16:41:43 +08:00
controllers DEV: Add value transformer for admin reports show query params (#31597) 2025-03-04 13:33:08 +11:00
helpers DEV: Move discourse-common/(utils|lib) to discourse/lib (#30733) 2025-01-13 13:02:49 +00:00
lib DEV: Move discourse-common/(utils|lib) to discourse/lib (#30733) 2025-01-13 13:02:49 +00:00
mixins FEATURE: Initial version of experimental admin search (#31299) 2025-02-21 11:59:24 +10:00
models FEATURE: Allow a gjs initializer to be authored in local themes (#31423) 2025-02-21 09:59:41 +00:00
routes FEATURE: rebranded admin logos settings (#31554) 2025-03-04 12:51:27 +11:00
services FIX: Handle href admin sidebar links better (#31575) 2025-03-04 13:38:49 +10:00
templates FEATURE: rebranded admin logos settings (#31554) 2025-03-04 12:51:27 +11:00