10 Commits

Author SHA1 Message Date
mabashian
8cfe74a854 Code cleanup, renaming functions, use .all() on config promises 2019-04-26 11:02:16 -04:00
mabashian
38bb4f3f3c Fix merge conflicts 2019-04-23 13:27:00 -04:00
mabashian
5ae7cbb43a Add RBAC to org views 2019-04-23 13:19:34 -04:00
John Mitchell
ce49cb9ba4
fix config context if value passed by props not getting overwritten 2019-04-18 13:53:05 -04:00
John Mitchell
e1333f5e00
move value by prop in providers to consistent interface 2019-04-18 10:52:35 -04:00
Keith Grant
ae72d8dce5
Context test tools (#168)
* add enzyme test helper with lingui provider

* add router context to enzyme test helper

* get 18n, router, & config contexts rendering together in enzyme helper

* add config context to enzyme helpers

* add network and dialog contexts to enzymeHelpers

* convert OrganizationForm tests to use new mountWithContexts helper

* default all context value keys to default unless provided

* document use of mountWithContexts()

* fix typo in CONTRIBUTING.md

* update Organizations to use mountWithContext
2019-04-18 10:03:06 -04:00
John Mitchell
09a950570e
Update provider export syntax 2019-04-11 17:10:32 -04:00
John Mitchell
344713f938
fix unit tests for network handling 2019-04-11 10:42:33 -04:00
John Mitchell
81267c7212
update language and stylign for all warning/danger modals 2019-04-11 10:42:00 -04:00
John Mitchell
aea4a04c66
add RootDialog and Network contexts, update app bootstrapping 2019-04-11 10:34:48 -04:00