Skip to content

Commit

Permalink
feat: approvals Cmd+K shortcuts (#1637)
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Sinclair <[email protected]>
Co-authored-by: Daniel Sinclair <[email protected]>
  • Loading branch information
3 people authored Jul 31, 2024
1 parent d4b6bf4 commit 481fb9b
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
# FIREFOX TESTS
firefox-e2e-parallel:
runs-on: ubuntu-latest
timeout-minutes: 16
timeout-minutes: 18
needs: [build]
env:
DISPLAY: :0
Expand Down Expand Up @@ -193,7 +193,7 @@ jobs:
# CHROME TESTS
chrome-e2e-parallel:
runs-on: ubuntu-latest
timeout-minutes: 16
timeout-minutes: 18
needs: [build]
env:
DISPLAY: :0
Expand Down Expand Up @@ -251,7 +251,7 @@ jobs:
run: exit 1
chrome-e2e-send:
runs-on: send-runner-bx
timeout-minutes: 25
timeout-minutes: 16
needs: [build]
env:
DISPLAY: :0
Expand Down
11 changes: 11 additions & 0 deletions src/entries/popup/components/CommandK/useCommands.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,17 @@ export const getStaticCommandInfo = (): CommandInfo => {
to: ROUTES.CONNECTED,
type: SearchItemType.Shortcut,
},
approvals: {
actionLabel: actionLabels.open,
hideForWatchedWallets: true,
name: getCommandName('approvals'),
page: PAGES.HOME,
searchTags: getSearchTags('approvals'),
symbol: 'checkmark.seal.fill',
symbolSize: 14.5,
to: ROUTES.SETTINGS__APPROVALS,
type: SearchItemType.Shortcut,
},
settings: {
actionLabel: actionLabels.open,
name: getCommandName('settings'),
Expand Down
2 changes: 2 additions & 0 deletions static/json/languages/en_US.json
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,7 @@
"get": "Get",
"my_wallets": "My Wallets",
"my_contacts": "My Contacts",
"approvals": "Approvals",
"my_tokens": "My Tokens",
"my_tokens_watched": "Tokens",
"my_nfts": "My NFTs",
Expand Down Expand Up @@ -504,6 +505,7 @@
"view_profile": "profile, gallery, ens, nfts",
"testnet_mode": "toggle, networks, testnets",
"developer_tools": "toggle, networks, developer, testnets",
"approvals": "revoke, tokens, nfts, contracts",
"settings": "preferences",
"network_settings": "testnets, developer, networks",
"my_qr_code_watched": "my",
Expand Down

0 comments on commit 481fb9b

Please sign in to comment.