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

release: nostalgic skunk #5726

Merged
merged 22 commits into from
Aug 8, 2024
Merged

release: nostalgic skunk #5726

merged 22 commits into from
Aug 8, 2024

Conversation

pete-watters
Copy link
Contributor

@pete-watters pete-watters commented Aug 2, 2024

@pete-watters pete-watters changed the title release:nostalgic skunk release: nostalgic skunk Aug 2, 2024
@314159265359879
Copy link
Contributor

314159265359879 commented Aug 2, 2024

for the next couple of days I will run this version to check it out. So far so good.

@314159265359879
Copy link
Contributor

Leather logo in extension popup is gone.
image

Looks alright in tab (maximized)
image

@markmhendrickson
Copy link
Collaborator

Let's include #5690 as well for holistic testing and release? cc @alter-eggo

@markmhendrickson
Copy link
Collaborator

@314159265359879 @DeeList can you two review various API-based flows as well to verify that headers show up as expected?

@314159265359879
Copy link
Contributor

I am not sure what this is about:
image

Tested sending assets on stacks and bitcoin. minting and listing, looks good.
I see the Leather title showing normally now.

Copy link
Contributor

@314159265359879 314159265359879 left a comment

Choose a reason for hiding this comment

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

I am not sure if the screenshot I added (that pops up when the wallet is being set up) requires immediate attention. It didn't block me on anything.

@markmhendrickson
Copy link
Collaborator

See issue with sending BRC-20 tokens from @DeeList here

@314159265359879
Copy link
Contributor

Deelist mentioned that BRC20 looked broken. But I do not see that issue he described. Going through the BRC20 send flow, I can transmit the transaction to create the transfer inscription. There is a small issue with the title here (visual) on the confirm page:
image

I also tested the send flow for the transfer inscription. Looking good too.
image

I tested this build: release/nostalgic-skunk#ac21ff8

I do notice that sending the payment for the BRC transfer through the ordinalsbot integration shows first but it doesn't show the rest of the steps after the payment has been completed. An hour after confirmation no transfer inscription has been made. Have their been any updates to this service? (this is shown, nothing after that:)
image

@markmhendrickson
Copy link
Collaborator

The app menu now appears during the wallet creation and restoration flows (which is a good enhancement) though it also contains both "Switch account" and "Sign out" options, which should be hidden if the user hasn't yet configured / added a wallet.

image

Trying these options anyway results in these two error view variants:

image image

