Closed theurbanforrest closed 4 years ago
For our new ThreadsList
component:
withFirebase
, withAuthentication
, and withAuthorization
to leverage firebase + local stateusers
- array of userUid's. List returns only for these users
*statuses
- array of statuses. List returns only for these statuses. When used in conjunction with users
, works like an AND statmentwithAuthorization
for logicResolved in https://github.com/theurbanforrest/olomana/commit/3039adf4214689f1897f40712492f6582076581e
Implemented new component ThreadsList
and deleted duplicative & verbose code that it now replaces
statuses
- implemented as described aboveusers
- implemented as described abovectaView
- View CTA to /thread/:uidctaEdit
- Edit CTA to /thread/:uid/edit -- only renders if you own the ThreadctaUnhide
- Unhide CTA to prompt unhide flow -- only renders if you're AdminauthUser
- Always required, given that render() errors if not presentauthUser
Minor formatting updates in https://github.com/theurbanforrest/olomana/commit/1cd4b2a17370c18c4ef9d28a0c456def70e8465e , related to this issue #23
Story
Dev: Threads in lists are starting to get unwieldy. We have many different ThreadsLists so should consolidate into a single component controlled by props
Acceptance Criteria
Consolidate all ThreadsLists into single component