Commit Graph
172 Commits
Author SHA1 Message Date
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
Manan Tank c93dc28fd7 ConnectWallet component + playground improvements (#1737)
* update

* Remove custom SignInModal and add base-gor

* use Goerli on playground

* update

* update lock

* Fix Build

* update

* update

* update

* update

* update

* update

* Fix Build

* update

* update

* update

* Fix Safe wallet

* Fix Build

* update

* Add termsOfServiceUrl and privacyPolicyUrl

* Make coinbase recommended

* update both accents on accentText change
2023-10-11 14:27:32 +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
Manan TankandJonas Daniels 9742d29ef4 Add custom welcome screen in ConnectWallet component (#1716)
* Add custom screen in ConnectWallet component

* update thirdweb connect OG meta

* update

---------

Co-authored-by: Jonas Daniels <[email protected]>
2023-09-28 20:35:15 +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
Joaquim Verges 39bdf3bbe8 Add deposit button to smart wallet account tab (#1497)
* Add deposit button to smart wallet account tab

* display error when nfts can't be fetched

* lint
2023-08-09 05:31:10 +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
Adam MajmudarandJonas Daniels 4d4a34378c [Auth] Support for multiple wallet login, refresh tokens, and safe login (#1297)
* Fix login with Safe

* Fix login with Safe

* Update dashboard

* Require signature again and support gnosis signing

* fix build

* popup transaction prompt in safe wallet case

* Update

* Update

* Update to new auth

* Update version

* Update

---------

Co-authored-by: Jonas Daniels <[email protected]>
2023-06-13 21:16:36 +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
Jonas Daniels 1d41e15737 force login flow & guest wallet (#1236)
* force login flow

* slightly better styled modal

* fix build

* upgrade to nightly to fix signing after switching accounts

* add guest wallet

* fix chanlist page

* do not show signature prompts when wallet is headless

* track accept and cancel
2023-05-27 00:27:28 +00:00
Manan Tank fd9b2bdcd8 Update popular chains - add Base Goerli, remove BSC testnet (#1186) 2023-05-08 22:54:20 +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
Manan Tank f2ce226d59 network config improvements, Fix FTUX flash (#1089)
* fix "add custom network" opening "edit network" modal

* code cleanup

* code cleanup

* reduce width of network config form on unknown network slug page

* Fix FTUX flash
2023-04-10 17:17:01 +00:00
Manan Tank 17b3fea6c8 No config Any EVM (#1086)
* temp

* make it work
2023-04-08 04:35:41 +00:00
Nacho IacovinoandJonas Daniels 7b42e1c9d0 Stop using prebuilt form, only custom contract form deploy (#1009)
* ContractMetadata detection on deploy

* Royalty detection

* Primary sale detection

* Platform Fee detection

* This feels better

* It works now :D

* Add split detection, cleanup

* Cleanup

* More cleanuppp

* Moar remove

* Kill useWeb3 hook

* nvm we need this

* Enable any evm for thirdweb contracts

* DefaultValue 0

* update sdk

* nope

* Remove double title

* Update dependencies

* install nightly

* use latest

* Fix default values

* Delete prebuilt analytics file

* fix wallet address not being filled in on subsequent renders

* Remove resolution

* Make inputs required

* Enable all chains for tw contracts

* Fix input default value

---------

Co-authored-by: Jonas Daniels <[email protected]>
2023-04-04 23:36:46 +00:00
Jonas Daniels fa7bc7ce08 permission tab bug fix (#1053) 2023-03-31 23:35:56 +00:00
Nacho Iacovino 6029534d14 Show Phantom option when Phantom not installed (#1052) 2023-03-31 19:58:24 +00:00
Nacho Iacovino 214609cc01 Stop UI flashing, use react hooks for permissions (#1040)
* Stop UI flashing, use react hooks

* Use delayed display for contract ftux

* Make DelayedDisplay a component
2023-03-31 00:57:37 +00:00
Jonas Daniels d1da4dd7d1 lots of clean up (#1030)
* lots of things

* further cleanups
2023-03-28 11:35:08 +00:00
Manan TankandJonas Daniels 406bb83f6b connect wallet v2 (#965)
* cwv2 lets go

* Switch Theme

* lots of cleanup

* Gnosis safe

* add wallet connect v1

* Add Safe and other confirmation popovers back

* fix the build error

* update sdk, remove device wallet

* new dev version

* Fix wallet autoconnect on prod

* Fix Gnosis Safe Connection glitch, UI improvements

* update all deps to nightly

* remove unused packages, update to nightly sdks

---------

Co-authored-by: Jonas Daniels <[email protected]>
2023-03-25 02:30:32 +00:00
Nacho Iacovino 39723cbf40 Fix distribute funds for native token (#1011) 2023-03-23 20:32:01 +00:00
Jonas Daniels 1fda6b7d90 ipfscdn -> thirdwebcdn (#987) 2023-03-17 02:34:19 +00:00
Nacho Iacovino 9cb90b89f0 Upsell testnet switch on deploy (#978)
* Upsell testnet switch on deploy

* Add tracking

* Fix build

* Better tracking
2023-03-16 17:24:43 +00:00
Nacho Iacovino 91b888b5da Mobile improvements/fixes (#944) 2023-03-06 20:43:21 +00:00
Nacho Iacovino a058700638 Add faucets from chainInfo to no funds popover (#906)
* Add faucets from chainInfo to no funds popover

* Use correct sdk

* Fix build
2023-02-23 19:57:22 +00:00
Jonas Daniels 2f2945c63e ur a wizard harry (#905) 2023-02-23 18:18:12 +00:00