Improve experience when an optional parameter is not defined on results, groups, and testcases
ClosedPublic

Authored by mprahl on Feb 8 2017, 8:50 PM.

Details

Summary
  • Use resultsdb_api that supports v2 in Docker
  • Only show a result's ref_url when it is defined
  • Display a result's note only when it is defined when in the details view
  • Only show the result's groups if it is associated with at least one group
  • Only show a groups's ref_url when it is defined
  • Only display a link to a group's associated results when it is associated with at least one result
  • Only show a testcase's ref_url when it is defined
  • Remove inconsistencies of either showing a dash or a blank space in a column for a result's property that is not defined
Test Plan

Create a testcase with no URL, create a group with no results associated with it, and create a result with just
an outcome and a testcase. From there you will notice the changes.

Diff Detail

Repository
rRSFE resultsdb_frontend
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
mprahl retitled this revision from to Improve experience when an optional parameter is not defined on results, groups, and testcases.Feb 8 2017, 8:50 PM
mprahl updated this object.
mprahl edited the test plan for this revision. (Show Details)
mprahl added reviewers: tflink, jskladan.
mprahl added a subscriber: ralph.
jskladan accepted this revision.Feb 9 2017, 2:18 AM

Like it, thanks!

This revision is now accepted and ready to land.Feb 9 2017, 2:18 AM
Closed by commit rRSFE3913b37793d3: Improve experience when an optional parameter is not defined on results, groups… (authored by Matt Prahl <mprahl@redhat.com>, committed by Josef Skladanka <jskladan@redhat.com>). · Explain WhyFeb 9 2017, 1:50 PM
This revision was automatically updated to reflect the committed changes.