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: token details page #1501

Open
wants to merge 245 commits into
base: master
Choose a base branch
from
Open

feat: token details page #1501

wants to merge 245 commits into from

Conversation

Jaxiii
Copy link
Contributor

@Jaxiii Jaxiii commented Jun 17, 2024

Changes

Display token details upon click

Related issues

Fixes #1496

Videos
Simulator.Screen.Recording.-.iPhone.15.Pro.Max.-.2024-07-12.at.17.36.47.mp4
Android_1080x2400_420p.mp4

Checklist

  • PR is ready for review (if not, it should be a draft).
  • PR title follows Conventional Commits guidelines.
  • Screenshots/video added.
  • Tests added.
  • Self-review done.

@Merculiar Merculiar marked this pull request as ready for review December 20, 2024 16:34
@Merculiar
Copy link
Contributor

#1664
Should be merged first

@@ -0,0 +1,134 @@
// ignore_for_file: avoid-single-child-column-or-row
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why is it needed? Can you do it without row?

Copy link
Contributor

Choose a reason for hiding this comment

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

Changed

const SizedBox(height: 16),
...sortedDates.map((date) {
final transactions = data[date];
late final IList<TxCommon> sortedTxs;
Copy link
Collaborator

Choose a reason for hiding this comment

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

This looks error-prone. What if transactions == null? It will never be initialized.

Also, the whole mapping in widget looks too complex, let's extract it to logic layer – no bloc is needed but something lightweight like ChangeNotifier would make sense for preparing the data.

Copy link
Contributor

Choose a reason for hiding this comment

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

Updated

mint: Ed25519HDPublicKey.fromBase58(Token.usdc.address),
);
@PostConstruct()
void init() {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why not just mark call as @PostConstruct?

Copy link
Contributor

Choose a reason for hiding this comment

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

Updated

@Merculiar
Copy link
Contributor

Merculiar commented Jan 12, 2025

Solana beta workflow has 1 test failing, version 2.1.8 was just release without changelog currently. https://github.com/anza-xyz/agave/releases

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.

being able to view the token details page
4 participants