0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-24 09:14:46 +01:00
posthog/frontend
Marius Andra 9cfd1969aa
Plugin order (#3100)
* fix form type

* split to enabled/disabled plugins and add empty and loading screens

* show ingestion order

* add "rearrange" button

* show alert when rearranging

* drag to sort plugins

* fixes

* move opt-out to "danger zone" in "advanced" tab

* refactor "custom" to "advanced" in the code

* rename to DangerZone

* start rearranging from dragging card

* show changed order

* remove extra button

* save order in the backend

* fix default config for newly installed plugins

* newly enabled plugins go to the end of the list

* mypy

* hide second "check again" button

* show code diff

* lowercase

* clarify string

* reload only if saved, add 403 status if no access, simplify dict

* set temporary order only on enabled plugins, avoiding rearranging "plugins to update" list

* simplify condition

* change empty component

* raise instead of 403
2021-01-27 17:43:27 +01:00
..
public
src Plugin order (#3100) 2021-01-27 17:43:27 +01:00