add info on moving widgets to noredink-ui

This commit is contained in:
Brooke 2018-08-21 14:18:33 -07:00
parent a55da83732
commit 6487908344

View File

@ -22,6 +22,14 @@ To prevent these big Yaks from suddenly showing up in seemingly trivial tasks we
We should change this process if we feel it's not working for us!
## Moving Widgets to `noredink-ui`
If you are moving in a widget from the monolith:
- Copy the contents of `Nri.SomeModule` and its tests to `Nri.Ui.SomeModule.V1` in `noredink-ui`
- Publish!
- If `Nri.Ui.SomeModule.V1` is a direct copy of `Nri.SomeModule`, switch over to it everywhere!
- If `Nri.Ui.SomeModule.V1` makes changes, rename `Nri.SomeModule` to `Nri.DEPRECATEDSomeModule` in the monolith and start using `Nri.Ui.SomeModule.V1` where you need it
## Examples
This repo contains an app showcasing all of these UI widgets.