Skip to content

Setting attribute is_selected doesnt seem to update UI #227

Open
@Piyush13y

Description

Describe the bug
The following screenshot can be used as a reference.
Screen Shot 2022-05-16 at 2 30 46 PM

When is_selected option is selected, the corresponding annotation is expected to be auto selected in the layout of this project for any annotated document that is uploaded. However, that doesn't seem to be the case, I still find all the annotations are unselected, which is the default state of a project document.

To Reproduce
Steps to reproduce the behavior:

  1. Upload base annotation json file to a new project
  2. Select 1 or more annotations in legendConfigs, and update their is_selected attribute to True
  3. Create the project, upload an output json file, visualize it, expected annotation is still unselected

Expected behavior
The annotation whichever has been updated should be pre selected when a json document is visualized.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions