cvisionai / tator

Video analytics web platform
https://tator.io
GNU Affero General Public License v3.0
107 stars 34 forks source link

Indicate null value for bool-input #1366

Open marktaipan-cvisionai opened 1 year ago

marktaipan-cvisionai commented 1 year ago

Category Feature Request

Problem Currently the bool-input element has the same appearance for both a null attribute and a False attribute.

Request Make the both the Yes/No values gray, darken the inner circle, and make the circle positioned in the center when the bool attribute value is null.

marktaipan-cvisionai commented 1 year ago

Proposed visual state change and state diagram

image

vanivi commented 1 year ago

Test Procedure and Scenarios:

  1. Testing for the 'null' Value Test Steps:
    • Locate the radio button element.
    • Confirm that the attribute value is set to 'null'.

Expected Results:

  1. Testing for the 'true' or 'false' Values Test Steps:
    • Locate the radio button element.
    • Click on it to set the attribute value from 'null' to 'true' i.e. Yes
    • Click on it again to set the attribute value from 'true' to 'false' i.e. No

Expected Results for 'true':

Expected Results for 'false':

  1. Testing for Toggle Between Values Test Steps:
    • Click on the radio button to change the value from 'null' to 'true' or 'false'.
    • Observe the changes in the radio button position and color.

Expected Result: