Commit Graph
147 Commits
Author SHA1 Message Date
Phillip Ho 2e123978e3 feat: Add read/update labels for Engine tables (#1953)
* add label view/edit support for admins and access tokens

* add labels for backend wallets
2023-11-14 19:53:50 +00:00
Phillip Ho e2385a5d85 chore: refactor Engine onboarding page (#1943)
* chore: refactor Engine onboarding page

* fix build, more polish

* add tracking

* use address in instances cache key
2023-11-13 06:06:43 +00:00
Tair Asim d616bec219 fix: ews email confirmation (#1926) 2023-11-08 15:07:12 +00:00
Tair Asim 170720bcce fix: useApi error handling (#1918) 2023-11-07 16:53:42 +00:00
Tair Asim a3f3f57e39 Revert "tmp: account form error debug (#1915)" (#1917)
This reverts commit 7d5544c805.
2023-11-07 15:16:02 +00:00
Tair Asim eafaad8058 chore: simplify api keys creation & editing (#1841)
fixes FTD-2219
2023-10-31 21:42:31 +00:00
ffe85aa3df feat(dashboard): Manage embeddedWallet recovery share management preferences (#1796)
* feat(dashboard): Add stub to manage embeddedWallet recoveryShareManagement preferences

* docs: add explanation for where the magic values came from

* ew: custom auth added to form

* adding auth fields

* custom auth: form checkbox + state handling

* add create api key to embedded tab

* fix validation error when unchecked

* Add custom JWT into selector and update names

* Update default

* Update zod type for url

* Disable being able to edit recovery share management

* chore: fix lint issues

* fix: typings for recoveryShareManagement type

* chore: fix up custom jwt

* chore: revert dev confirmation email

* chore: remove console log

* only show in edit mode

---------

Signed-off-by: Joaquim Verges <[email protected]>
Co-authored-by: Isaac Dubuque <[email protected]>
Co-authored-by: Edward Sun <[email protected]>
Co-authored-by: Joaquim Verges <[email protected]>
2023-10-26 22:57:44 +00:00
Nacho Iacovino 9cc693a8fa Refetch on address change (#1850)
* Refetch on address change

* Remove log
2023-10-26 21:47:42 +00:00
Phillip Ho d77c1baf4d fix: Engine request body must be provided even if empty (#1840)
* fix: Engine request body

* content-type
2023-10-25 23:24:49 -07:00
Nacho IacovinoandPhillip Ho dd97b474dc Engine iterations (#1836)
* Improvements

* More stuff

* Config stuff

* Request interceptor

* Swagger UI CSS shenanigans

* Actually disable

* Uncomment button

* Some more css

* Checks for failed to fetch and no authorized wallet

* Remove log

* Make network selector switch your chain

* Copy update

* Copy

* remove unneeded import

---------

Co-authored-by: Phillip Ho <[email protected]>
2023-10-26 01:54:08 +00:00
Phillip Ho ec7b6c92ee Engine transactions table polish (#1838)
* chore: transactions table polish

* undo package changes
2023-10-25 18:40:54 -07:00
Phillip Ho 15171a6f7e feat: autoupdate txn table toggle (#1831) 2023-10-24 23:09:33 -07:00
Nacho Iacovino 3a590e3b25 Engine followups (#1828)
* Backend wallets overview changes

* Transactions table updates

* Copy fix

* Exploration of swagger css commented

* Copy changes

* use magic hook

* Better flow for when wallet is not connected
2023-10-25 03:14:37 +00:00
ebea69352b Add engine dashboard (#1815)
* feat: Add Engine tab to dashboard

* A lot of stuff? Config done

* Backend wallets table

* Add import/create backend wallet capabilities

* Update margin

* Filter txns by chain id

* Add balance check

* Fix build

* Add functions

* Only show remove config if not on local

* whoops

* Add tracking for set wallet config

* Try again

* Update schema for txns

* Update design, save URL in local storage

* Add trailing slash always

* Always simplify url

* Auth works

* Add admin grant/revoke

* Reshuffle stuff

* Add access tokens capabilities

* Add webhooks capabilities

* General updates

* Add local config

* Renaming and moving stuff around

* Hide tab

---------

Co-authored-by: Phillip Ho <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2023-10-25 00:05:31 +00:00
Jonas Daniels 2af15ef5ea refactor(chains): use the api to fetch chains instead of relying on chains package (#1826)
* feat: Add fetchChainsFromApi and fetchChain functions

* feat: add fetchChain and fetchAllChains functions

* make homepage work again with middleware changes

* fix(utils): fix fetchChain parameter type
2023-10-24 19:36:44 +00:00
Tair Asim e6827d15f0 feat: confirm paper wallet email on auth success (#1813)
feat: confirm paper wallet email

fixes PROD-314
2023-10-23 18:51:06 +00:00
Jake Loo e34de562e4 Update contract-importer URL (#1816)
Signed-off-by: Jake Loo <[email protected]>
2023-10-21 04:42:32 +00:00
Tair Asim ad2bc992a4 feat: resend email confirmation (#1805)
fixes FTD-2211
2023-10-19 17:47:38 +00:00
Tair Asim 84128a91f5 chore: email is now required (#1803)
fixes PROD-344
2023-10-19 07:54:53 +00:00
Tair Asim 48e9c9a119 feat: support ach + payment verification (#1801)
fixes FTD-2200
2023-10-19 07:47:08 +00:00
Joaquim Verges b12e36fc15 Wallet analytics tab (#1800)
* WIP wallet stats

* UI polish

* empty states

* fix merge
2023-10-18 21:57:56 +00:00
Jonas Daniels 4837c95a09 feat: add YourFilesSection to DashboardStorage page (#1788)
* feat: add YourFilesSection to DashboardStorage page

* refactor: remove file preview column

* style: add monospace font to file size text

* fix(components): fix YourFilesSection pagination and data fetching

* fix(dropzone): Invalidate pinned files query on file upload

* feat(storage): add file list refetch on upload

* chore(useApi): keep the promise around to avoid multiple fetches

* feat: Add AccountPermissionsV1 to guides and templates
2023-10-18 06:15:24 +00:00
Tair AsimandJonas Daniels 12f92a9508 fix: useApi caching (#1778)
* fix: useApi caching

- misc change to yarn as bun failing

* chore(ci): setup bun for testing

---------

Co-authored-by: Jonas Daniels <[email protected]>
2023-10-13 19:59:45 +00:00
Jonas DanielsandElasticBottle 33e7a9e729 feat(api): add redirectUrls field to ApiKey (#1755)
* fix(api): add redirectUrls field to ApiKey

* test: add redirectUrls validation test

* feat: display redirecrURIs on dashboard

* chore: update helper text for redirectURIs

---------

Co-authored-by: ElasticBottle <[email protected]>
2023-10-11 20:18:53 +00:00
Jonas Daniels 5b32c3d05e refactor(solana): remove support for solana (#1733)
* refactor(solana): remove support for solana

* chore: update @thirdweb-dev/react and @thirdweb-dev/sdk versions

* remove unused code & re-update-next-versions

* refactor: Remove unused Solana currency metadata

* fix build
2023-10-09 19:46:47 +00:00
Tair Asim d500b40959 fix: useAddress for caching api keys & account (#1652)
fixes FTD-2137
2023-10-02 19:38:59 +00:00
Tair Asim b29f24a74e feat: onboarding with email + billing (#1714)
completes FTD-2170, PROD-238
2023-10-02 12:47:10 +00:00
Tair Asim 64371d395b feat: embedded wallets (#1696)
* feat: embedded wallets

completes FTD-2165

* chore: smart wallets show factory deploy
2023-09-28 15:49:27 +00:00
Tair Asim 32774e47c4 feat: show rate limit alerts (#1651)
feat: show rate limit and invalid payment alerts

fixes FTD-2074, PROD-121

show invalid payment alert
2023-09-13 10:11:04 +00:00
Tair Asim 51085ef5db feat: notification preferences (#1628)
feat: notification preferences + onboarding opt-in to email updates

fixes FTD-2101
2023-09-08 10:53:32 +00:00
Tair Asim f2324b1b3e chore: polish billing + usage (#1622)
fixes FTD-2112
2023-09-06 10:32:58 +00:00
Tair Asim da03e2bba1 feat: update usage cards for all services (#1620)
feat: update usage cards + limits for all services

fixes FTD-2079, FTD-2105
2023-09-05 19:47:28 +00:00
Tair Asim 358ffb2074 feat: add storage usage and limits (#1611)
fixes FTD-2043
2023-09-04 18:07:54 +00:00
Tair Asim 95729886e8 chore: better usage format, total amount and fix disabled btn (#1609)
* chore: better usage format, total amount and fix disabled btn

fixes FTD-2087

* remove api keys announcement

fixes FTD-2086
2023-08-31 18:54:55 +00:00
Tair Asim 1c36903421 feat: billing (#1559)
fixes FTD-2082, FTD-2078, FTD-2035, FTD-2081, FTD-2088
2023-08-30 22:23:23 +00:00
Mariano Fuentes b4775ac380 Allow login flow for CLI (#1491)
* Auth CLI using dashboard signature, and generate authToken

* add auth package

* update packages to include generate function

* update packages to latest

* add dashboard secret key

* pass in client id and secret to rpc respectively

* add logic to create authWallet record in db

* use staging url for testing

* update staging url

* use staging url for jwt/authorize

* update UI/UX

* add success text

* fix typo

* update copy

* fix typo

* Better errors and kill CLI process if there's an error

* Add settings account page and support for revoking authorized wallets

* No contact msg, add rejected copy

* remove unused imports

* remove unwanted code

* remove unused imports

* fix prettier

* update nightly versions

* bring back previous sdk, react and chains versions.

* Add some more trackers
2023-08-28 22:17:20 +00:00
Nacho IacovinoandJoaquim Verges e4e13e7881 New dashbord product grouping (#1585)
* New wallets sidebar

* basic smart wallet page

* Update overview

* Use select instead of radio group

* Whoops

* Fix

* Fix loading

* Small changes to connect wallet tab

* fix loading states

* Rename to connect

* Add explanation to smart wallets

* New internal dashboard navbar

* Fix?

* Capitalizationn

* Pls

---------

Co-authored-by: Joaquim Verges <[email protected]>
2023-08-25 01:22:28 +00:00
Nacho Iacovino 4707f83cbb Account page improvements + Fix split distribute (#1529)
* Add guides, update NFT cards

* New account permmissions page

* New account page and fix distribute native on split for non-supported api chains

* Stuff

* Fix build

* Fix typo

* New images

* Change order
2023-08-12 00:35:51 +00:00
Tair Asim 63a0a7089b chore: api keys polish (#1477)
* chore: api keys polish

- validate key name uniqueness
- fix enter on submit refreshing page
- polish copy

* fixes

* fix unused

* copy

* fix test

* add unrestricted access checkbox

* update copy

* add doc link

* remove key name validation

* trim trailing slash
2023-08-03 21:27:24 +00:00
Nacho Iacovino 77cb9dfa57 Display NFTs on account page (#1478)
* Display NFTs on account page

* Add account balance component

* Fix copy
2023-08-03 00:29:33 +00:00
Nacho Iacovino 175de3237a Require client id for embeds (#1474)
* Require client id for embeds

* Update embeds
2023-08-02 22:44:40 +00:00
Tair AsimandJonas Daniels 48f823a05f add global auth token (#1473)
* add global auth token

* update packages

---------

Co-authored-by: Jonas Daniels <[email protected]>
2023-08-02 21:56:50 +00:00
859320b6ed feat: add bundle ids to keys (#1404)
* feat: add bundle ids to keys

completes FTD-1886

* typo

* fix ui bug

* Update sdks

* Merge branch 'ta/keys-add-bundle-ids' of https://github.com/thirdweb-dev/dashboard into ta/keys-add-bundle-ids

* Fix build

* Update sdks

* hide services

* fix count

* update nightly

* update to [email protected]

* fixes

* dont hide rpc

* copy - remove thirdwebs

* missing form values

* dont be smart about none

* feat: validate api keys (#1406)

completes FTD-1826

* Add descriptions

---------

Co-authored-by: Nacho Iacovino <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2023-07-17 22:10:55 +00:00
Jonas Daniels 975a8170a6 new apikeys update (#1398) 2023-07-13 05:40:05 +00:00
Jonas Daniels 75d7fa81c2 upgrade dependencies (#1393) 2023-07-12 04:40:14 +00:00
Tair Asim 47a1c7076a feat: api keys v2 (#1356)
* feat: api keys v2

- new api keys with pk/sk
- domains, wallets and service restriction
- secret regeneration

completes FTD-1879, FTD-1880, FTD-1835

* minor pr feedback

* test jam feedback

completes FTD-1902

* show none when no service targets

* change copy

* enable all services

* add service actions

fixes FTD-1874

* f

* sort saved services

* add copy pk on create
2023-07-11 01:24:36 +00:00
Adam Majmudar 82a7e96221 Filter events to last 20,000 blocks (#1311)
Update filter on events
2023-06-17 02:14:23 +00:00
Tair AsimandJonas Daniels a9fd20d6f7 polish: api keys + tables (#1267)
* polish: api keys + tables

- style tables and extract into table container
- refactor api keys to sub components
- show api key name and created at
- remove two step approach to creating keys
- define menu list/item styles on theme level

completes FTD-1752

* add missing ChainId import

* fix types

* add edit edit modal

* add update key func

* make work with local api server

---------

Co-authored-by: Jonas Daniels <[email protected]>
2023-06-05 17:26:21 +00:00
Danny Friday f0d25891a1 Use new paths for API keys (#1183)
* Use new paths for API keys

* Lint
2023-05-08 20:09:22 +00:00
cb8eca2a0c Add support for API Keys (#1164)
* Add support for API Keys

* Update

* Fix import

* Fix invalidation

* Add a getting started flow

* Fix

* Fix everything

* Remove console.log

* Update

* Logout if there's an address mismatch

* Logout if there's an address mismatch

* Add error messages

* Add wallets

* Escape apostrophe

* Add link to documentation

* Update copy

* rename and added CW button demo

* reorder wallets

---------

Co-authored-by: Nacho Iacovino <[email protected]>
Co-authored-by: Joaquim Verges <[email protected]>
2023-05-04 16:31:17 +00:00