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: add a quick way to authorize my current account #1764

Merged
merged 22 commits into from
Jan 18, 2025

Conversation

helciofranco
Copy link
Member

@helciofranco helciofranco commented Jan 10, 2025


📷 Demo
Screen.Recording.2025-01-14.at.16.42.15.mov

Copy link
Contributor

@LuizAsFight LuizAsFight left a comment

Choose a reason for hiding this comment

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

this is an interesting idea but I think we would need design first to go for it, the topbar is looking a little bit crowded.

the idea of this issue is not exactly what is developed. this issue aims simply showing a toast or popup with a "connect" button so the user can connect his account from the wallet easily

@helciofranco helciofranco marked this pull request as draft January 11, 2025 12:43
@helciofranco
Copy link
Member Author

@LuizAsFight reverting to draft. holding until we have a design.

@LuizAsFight
Copy link
Contributor

@helciofranco can we complete this PR fast using a simple popup like this? Was the initial intention
image

@helciofranco helciofranco marked this pull request as ready for review January 14, 2025 09:45
@helciofranco helciofranco enabled auto-merge (squash) January 14, 2025 09:45
arthurgeron
arthurgeron previously approved these changes Jan 14, 2025
Copy link
Contributor

@arthurgeron arthurgeron left a comment

Choose a reason for hiding this comment

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

There's only one detail here

packages/app/src/systems/DApp/hooks/useOrigin.ts Outdated Show resolved Hide resolved
Copy link
Contributor

@LuizAsFight LuizAsFight left a comment

Choose a reason for hiding this comment

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

when the account has assets, the connect dialog is overflowed

image

@helciofranco helciofranco merged commit d81ee48 into master Jan 18, 2025
24 checks passed
@helciofranco helciofranco deleted the hf/feat/authorized-accounts branch January 18, 2025 07:06
LuizAsFight pushed a commit that referenced this pull request Jan 19, 2025
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to master, this PR
will be updated.


# Releases
## @fuels/[email protected]



## [email protected]

### Minor Changes

- [#1764](#1764)
[`d81ee482`](d81ee48)
Thanks [@helciofranco](https://github.com/helciofranco)! - Add current
account connection status to the header

- [#1762](#1762)
[`2460beef`](2460bee)
Thanks [@helciofranco](https://github.com/helciofranco)! - Add a
separate NFTs tab to the home screen.

- [#1710](#1710)
[`4c530078`](4c53007)
Thanks [@nelitow](https://github.com/nelitow)! - Improve handling of
custom assets.

### Patch Changes

- [#1778](#1778)
[`6ddb0014`](6ddb001)
Thanks [@LuizAsFight](https://github.com/LuizAsFight)! - fix: review
button entering on loading state after getting ready to approve

- [#1725](#1725)
[`28628cbd`](28628cb)
Thanks [@nelitow](https://github.com/nelitow)! - Allow editing network
name when adding.

- [#1778](#1778)
[`6ddb0014`](6ddb001)
Thanks [@LuizAsFight](https://github.com/LuizAsFight)! - feat: remove
intentional longer loading states to avoid blinking.

-   Updated dependencies \[]:
    -   @fuel-wallet/[email protected]
    -   @fuels/[email protected]

## @fuel-wallet/[email protected]



## @fuel-wallet/[email protected]

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
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.

ask to connect acc automatically when user change account
3 participants