status (and error, warn?) props for connected components

Description

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?

Environment

None

Potential Workaround

None

Checklist

hide

TestRail: Results

Activity

Show:
Done

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
Loading...