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

fix: "Add account" to "Connect Wallet" #2896

Merged
merged 35 commits into from
Feb 29, 2024

Conversation

AdarshRawat1
Copy link
Contributor

@AdarshRawat1 AdarshRawat1 commented Nov 30, 2023

Fixes _ #2872

Describe the changes you have made in this PR

"Accounts" (Manage accounts)

  • Title changed to "Wallets"
  • Button changed to "Connect a Wallet"
  • removed outdated translations

Current page
image

Updated Page
image

"Account settings" page

  • Page title changes to "Wallet Settings"

Current page

image
image

Updated Page

image
image

"Settings" page

  • Page title changes to "Extensions Settings"

Current page
image
image

Updated Page
image
image

"Manage accounts" --> "Manage Wallets" "Add a new account" --> "Connect a Wallet"

current
image
Updated
image

Updated "Remove account"

image

Modules renamed ( Important )

"options.account.account_settings" -> "options.account.wallet_settings"
"actions.remove_account" - > "actions.disconnect_wallet"
"actions.add_account" -> "actions.connect_wallet"

Link this PR to an issue [optional]

Fixes _ #2872

Type of change

(Remove other not matching type)

  • feat: New feature (non-breaking change which adds functionality)

Checklist

  • Self-review of changed code
  • Manual testing
  • Added automated tests where applicable
    - Updated Accounts test
    - Updated AccountMenu test
  • Update Docs & Guides
  • For UI-related changes
  • Darkmode
  • Responsive layout

@AdarshRawat1 AdarshRawat1 force-pushed the dev2-swap-accounts-to-wallets branch from 1b20e07 to d33c235 Compare December 3, 2023 03:54
@AdarshRawat1 AdarshRawat1 force-pushed the dev2-swap-accounts-to-wallets branch from 61569e7 to f0a170c Compare December 3, 2023 04:27
@AdarshRawat1 AdarshRawat1 marked this pull request as ready for review December 3, 2023 04:45
AdarshRawat1 and others added 9 commits December 3, 2023 10:27
This reverts commit f0a170c.
This reverts commit ed4db7a.
Updated the Accounts component test to correctly look for the text 'Wallets' instead of 'Accounts'. This change aligns the test with the current state of the Accounts component.
Updated the AccountMenu component test to correctly look for the text 'Switch Wallet' instead of 'Switch account'.

This change aligns the test with the current state of the AccountMenu component.
@AdarshRawat1
Copy link
Contributor Author

@reneaaron @bumi @stackingsaunter The PR is ready for review.

AdarshRawat1 added a commit to AdarshRawat1/lightning-browser-extension that referenced this pull request Dec 16, 2023
Updated instruction example for adding a new string.

Depends on - getAlby#2896
@bumi bumi requested a review from stackingsaunter December 17, 2023 20:45
@reneaaron reneaaron added next-release To be included in the next release and removed next-release To be included in the next release labels Dec 18, 2023
Copy link
Contributor

@stackingsaunter stackingsaunter left a comment

Choose a reason for hiding this comment

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

Two minor changes requested, besides it's good

src/i18n/locales/en/translation.json Outdated Show resolved Hide resolved
src/i18n/locales/en/translation.json Outdated Show resolved Hide resolved
@stackingsaunter
Copy link
Contributor

@reneaaron I know you didn't like capitalisation. We are currently mixing both sentence and title case in buttons and dropdowns, there are 0 rules about this:

CleanShot 2023-12-20 at 02 44 35@2x

I just chose title case for this changes, I think it's slightly better but it's a matter of preference. Anyway, we can discuss it in another issue maybe and then change it all across all copy in the extension

Copy link
Contributor

@reneaaron reneaaron left a comment

Choose a reason for hiding this comment

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

tACK

@reneaaron reneaaron merged commit da1f4b0 into getAlby:master Feb 29, 2024
7 checks passed
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.

3 participants