Uploaded image for project: 'stripes-connect'
  1. stripes-connect
  2. STCON-18

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

    XMLWordPrintable

Details

    • Stripes Force

    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?

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                jason Jason Skomorowski
                jason Jason Skomorowski
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Time Spent - 1 week, 1 day, 4 hours Remaining Estimate - 1 hour, 30 minutes
                    1h 30m
                    Logged:
                    Time Spent - 1 week, 1 day, 4 hours Remaining Estimate - 1 hour, 30 minutes
                    1w 1d 4h

                    TestRail: Runs

                      TestRail: Cases