Skip to content

Selected assets show up selected across different menus #263

@Zachary-Fernandes

Description

@Zachary-Fernandes

Describe the bug

When someone selects some assets from one menu displaying all assets of one type and then enters a menu displaying all assets of a different type, it will say there are selected assets of that type when none are currently selected in that menu.

To Reproduce

The below steps use datasets and pipelines as example asset types, but this can occur across any asset types.

Steps to reproduce the behavior:

  1. On the side bar, click "Datasets"
  2. Toward the top of the page, click "VIEW ALL DATASETS"
  3. Click the leftmost check boxes for some of the datasets
  4. Note how many assets are selected with the line "Datasets (n selected)" where n is the number of datasets selected
  5. On the side bar, click "Pipelines"
  6. Toward the top of the page, click "VIEW ALL PIPELINES"
  7. Notice the line "Pipelines (n selected)" where n is the number of datasets selected
  8. Find none of the pipelines have checked boxes to the left of them

Expected behavior

When the user switches to a different asset page, they should see zero assets of that type selected.

Screenshots

Datasets menu:

datasets

Pipelines menu:

pipelines

Metadata

Metadata

Assignees

Labels

Jump-StartWork items for Jump-Start participantsUIUser InterfacebugSomething isn't workinggood first issueGood for newcomershelp wantedExtra attention is needed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions