Commit Graph

6 Commits (1af245a6495baca7b87368d9afde2f4d00a62a72)

Author SHA1 Message Date
Andrew Watkins 1d13894f88
refactor: normalize scrapers (#16434)
* chore: only save orgs to local storage

* refactor(ui): normalize scrapers
2020-01-07 13:19:25 -08:00
Andrew Watkins c5d4632fb3
refactor: normalize telegrafs (#16420)
* refactor: normalize telegrafs

* fix: check for schema

* fix: telegraf reducer logic

* refactor: move adding defaults to processStrategy

* fix: local storage typings
2020-01-07 09:08:07 -08:00
Andrew Watkins e092e52a6f
refactor: normalization authorizations (#16406)
* chore: alphabetize root reducer

* refactor(norm): normalize authorizations (tokens)

* refactor: orgs use immer and reducer helpers

* fix: provide initial state to orgs reducer

* fix(auth): normalize auths on token creation

* fix: initial state with empty object
2020-01-06 11:24:45 -08:00
Andrew Watkins cc88a366ee
refactor(ui): normalization of buckets (#16403)
* feat(norm): separate action creators and thunks

* feat(norm): wip normalize buckets

* refactor(norm): change consumption of buckets to norm shape

* test(ui/getResources): change test to accept norm shape

* test(buckets): fix runtime error

* refactor: use immer produce in members reducer
2020-01-03 14:18:49 -08:00
Andrew Watkins 9e9bb1c755
refactor(ui): normalize organizations (#16377)
* refactor(norm): normalize organizations

* chore: add junit.xml to gitignore

* test(norm): restructure tests to conform to normalized orgs

* fix: set proper org in local storage

* fix: update createTelegraf to use types

* fix: runtime error when adding telegraf configs

* fix: dashboard thunk not using new org shape

* chore: move edit org to correct place

* fix(orgs): faulty reducer logic
2020-01-02 13:03:43 -08:00
Andrew Watkins a926700965
refactor(ui): normalize member resource (#16366)
* refactor(norm): add member schema

* refactor(norm): set members

* refactor(norm): add and delete members
2019-12-31 10:43:35 -07:00