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

[Wallet] Fix display inconsistency for domain names when nickname is set #20410

Closed
wants to merge 4 commits into from

Conversation

yjshi2015
Copy link
Contributor

@yjshi2015 yjshi2015 commented Nov 24, 2024

Description

If a user sets a nickname in their Sui wallet and later applies for a domain name, the domain name does not display, leading to confusion about whether it is active. Additionally, there is no direct way for users to view or manage their domain name in the wallet interface. see #20409

Enhanced the wallet’s domain name display logic to provide a seamless way to show domain names, even if the user has already set a nickname. The improvements are as follows:

When the user clicks “EDIT NICKNAME,” the domain name is displayed as an option, allowing the user to choose whether to display the domain name or continue using the nickname.

image

Test plan

  1. Tested the scenario where both a nickname and a domain name are set to ensure the UI includes functionality to display either the domain name or the nickname, allowing users to switch between them.

  2. Tested the scenario where only a nickname is set to verify the nickname displays correctly and the user address remains accessible.

  3. Tested the scenario where neither a nickname nor a domain name is set to ensure the user address displays by default.

default.mp4

Release notes

Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required.

For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates.

  • Protocol:
  • Nodes (Validators and Full nodes):
  • Indexer:
  • JSON-RPC:
  • GraphQL:
  • CLI:
  • Rust SDK:
  • REST API:

@yjshi2015 yjshi2015 requested a review from a team as a code owner November 24, 2024 09:20
@yjshi2015 yjshi2015 requested review from pchrysochoidis and mystieanwaya and removed request for a team November 24, 2024 09:20
Copy link

vercel bot commented Nov 24, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sui-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 7, 2024 2:37pm
3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
multisig-toolkit ⬜️ Ignored (Inspect) Visit Preview Dec 7, 2024 2:37pm
sui-kiosk ⬜️ Ignored (Inspect) Visit Preview Dec 7, 2024 2:37pm
sui-typescript-docs ⬜️ Ignored (Inspect) Visit Preview Dec 7, 2024 2:37pm

@vercel vercel bot temporarily deployed to Preview – multisig-toolkit November 24, 2024 09:21 Inactive
@vercel vercel bot temporarily deployed to Preview – sui-typescript-docs November 24, 2024 09:21 Inactive
@vercel vercel bot temporarily deployed to Preview – sui-kiosk November 24, 2024 09:21 Inactive
@yjshi2015 yjshi2015 changed the title Sui Feature Request - Minor bug with domain display in wallet #20409 Sui Feature Request - Minor bug with domain display in wallet Nov 24, 2024
@yjshi2015 yjshi2015 closed this Nov 24, 2024
@yjshi2015 yjshi2015 reopened this Nov 24, 2024
@yjshi2015 yjshi2015 changed the title Sui Feature Request - Minor bug with domain display in wallet [Wallet] Feature - Minor bug with domain display in wallet Dec 7, 2024
@yjshi2015 yjshi2015 changed the title [Wallet] Feature - Minor bug with domain display in wallet [Wallet] Fix display inconsistency for domain names when nickname is set Dec 7, 2024
@yjshi2015 yjshi2015 marked this pull request as draft December 7, 2024 12:55
@vercel vercel bot temporarily deployed to Preview – sui-typescript-docs December 7, 2024 13:27 Inactive
@vercel vercel bot temporarily deployed to Preview – sui-kiosk December 7, 2024 13:27 Inactive
@vercel vercel bot temporarily deployed to Preview – multisig-toolkit December 7, 2024 13:27 Inactive
@yjshi2015
Copy link
Contributor Author

Hi @pchrysochoidis, @mystieanwaya, @mamos-mysten, could you kindly review this PR when you have a chance? It addresses the issue where domain names do not display if a nickname is already set, causing user confusion. This PR implements a feature that allows users to choose between displaying their domain name or nickname when editing, improving the wallet’s usability. Thanks!

@mamos-mysten
Copy link
Contributor

Hey @yjshi2015, first of all thank you for the contribution! We're current working on a major update to the extension that will be released soon. As such, we're not planning any releases for the current extension other than for critical bugfixes.

I've made a ticket internally to track this request so that we can make sure this issue is correctly resolved with the updated version of the extension.

@yjshi2015
Copy link
Contributor Author

Hey @yjshi2015, first of all thank you for the contribution! We're current working on a major update to the extension that will be released soon. As such, we're not planning any releases for the current extension other than for critical bugfixes.

I've made a ticket internally to track this request so that we can make sure this issue is correctly resolved with the updated version of the extension.

Very much looking forward to the new release!

@yjshi2015 yjshi2015 closed this Dec 12, 2024
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.

2 participants