-
Notifications
You must be signed in to change notification settings - Fork 3
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: Keyblock microblocks table #382
Conversation
Deployed to https://pr-382-aescan.stg.aepps.com |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
v-for="microblock in microblocks.data" | ||
:key="microblock.hash"> | ||
<td> | ||
<app-link :to="`/micro-blocks/${microblock.hash}`"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<app-link :to="`/micro-blocks/${microblock.hash}`"> | |
<app-link :to="`/microblocks/${microblock.hash}`"> |
The link is incorrect
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
I was following the visual material. No strong preference here
I was also following the visual material. Here I would prefer label as well. What do you think about those changes @danilosierrac ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks really good. Thank you for implementing it! I left one small note but I approve in advance
const { fetchKeyblockMicroblocks } = useKeyblockDetailsStore() | ||
const route = useRoute() | ||
const limit = computed(() => process.client && isDesktop() ? 10 : 3) | ||
fetchKeyblockMicroblocks({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this should be fetched on the client side only. Right now it's fetched also on server-side but the SSR doesn't wait for the response so you don't see any warnings
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, fixed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please have a look at the recent changes I suggested in the design:
- A new tab is visible called "Microblocks"
I would still use truncated hashes for consistency but I don't have a strong preference.
Ok, both adjusted |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job, thanks for the fixes 👏
Description
resolves #369
Demo
firefox_ViAWRf1ZeL.mp4
Checklist: