aws / aws/graph-explorer

[Task] Defer node & edge detail query for the detail side bar & search

Open
#351 0 comments 0 reactions 0 assignees View on GitHub
performance reliability
Dominant language
TypeScript
Stars
481
Forks
108
Avg merge
6d 8h
Merged PRs (30d)
5

Description

When selecting a node or edge, the sidebar should show the most up to date information or the user should have the option of refreshing the information.

## Implementation
There are two places that node/edge details are shown: search and sidebar.

Each of those should be updated to get the details when the node or edge is selected.

This means that the search queries should either be simplified to not return the properties of the result items, or the search query proactively updates the cache of each result item's properties query.

## Tasks
- [x] Use React Query to manage node details
- [x] Use React Query to manage edge details
- [ ] Update search query to not return node details
- [ ] Update expand neighbors query to not return node details
- [ ] Add button to refresh details in sidebar
- [ ] Add error UI with retry button for failures

## Related
- Parent #369

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.