-
Notifications
You must be signed in to change notification settings - Fork 4
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/frontend]: project #974
[explorer/frontend]: project #974
Conversation
@OlegMakarenko, Can this PR be broken up into smaller ones? It would be easier to review. 😄 I will try to go through this one. |
…nslation files, add more button to block preview
…TextBox component
…dd mosaic avatars
…and update pagination hooks, add mosaic list, add TransactionDirection components
…added more transaction type icons, improved ValueTransactionType component
…es under single module
5b60465
to
018deee
Compare
[explorer/frontend] fix: remove scripts with wrong permissions [explorer/frontend] fix: add scripts [explorer/frontend]: fix permission issue
5727fe4
to
bede863
Compare
bede863
to
2361e25
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## explorer-frontend/dev #974 +/- ##
=========================================================
+ Coverage 98.20% 98.40% +0.19%
=========================================================
Files 156 68 -88
Lines 6407 1564 -4843
Branches 143 253 +110
=========================================================
- Hits 6292 1539 -4753
+ Misses 115 25 -90
Flags with carried forward coverage won't be shown. Click here to find out more.
|
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 good just a few comments 👍🏾
explorer/frontend/api/blocks.js
Outdated
totalFee: data.totalFees, | ||
transactionCount: data.totalTransactions, | ||
difficulty: ((data.difficulty / Math.pow(10, 14)) * 100).toFixed(2), | ||
averageFee: data.totalTransactions ? truncateDecimals(data.totalFees / data.totalTransactions, config.NATIVE_MOSAIC_DIVISIBILITY) : 0 |
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.
What's the use case for the average fee?
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.
The average fee field was included in the finalized mockups in Figma. Its purpose was to display the average transaction fee at each time point (block height). However, for NEM, this information isn't particularly useful. I've removed the field. Thanks for pointing it out!
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 verify the @0x6861746366574 to see if it's needed before you remove it. I was just curious.
@Wayonb Thanks, I've pushed the changes. |
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.
👍🏾
Problem: There is no frontend project for NEM Explorer. Solution: - Setup Next.js project. - Add Jenkinsfile and Dockerfile. - Add lint and test configuration. - Add styles. - Add pages: 1. Home 2. Account List. 3. Account Info. 4. Block List. 5. Block Info. 6. Mosaic List. 7. Mosaic Info. 8. Namespace List. 9. Namespace Info. 10. Transaction List. 11. Transaction Info. 12. Error 404. 13. Error 500. - Add services for API communication. - Add utils. - Add reusable UI components. - Add tests.
Demo: https://nem-explorer.vercel.app/
Problem
Solution