Commit Graph
159 Commits
Author SHA1 Message Date
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
Jonas Daniels a02b3774ab Jd/various error fixes (#888)
* various error fixes

* update deps
2023-02-18 19:17:12 +00:00
Nacho Iacovino 617b727ee9 Track request funds button (#878) 2023-02-15 20:41:50 +00:00
Nacho Iacovino a305f85d2c Add configure network button tracking (#875) 2023-02-15 19:36:37 +00:00
Mariano Fuentes eb556e6891 fix gnosis safe select network (#865) 2023-02-14 19:21:23 +00:00
Jonas Daniels 42077cea8e fix re-setting contractInfo to null for no reason 2023-02-14 09:49:17 -08:00
1064350681 Any EVM + middleware (#814)
* homepage: infinite looping logo carousel

* split partners logo among two rows on mobile

* remove lazy loading from partner logos

* Fix partner logo cut off on safari

* fade-in logo carousel at the container edge

* v1

* v2

* remove temp code changes

* switch network *technically* works, and new chains package

* Fix src warning in AsyncContractTypeCell

* Updated Design for config form, fix metadata error

* add initial deployment status modal

* Fix contract duplication bug in dashboard

* Make RPC url always editable

* v3 - middleware + refactor

* reset form when selecting custom option

* Fix crash on sources tab for unsupported chains

* add missing deps in effects

* /evm - use SSG with fallback

* /evm - add ensQuery dehydration back

* /solana - fix program page loading issue

* Allow editing details for custom chains

* solana program context

* fix build crash

* fix all the networkOrAddress getters

* use chain icons from chains package

* separation of fallback and final page

* Fix wrong default network type in form

* validation improvements in configure network form

* disable custom chains from dropdown on On non thirdweb contracts deploy page

* Fix wrong network slug

* custom chain improvement

* Fix Lightmode UI of Network Config Form

* UI improvements for network search dropdown

* UI tweaks

* code review cleanup

* UI tweaks

* Network Config Form: Better Keyboard UX

* fix broken /contracts/release and /contracts/deploy routes

* add configure networks button for custom contract deployment page

* UI tweaks for network configurator

* fix merge

* add the icon to the custom chain

* Bunch of Improvements

* Improve auto chain configuration
* Do not allow adding custom network with existing chain id
* Show delete default chains with 1-click add
* Convert delete dialog to a popover
* Retain all fields when selecting a chain from list
* Allow configuring chain Icons
* Allow using chainId as network slug for custom networks
* Remove unnecessary chainInfos object passed in provider

* configurable slug + prefill form

* improve scrollbar styling

* upgrade to newer sdk etc

* make it work

* Various testjame improvements

* Stop form submit event propagation
* preselect “testnet” for custom network based on name
* Clear form errors when selecting a network from list
* Improved UI for Delete network popover
* Disable “Add Network” button when on add network page
* Change fallback chain icon

* custom and search tabs

* reduce layout shift when switching tabs

* allChains caching with idb

* Add IPFS upload button for icon input

* Deploy Modal, chain icon, code cleanup

* Fix Deploy Modal not working for custom contract deployment
* Fix Fantom testnet icon
* Remove useDashboardNetwork()
* Update Deploy Modal wording in case for 3 prompt scenario
* Remove hardhat and localhost from CURRENCIES object
* Remove gateway.ipfscdn.io from images.remotePatterns in next config

* add chain config tracking

* remove useChainInfos()

* Remove EVM_RPC_URL_MAP usage as much as possible

* Fix Network Switcher for non-default chains

* upgrade new dev sdk versions

* fix versions

* Fix contractInfo.chain not available on contract page of custom chain

* Fix contract page links in overview page

* Update default chain Icon

* bunch of UI improvements for network configuration modal

* Better active state for add network button and chains
* Suggest a slug for custom network
* Show chain id next to network names in list
* Allow searching by chain id
* Autofocus on first input of the form
* Add cross button for clearing search input
* Toggle search results open state with chevron icon
* Add icons in chain list

* handle wallet connected to unsupported network in <SupportedNetworkSelect/>

* No reload required after adding a network

* revert last commit - reload still required

* handle case where wallet is connected to an auto configured chain - show it as unknown network

* update dependencies and switch to activeChain and supportedChains

* nightly sdk versions

* Improved Icon Uploader

* always use default chains for polygon registry work

* dev version & updated list fetching

* Improved Chain ID input in Network Configurator

* Improved Network ID validation and prefill

* Hide etherscan verification button for non-default chains

* Form Refactor + network type toolip

* update deps

* update package versions

* upgrade dependencies

* show "create custom"  when no search results found

* slug calculated from prefillName should not be considered dirty

* open edit screen when selecting already configured network from list

* fuzzy search with fuse.js

* replace thirdweb key with it's value in form

* temp fix for getChainRPC throwing error

* update to newer chains package

* lots of rpc cleanup etc

* fix nightly maybe?

* upgrade to nightly packages

* add initial import contract search input

* fix localhost

* clean up smoe more stuff

* lots of updates

* Show "Request Testnet Funds" button in wallet when applicable (#856)

* fix crash on events page

* Fix Links in Overview page

* import contract improvements

* Fix wrong explorer tab link in ContractPermissionsPage

* make search faster (individual queries)

* properly split contract and program routing

* remove all via stuff etc

* various further improvements

* add a proxy and setup storage to hit that proxy

* further cleanup

---------

Co-authored-by: Jonas Daniels <[email protected]>
Co-authored-by: Joaquim Verges <[email protected]>
2023-02-14 09:37:47 +00:00
caa6e5635d Add marketplace v3 tabs (#827)
* Add direct listings tab logic

* Add common table for both direct listings and english auctions

* Add UI to cancel listing/auction

* Disable create listing button if no address

* Detect features

* Update storage

* Can deploy marketplace v3 and create direct listings

* Can create english auctions

* Update auth

* Fix build

* Add marketplace v3 deployment event

* We got status pog

* Rendering english auctions

* Add getValid results filter

* Update create listing text

* Only show select if extension enable, default to one from tab

* Fix logic

* Fix cache

* Fix build

* Show default snippets if possible

* Update sdks

* Update storage

* Add support for 3d files (#837)

* Fix overflow in markdown renderer caused by inline code (#836)

* Add support for 3d files

* fix up nft media?

* seems to work now

---------

Co-authored-by: Manan Tank <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>

* Add price column

* Fix math

* Only allow to create each listing on each tab

* No need to detect here anymore

* Use NFTMedia commponent, make tooltip nicer

* Add CTA if no NFTs found

* Remove plural

* Remove invalid prop

* Move comments

* Improve platform fees text for marketplace

* Add new staking section and marketplace v3 to beta section

* Give auctionTimes defaults

* Update SDKs to nightly

* Use previous nightly D:

* Fix build

---------

Co-authored-by: sid <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
Co-authored-by: Manan Tank <[email protected]>
2023-02-04 03:32:04 +00:00
Jonas Daniels 99d202d91c fix magic build when missing the env var (#833) 2023-02-02 20:34:47 +00:00
Nacho Iacovino 703d3c144c Show prebuilt code tab for Multiwrap and Pack (#808) 2023-01-18 02:31:06 +00:00
Jonas Daniels 41c37d34ab various fixes (#710)
* various fixes

* load gradient with priority

* gradient improvements

* bit of opacity fading in

* does not need fading with priority set

* move newsletter section

* revert some dynamic stuff

* add a timeout to privacy notice to prevent flash
2022-12-06 10:00:10 +00:00
Nacho IacovinoandJonas Daniels ad9e643737 Add Import flow (#690)
* WIP Import contract

* Don't read twice

* Make UI a bit nicer

* Fix import contract flow flash

Co-authored-by: Jonas Daniels <[email protected]>
2022-12-02 19:05:55 -08:00
Jonas Daniels a4ad801333 updated navbar header (#664) 2022-11-23 00:05:47 +00:00
Jonas Daniels 3cd482a421 Explore Page (#625)
* init contract shelves

* updated styles etc

* update theme

* fix some more stuff

* lots more things

* fix release revalidate api

* lots more things

* reset colors

* navbar change

* fix font stuff

* cleanup pkg json

* unify prefix

* quick and dirty extension bar

* fix various things

* fix some mobile stuff

* switch release upsell messaging

* address a ton of feedback

* shuffle around title stuff

* further improvements

* add deploy upsell to category pages

* fix couple more things

* push up changes so far
2022-11-19 05:59:47 +00:00