Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: show payload CIDs in UI #1722

Merged
merged 3 commits into from
Sep 28, 2023
Merged

feat: show payload CIDs in UI #1722

merged 3 commits into from
Sep 28, 2023

Conversation

LexLuthr
Copy link
Collaborator

Fixes #1717
This PR handles the following:

  1. Create a new GQL resolver to get list of all payload CIDs for a piece CID
  2. Display the above list in UI
  3. Fixes the error return for payload CIDs and index entries
Screenshot 2023-09-27 at 7 04 31 PM Screenshot 2023-09-27 at 7 25 52 PM
  1. Fixes a small bug in devnet script to allow LID to retain data across restarts
  2. Removed RC container in docker devnet as the image used is not suitable for MacOS.

The new UI looks Like below:

When searched using payload CID

Screenshot 2023-09-27 at 7 18 25 PM

When searched using piece CID

Screenshot 2023-09-27 at 7 18 09 PM

New section with payload CID list

Screenshot 2023-09-27 at 6 17 19 PM

Error is displayed within the modal

Screenshot 2023-09-27 at 7 25 16 PM

Copy link
Contributor

@dirkmc dirkmc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, nice work! 🙌

Also love the PR description 🤩

react/src/LID.js Outdated Show resolved Hide resolved
@LexLuthr LexLuthr merged commit 4a991a1 into main Sep 28, 2023
1 check passed
@LexLuthr LexLuthr deleted the feat/lid-ui-payload branch September 28, 2023 12:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Piece Doctor web UI: Add page to list payload cids in a piece
2 participants