We should fix these error views (in addition to preventing their access, by removing the two options from the menu). The latter variant should be consistently used, and its styles should be fixed (e.g. it shouldn't be left-aligned and squished up against the viewport like that without app nav up top).

In sum, these are the needs:

  1. Hide "Switch account" and "Sign out" options from menu when no wallet configured
  2. Create integration test per related acceptance criterion
  3. Fix "Error" view styles
  4. Create visual regression test for above item
  5. Ensure error view is applied when triggering error from "View Secret Key" view
  6. Create integration test per related acceptance criterion

@markmhendrickson
Copy link
Collaborator

I found this issue with the dismissal option for the hardware wallet connection view while testing this build, but it's also present in the production build. I'm flagging here in any case, in case its resolution was intended by the related containers work. If not, we can resolve separately from this PR.

@markmhendrickson
Copy link
Collaborator

markmhendrickson commented Aug 7, 2024

Activity is loading quickly for me in this build. Let's also add an integration test per this acceptance criterion to prevent a regression? cc @alter-eggo

image

@markmhendrickson
Copy link
Collaborator

markmhendrickson commented Aug 7, 2024

The logo shouldn't show up the "Add network" view when displayed in the action popup. Let's fix and add a test per this acceptance criterion.

In the title, "Add network" shouldn't capitalize "Network" either.

image

Note in production, it's displayed in full page view but not action popup, as desired.

image

Update: It appears this is a general issue across views loaded in the action popup. Anytime we have a back button, we should hide the logo?

image

@markmhendrickson
Copy link
Collaborator

Now that we've switched to Mempool.space, presumably the prefilled value for Bitcoin APIs when adding networks should also be Mempool?

image

@markmhendrickson
Copy link
Collaborator

Network menu styles look good 👌

image

@markmhendrickson markmhendrickson linked an issue Aug 7, 2024 that may be closed by this pull request
@markmhendrickson
Copy link
Collaborator

markmhendrickson commented Aug 7, 2024

The receive view now has a dismissal option rather than a back option in the app nav. @fabric-8 @mica000 I presume the back option is desired for consistency with the other home options (e.g. send, swap, buy).

image

Note as well that the receive header has no top margin either as a result.

In production, the back button appears:

image

Let's add tests for these acceptance criteria as well:

@markmhendrickson
Copy link
Collaborator

The app navs during the various API flows look good to me.

Ideally we'd show the STX balance for the Stacks message signing variant, as we show BTC for Bitcoin message signing, but this enhancement isn't a blocker.

Bitcoin message signing

image

Bitcoin transaction

image

PSBT

image

Stacks message signing

image

Stacks transaction

image

@markmhendrickson
Copy link
Collaborator

The latest build looks generally good in terms of the menu and app nav fixes. However, note that the menu for the state with no wallet configured has a remnant divider line which should ideally be removed as well:

Screenshot 2024-08-08 at 08 17 30

Note how it doesn't appear here when signed in:

Screenshot 2024-08-08 at 08 18 27

I overlooked flagging #5726 (comment) yesterday as a blocker, but we'll need to resolve it before releasing this PR as well.

@fabric-8
Copy link
Contributor

fabric-8 commented Aug 8, 2024

@mica000 Regarding back button vs. close, I agree that in the context of the popover it doesn't quite make sense from a user perspective why there would be a close for receive, but a back for the other screens.

CleanShot 2024-08-08 at 09 01 08@2x

Maybe we can just keep the "back" in the popover, but do use a close in fullscreen as already mocked up here earlier, as it's effectively a different kind of ux there? I'm not 100% sure wether that has been our intention all the ay or not since the version with "x" does exist on the same page as well

@markmhendrickson
Copy link
Collaborator

If needed to unblock this release today, we can also just add top padding to the receive view in the action popup format?

The lack of consistent top padding there compared to other similar views (e.g. send, swap, buy) is what seems most in need of resolution. We can figure out later if we need to convert the receive view into a page (since it's basically a sheet at the moment, whereas these other views are pages?).

Let's take care to QA PRs on the original PRs themselves going forward. We're unfortunately trying to fix these container related issues now to unblock the more urgent release of Mempool support.

@fbwoolf
Copy link
Contributor

fbwoolf commented Aug 8, 2024

@alter-eggo are you needing more eyes on testing this release or just code review?

@alter-eggo
Copy link
Contributor

@fbwoolf more testing I think

@alter-eggo alter-eggo merged commit bb1d6a6 into main Aug 8, 2024
72 checks passed
@alter-eggo alter-eggo deleted the release/nostalgic-skunk branch August 8, 2024 15:32
@pete-watters
Copy link
Contributor Author

If needed to unblock this release today, we can also just add top padding to the receive view in the action popup format?

The lack of consistent top padding there compared to other similar views (e.g. send, swap, buy) is what seems most in need of resolution. We can figure out later if we need to convert the receive view into a page (since it's basically a sheet at the moment, whereas these other views are pages?).

Let's take care to QA PRs on the original PRs themselves going forward. We're unfortunately trying to fix these container related issues now to unblock the more urgent release of Mempool support.

Thanks for your help checking this @markmhendrickson 👍 Also thanks a lot to @alter-eggo for adding so many fixes here, I appreciate it.

In future, if we need to do a release and issues are found like this, we should remove the offending commits from the release branch so it's not blocked rather than having it block more urgent things.

I am checking through the updates made and will add some better tests to catch issues next time.

  • this problem with the settings option: release: nostalgic skunk #5726 (comment) was noticed as Settings was previously not available if the user has no wallet. I agree it is a good enhancement to get it working but it was a mistake by me to show the button there
  • I will add this enhancement to show the balance in STX - release: nostalgic skunk #5726 (comment)
  • you are correct Mark on this discussion around the Back button release: nostalgic skunk #5726 (comment). It's supposed to be a back button in action popup for consistency across flows. I will try and add a test to assert that it shows up on smaller screen sizes

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.

Fix delete icon alignment for network
9 participants