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

Ux/tokens - create tokens (without metaplex meta data) #123

Merged
merged 33 commits into from
Jul 13, 2022
Merged

Conversation

SvenDowideit
Copy link
Member

@SvenDowideit SvenDowideit commented May 11, 2022

closes #63
closes #114

kinda requires #79 and #82

@SvenDowideit SvenDowideit added this to the 0.4.0 milestone May 11, 2022
@SvenDowideit SvenDowideit changed the title Ux/tokens [nomergy] Ux/tokens May 11, 2022
@SvenDowideit SvenDowideit self-assigned this May 11, 2022
@SvenDowideit SvenDowideit changed the title [nomergy] Ux/tokens [nomergy] Ux/tokens - create tokens (without metaplex meta data) Jun 12, 2022
@nathanleclaire
Copy link
Contributor

nathanleclaire commented Jun 13, 2022

So here's a thought -- for the metaplex stuff -- we could bundle https://github.com/metaplex-foundation/amman in the container and use it to start the validator instead of the direct solana-test-validator command we use today... Amman can be configured to pull down programs from mainnet and caches them locally, so we could use a volume for that stateful bit ...

Only possible issue is I don't see any direct way to use --no-bpf-jit which was needed for me to get the validator to play nice in Docker (edit: and recently directly on M1 for some reason, although it worked before)

SvenDowideit and others added 6 commits July 1, 2022 12:21
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
* fix the weird shims problems

* add vite-plugin-checker
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
f
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
@nathanleclaire
Copy link
Contributor

#161

Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
@SvenDowideit
Copy link
Member Author

its useable, I'm thinking to merge and then fix soon

image

@SvenDowideit SvenDowideit changed the title [nomergy] Ux/tokens - create tokens (without metaplex meta data) Ux/tokens - create tokens (without metaplex meta data) Jul 11, 2022
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
@nathanleclaire
Copy link
Contributor

nathanleclaire commented Jul 12, 2022

Definitely some stuff I want to clean up on this before we merge it, since it's breaking existing functionality, sort of -- will post some comments as well as general UI feedback

@nathanleclaire
Copy link
Contributor

Clicking around on accounts now feels confusing to me -- they take longer to load up and it feels mushy, like I'm not sure what I'm really looking at. Can we speed it up or maybe at least add a loading spinner?

accountlag.mov

Alternatively -- do we need to embed the associated mints etc in the account view at all? Token accounts, sure, but mints have their own tab no? (or they could be pinned if user wanted to look at them in account view)

@nathanleclaire
Copy link
Contributor

Screen Shot 2022-07-11 at 6 21 18 PM

I get this unable to find account error, not sure what's causing it but it seems unique to token PR

@nathanleclaire
Copy link
Contributor

Why the duplicated Data field?
image

@nathanleclaire
Copy link
Contributor

The two columns here was kinda confusing, could you maybe hide the content of the second pane if there are no mints detected, and say something like "Token mints will appear here once created"?

image

@nathanleclaire
Copy link
Contributor

Since we know this is a wallet, should we hide the Data field? It won't ever be set
image

(Come to think of it, we should probably do this in account view too)

@nathanleclaire
Copy link
Contributor

Maybe we want to put just this section in there vs. the whole thing? It's the highest information bit

image

@nathanleclaire
Copy link
Contributor

Lots of duplication of the same stuff, not clear to me where to click to do what -- can we reduce this to one clear way to edit metadata? same w/ airdrops, transfer sol, etc

image

Probably take out the ability to create the mints from the Account view if we're going to have a separate page for it? (I like separate page) That would hopefully simplify integrating this into the Account view a bit

@nathanleclaire
Copy link
Contributor

Also, I didn't even realize the gray buttons were disabled tbh. Maybe throw cursor: none; on there to make it more clear, and add some opacity?

Cleaning up Account view is really the main thing I want to get this merged! Other stuff, I'm just scribbling down to track. Cool stuff.

@SvenDowideit
Copy link
Member Author

nice! lots of things that were "yeah, need to get to that" that got lost in the haze of making it work.

fun fact - the token page is actually just two AccountView's - one of the user's electron wallet adapter, and the other of the "selected mint".

personally, i find that page redundant, and I use the programchanges for all the token actions - but fixes to one, carry on to the other :)

and the real kicker - the delay in loading the Account View - exactly - that's the data lifecycle thing I was talking about being the main thing I'll work on for the week - and yeah, the AccountView subcomponents need some kind of spinner UX - cos eventually, finding out the list of ATA's takes longer than the user likes.

(and a solid nope to removing the mint bits from AccountView - i needs it! :p)

@SvenDowideit
Copy link
Member Author

ok, lots of issues created for all that, i'm going to merge, so i can fix them in smaller chunks without losing what the change was for on squash-merge :)

@SvenDowideit SvenDowideit merged commit ddb4d97 into main Jul 13, 2022
@SvenDowideit SvenDowideit deleted the UX/tokens branch July 13, 2022 01:08
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.

AccountView Token support Create local tokens and NFTs
3 participants