aws / aws/graph-explorer

Add all button for bundle results

Open
#1,221 0 comments 0 reactions 0 assignees View on GitHub
good first issue query editor usability
Dominant language
TypeScript
Stars
481
Forks
108
Avg merge
6d 8h
Merged PRs (30d)
5

Description

When a user query results in a bundle that contains graphable entities it would be nice to have an "Add all to graph" button on the bundle. So if the bundle contained an edge and two vertices it would add all of those in one click.

Image

## Requirements

* Do not show the add all button when no graphable entities are within the bundle
* When a subset of bundle entities are added
* The button should be an add button
* When clicked it adds the remaining entities
* When all entities are added to the graph already
* The button should be a remove all button
* When clicked it should remove all entities from the graph that are in the bundle

Contributor guide

Open the contributing guide

Research direction

Start at the bundle results UI entry point and trace the existing controls that add graphable entities to the graph. Verify behavior with bundles containing edges and vertices: hide the control when none are graphable, add only remaining entities for partial bundles, and remove all bundle entities when they are already present.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.