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

[explorer] adds Preview Cards #1155

Merged
merged 31 commits into from
Apr 21, 2022
Merged

[explorer] adds Preview Cards #1155

merged 31 commits into from
Apr 21, 2022

Conversation

apburnie
Copy link
Contributor

Both Addresses and Objects and own a list of objects. These 'Owned Objects' are currently displayed as a list of object IDs. This PR replaces this string list with a series of clickable cards that gives a preview of what the object represents.

@apburnie apburnie force-pushed the explorer-previewcards branch from bc37060 to 33421ea Compare March 31, 2022 13:13
@apburnie apburnie marked this pull request as ready for review April 4, 2022 10:10
@apburnie apburnie requested a review from Clay-Mysten as a code owner April 4, 2022 10:23
@apburnie
Copy link
Contributor Author

apburnie commented Apr 4, 2022

This PR is now ready for review.

Example Views to Help the Review Process

Particularly useful UIs to take a look at (after running npm start):

Next Steps

The following are additional pieces of functionality which could be approached in separate PRs or included within this MR depending on reviewer feedback:

  • Adding a search function to enable the user to search across owned objects.
  • Adding an accordion function to collapse different categories of owned object.
  • Showing the hierarchy of ownership, e.g. what objects are owned by the owned objects. @oxade mentioned that changes were being made to the API to simplify the extraction of grandchildren data. Perhaps this issue should be approached when we have such backend data?

@apburnie
Copy link
Contributor Author

apburnie commented Apr 4, 2022

@bwann52 --> the approval of this PR will close #1185.

Copy link
Contributor

@Clay-Mysten Clay-Mysten left a comment

Choose a reason for hiding this comment

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

Markdown looks good with fixes to one sentence.

explorer/client/README.md Outdated Show resolved Hide resolved
Copy link
Contributor

@Clay-Mysten Clay-Mysten left a comment

Choose a reason for hiding this comment

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

Great catch, Andrew! Thank you!

Copy link
Contributor

@Clay-Mysten Clay-Mysten left a comment

Choose a reason for hiding this comment

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

Thanks, Andrew!

@bholc646 bholc646 removed the explorer label Apr 6, 2022
@bwann52 bwann52 assigned bwann52 and apburnie and unassigned bwann52 Apr 6, 2022
Copy link
Contributor

@stella3d stella3d left a comment

Choose a reason for hiding this comment

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

Some minor changes to make but this looks great overall!

@apburnie
Copy link
Contributor Author

apburnie commented Apr 7, 2022

Following a Slack Discussion with Stella, I've also removed the placeholder blank space for Preview Cards with no text. This and some chiselling at the padding spaces has enabled 3 Preview Cards per row. This means that on a Desktop Computer, when viewing Preview Cards with no text, you can see 12 Preview Cards on the one screen.

So on a reasonably small Surface Pro screen, you'll see:

image

On a 24" display, you'll see:

image

@apburnie apburnie requested a review from stella3d April 7, 2022 14:21
@apburnie apburnie force-pushed the explorer-previewcards branch from 725c215 to d51544d Compare April 14, 2022 10:06
@apburnie apburnie requested a review from Clay-Mysten April 14, 2022 10:38
Copy link
Contributor

@Clay-Mysten Clay-Mysten left a comment

Choose a reason for hiding this comment

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

Do make sure you are coordinating with Stella as I see her iterating on similar text in #1269

@Clay-Mysten
Copy link
Contributor

Do make sure you are coordinating with Stella as I see her iterating on similar text in #1269

Ah, different files. Please disregard. Will re-review.

Copy link
Contributor

@Clay-Mysten Clay-Mysten left a comment

Choose a reason for hiding this comment

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

Thanks, Andrew!

@stella3d stella3d merged commit c104597 into main Apr 21, 2022
@stella3d stella3d deleted the explorer-previewcards branch April 21, 2022 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants