status (and error, warn?) props for connected components
Description
Environment
None
Potential Workaround
None
blocks
Checklist
hideTestRail: Results
Activity
Show:
Done
Details
Assignee
Jason SkomorowskiJason SkomorowskiReporter
Jason SkomorowskiJason SkomorowskiPriority
P3Development Team
Stripes ForceTestRail: Cases
Open TestRail: CasesTestRail: Runs
Open TestRail: Runs
Details
Details
Assignee

Reporter

Priority
Development Team
Stripes Force
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created December 10, 2016 at 12:35 AM
Updated May 23, 2019 at 3:25 PM
Resolved May 23, 2019 at 3:25 PM
OkapiResource (and RestResource) can expose information from their HTTP responses by including an additional prop to connected components:
status
with keys for each resource.In addition to providing the response once available, it can indicate a response is still pending or has timed out. In order to highlight unusual status we could also provide
error
warn
For the mutators, I believe we pass through the promise from fetch, is that sufficient?