Commit Graph
71 Commits
Author SHA1 Message Date
Nacho Iacovino fe53dfa054 Update dependencies and clean unused (#2328)
* Remove kyb/kyc, update stripe

* Knip cleanup, improve stripe init

* Update dependencies

* Remove unused campaign

* eslint

* unused

* Update dependencies

* Missing a focuslock here

* Add a spinner to wait for the page to reload

* Update stripe again

* format

* Update dependencies again

* update

* Update lock

* Nightly

* Recover file

* format

* update

* Run install
2024-03-15 19:17:28 +00:00
Jonas Daniels 28e6484b38 refactor: refactor useNFTDrawerTabs.tsx and index.tsx (#2326) 2024-03-13 03:50:58 +00:00
Jonas Daniels b07a3f2e4a refactor: Remove unused parameter (#2300)
* refactor: Remove unused parameter

* refactor: Remove unnecessary comment in useNftDrawerTabs.tsx
2024-03-08 23:39:38 +00:00
Nacho IacovinoandJonas Daniels ee6c3a35ff Remove old registry and use v5 (#2266)
* Remove old registry

* also this one

* Not removing from old registry anymore

* merge registry files

* wip works

* Refactor city

* Fix build

* One more thing

* Prettier?

* ???

* This should work

* My prettier is broken

* Can't live like this

* Resolve comments

* Abstract

* Sure

* Should use this

* Remove unused

* change approach

* Delete graphql/generated.ts

Signed-off-by: Nacho Iacovino <[email protected]>

* also remove deprecated mainnets

* Wip - failed build

* Define dashboard chain

* format

* Latest

* latest

* Remove log

* Not sure why we need this

* Back to this

---------

Signed-off-by: Nacho Iacovino <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2024-03-08 20:06:12 +00:00
Joaquim Verges 0ab0593e0d support updating metadata for DropERC721 contracts (#2293) 2024-03-06 19:26:02 +00:00
Joaquim VergesandNacho Iacovino 79ab480696 Show Update NFT Metadata button for 1155 NFTs (#2280)
* Show Update NFT Metadata button for 1155 NFTs

* A lotta changes

* Take into account erc

* Working

* Better

* Remove log

* Format

* Remove devdependencies

* Only import types when necessary

* Wallets on nightly

* whoops

* Fix build?

* Expect error for now

* Don't update tw package for now

---------

Co-authored-by: Nacho Iacovino <[email protected]>
2024-03-05 16:47:21 +00:00
Nacho Iacovino 48f890f673 Stop ignoring warning :) (#2279)
* Cleanup eslint disable

* Revert this one

* Fix stuff
2024-03-02 00:27:51 +00:00
Jonas DanielsandJoaquim Verges 0c0cfdad84 Jd/cleanup (#2258)
* remove unused gql queries

* remove generated file

* init knip

* run knip and remove unused

* lock

---------

Co-authored-by: Joaquim Verges <[email protected]>
2024-02-28 17:58:56 +00:00
Nacho IacovinoandJonas Daniels 8097fe6b0e NFT table and NFT detail on v5 (#2240)
* Expand

* wip

* wipwip

* Optimize registry in preparation

* Should be 1155

* evm renaming

* wrappitywrap

* Add comment

* Remove log

* not wrappitywrap

* Update sdk

* Fix erc1155 single nft page

* Revert removing old registry

* Also this one

* Fix

* Update sdk

---------

Co-authored-by: Jonas Daniels <[email protected]>
2024-02-28 01:04:11 +00:00
Jonas Daniels ef2917832a fix(core-ui/sidebar): fix contract metadata query bug 2024-02-23 18:12:08 -08:00
Jonas Daniels b3b61f5f9a switch to pnpm (#2257)
* switch to pnpm

* chore(ci): fix pnpm install command

* cleanup

* chore: Remove unused dependencies and imports
2024-02-24 00:25:27 +00:00
Jonas Daniels 443b0bb851 FIX: CNCT#142 (#2245) 2024-02-23 17:47:08 +00:00
Nacho Iacovino 061b8c0469 Dashboard product simplification (#2228)
* Wallets -> Connect

* Changes and renamings

* Remove eslint ignores

* Fix application error

* Move back to top-level

* New onboarding

* Missing space

* Update dashboard landing

* Update
2024-02-20 22:08:40 +00:00
Joaquim Verges 6b86d8ea93 Smart Wallet Sponsorship Policies (#2134)
* Smart Wallet Sponsorship Policies

* WIP policies form

* feedback

* mapped types

* working state

* update to latest api server api

* lint

* lint

* fix form

* link to configuration from api key settings

* move EW config

* lint

* link to configuration

* ui fixes

* rename to sponsorship rules

* add doc links

* remove native currency option for now

* doc link
2024-02-06 23:58:28 +00:00
Tair Asimandikethirdweb 821ec55a82 feat: growth plan (#1936)
fixes PROD-172, PROD-389, MON-58, MON-90, MON-88, MON-109, MON-98

* fix link and unauthed

---------

Co-authored-by: ikethirdweb <[email protected]>
2024-01-24 14:10:38 +00:00
04ad22c250 Migrate checkouts v0 (#1986)
* feature(payments): initialize GQL and page structure

* initialize apollo provider

* port over .graphql files and fix up generation

* fix codegen

* .ts files are fine for hooks

* feat: add credentials option to ApolloClient

* .env.example update

* Get payments seller id from api server in fetchAuthToken (#1839)

Get paymentsSellerId from api server in fetchAuthToken

* Push up example with `paymentsSellerId`

* Remove console.logs

* Move to component to compile

* Render all contracts table (filtered)

* Enable payments button

* Abstract a bit

* Add graphql query to usePayments

* Get analytics

* Add parsedOverview

* Fix prettier

* Create checkout logic

* Create checkout form shenanigans

* Some UI massaging

* A bit more

* Enable payments redirect

* Work for erc1155, disable cache

* yes

* Some progress with cache? :D

* loglog

* Fix tracking

* Abstract remove button

* We're doing it backwards

* Cast to number

* whoops

* Edit checkout logic plz

* Empty state

* plz

* Fix for real

* Default

* Filter contracts, some more empty states

* Moar empty states

* Error flow

* More empty states, less foot shooting

* Get contract name for payment-enabled contracts

* Filter default checkout, show contractId

* Fix url redirect

* whoops

* Fix logic

* feature: added checkout seller account settings to dashboard (#1931)

Signed-off-by: Juan Leal <[email protected]>

Signed-off-by: Juan Leal <[email protected]>

Signed-off-by: Juan Leal <[email protected]>
Co-authored-by: easyrun42 <[email protected]>

Signed-off-by: Juan Leal <[email protected]>
Co-authored-by: Juan Leal <[email protected]>
Co-authored-by: easyrun42 <[email protected]>

* invalidateQueries onSuccess

* Revert prior change and add apollo refetch()

* Try network-only

* Add for contracts as well

* wip

* API Keys capabilities yay

* Remove network-only policy

* Use lazy queries

* Fix api keys

* isLoading states

* All the cache

* now

* Rename

* Big wip

* Fix date picker

* chore: added thirdweb_client_id to checkout fragment (#1957)

* stuff

* Ensure accountId

* Copy

* Fix mutation

* Fix loading states

* wip

* Kyb shenanigans

* Kyc shenanigans :D

* More kyc shenanigans

* Fix file uploader?

* Annoying response

* RPC url pls

* Remove unused imports

* Nope

* Lots of checks

* Fix kyb check

* Kyc improvements

* Moar

* hid hid

* Move around

* Nope

* Cache?

* Lowercase

* Webhooks file

* Add more supported chains

* Full

* Fix RPC url

* Update contractArgs

* Much better

* Error state

* Validation for URL

* Allow empty string

* Improve KYB experience

* Add compliance email

* Fix upload to cloudflare

* Add preview button

* Improve preview

* Okay

* Fix font weight

* Just because

* Use the Preview environment for workflows

* Pass environment var name context through

* syntax update

* Test - show public env var

* syntax

* See if public variable makes it through

* Add public api

* Use secrets instead of vars

* Remove test

---------

Signed-off-by: Jonas Daniels <[email protected]>
Signed-off-by: Edward Sun <[email protected]>
Signed-off-by: Juan Leal <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
Co-authored-by: Edward Sun <[email protected]>
Co-authored-by: gerrysaporito <[email protected]>
Co-authored-by: Juan Leal <[email protected]>
Co-authored-by: easyrun42 <[email protected]>
2023-11-22 23:21:53 +00:00
Tair Asim eafaad8058 chore: simplify api keys creation & editing (#1841)
fixes FTD-2219
2023-10-31 21:42:31 +00:00
Jonas Daniels 4c8325b0d9 chore(routing): massively simplify page routing and middleware (#1852)
* chore(routing): massively simplify page routing and middleware

* refactor: Remove unused code and files

---------

Signed-off-by: Jonas Daniels <[email protected]>
2023-10-26 22:19:11 +00: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
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 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
Nacho Iacovino d13da631d1 Checkbox labels UX (#1750)
Fix checkout labels
2023-10-05 18:04:13 +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
Nacho Iacovino 3c5cf7d722 Dashboard auth page (#1713)
* New images

* Add auth page

* Horizontal image
2023-09-27 23:27:23 +00:00
Nacho Iacovino f69cbf2e46 Add embedded/local dashboard pages (#1687)
* wip

* Embedded + Local pages

* New icons

* Fix

* New nft explore contract

* No events for now
2023-09-19 23:53:25 +00:00
Nacho Iacovino 89dc1829a8 New contracts overview (#1661)
* New contracts product grouping

* Remove unused

* Center mobile

* No overview page
2023-09-14 02:56:26 +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 AsimandJake Loo 9b3f46e829 chore: remove billing ff (#1610)
* remove billing ff

* adjust tracking categories

---------

Co-authored-by: Jake Loo <[email protected]>
2023-09-06 23:38:52 +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
Joaquim Verges 8726ae92ea Smart wallet tab updates (#1591)
* factory table wip

* reorder pages

* show factory cards

* show all langagues

* cleanup
2023-08-25 23:44:42 +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 01b4942e60 Fix solana page (#1495)
* Fix solana page

* Fix import
2023-08-05 01:34:54 +00:00
Nacho Iacovino c5e21a5a3a Add token id page (#1487)
* Working token id page

* Add new NFT property component and display properties

* "Update token ID page and NFT details link"

* Add contract address to TokenIdPage

* Update TokenIdPage layout and add Back button

* Delete unused code

* Update button tabs

* Update NFT drawer tabs to include new functionality

* Refactor contract header and claim conditions components
2023-08-04 23:02:39 +00:00
Nacho IacovinoandJonas Daniels ac513b604d Non-default secret keys (#1392)
* Non-default secret keys

* Fix warning

* Move /settings to /dashboard/settings

* Update heading copy

* Fix stuff

* lotsa updates

* working dashboard now

---------

Co-authored-by: Jonas Daniels <[email protected]>
2023-07-12 04:10:12 +00:00
Tair Asim 2f00b22afc feat: add settings page (#1284)
* feat: add settings page

- add settings page
- move api keys to it
- reuse nav and navlink where possible

fixes FTD-1768

* fix sections render

* move redirect

* polish

* fix up redirect

* remove unused index
2023-06-08 19:17:04 +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 6948842410 handle empty functions in explorer (#1273) 2023-06-05 16:06:25 +00:00
Adam Majmudar acac8e2200 Add analytics 🚀 (#1203)
* Add analytics

* Remove analytics secret

* Add date range picker and timestamp

* Refactor and add logs

* Update

* Remove cumulative wallets stat

* Add beta tag to analytics

* Add function calls table

* Add key

* Fix prettier

* Add event breakdown

* Add banner and total statistics

* Remove total txs

* Update analytics

* Fix suspense bug

* Add suspense to analytics stats

* Fix suspense

* Fix update

* Add zero states for charts

* Remove unused import

* Fix date ranges, add stack, add commas

* Cap end date

* Disable date selection

* Switch to new GET API format

* Update

* Fix stacked bar chart

* Add commas to values

* Fix highlight for stack

* Update colors to blue first

* Update color scheme

* Update bar colors
2023-06-03 00:00:24 +00:00
e56a7c87d4 Add contract checklist (#1063)
* add contract ftux

* fix lint

* fix uploaded nfts

* fix

* fix bug

* Big refactor

* Rename component

* Use absolute imports where possible

* More changes

* Show number of extensions on contract list

* Add permissions check

* Collapse if completed

* Hide if all steps are completed

---------

Co-authored-by: sid <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2023-04-05 02:30:28 +00:00
Jonas Daniels d1da4dd7d1 lots of clean up (#1030)
* lots of things

* further cleanups
2023-03-28 11:35:08 +00:00
sidandJonas Daniels 2cbbc3cdf7 Update deployed + published contracts page (#962)
* get started component

* push everything

* ln

* Update published.tsx

* fixes

* fix link and getstarted -- remove mumbai steps from deployed get started

* eslint

* diff state for active vs inactive

* completed

* link

* readd description

* small fix

* better storage key and also bigger hit area for collapse/expand

* link auto highlight

* ftux not removable and add loader

* small fix

* memoize + change states for complete/incomplete

* minor tweaks and formatter

---------

Co-authored-by: Jonas Daniels <[email protected]>
2023-03-23 21:30:41 +00:00
Jonas Daniels bdb4a46f56 FIX FTD-1492 (#960) 2023-03-09 21:42:05 +00:00
Jonas Daniels 2a3d0b5c55 contract page seo (#954)
* contract page seo

* always set the canonical url to thirdweb.com
2023-03-08 19:44:53 +00:00
Jonas Daniels e654980da4 update dependencies (#951)
* update dependencies

* fix supply based things

* fix some more things
2023-03-08 03:01:27 +00:00
Nacho Iacovino 91b888b5da Mobile improvements/fixes (#944) 2023-03-06 20:43:21 +00:00
Jonas Daniels 504ad54355 solana sidebar things (#943) 2023-03-06 18:30:00 +00:00
Jonas Daniels eb0597f172 init updating design (#903)
* init updating design

* quick updates

* theme skeleton better

* fix contract card width thing

* fix rpc button

* switch code block to vsDark theme for darkmode
2023-02-23 22:15:37 +00:00
Nacho IacovinoandJonas Daniels b69691b402 Dashboard revamp (#860)
* Move current /dashboard to /contracts

* Renamings

* Create navbar

* Add dashboard cards

* Add changelog with base styles

* Better styles

* Add arrow

* Basic storage page

* Add integrating into your app section

* Fix build and style

* Add IpfsUploadDropzone component

* Add visibility public

* Improve styles

* Make nicer copy hash component

* Make it responsive

* Basic card structure

* Render all chains

* Link to chain page

* Add search

* Fix long chain styles

* Update search width

* Update color

* Slice the list for now

* Use new TrackedCopyButton component

* Fix styles

* Various feedback addressed

* Address chains feedback

* Disable upload with disconnected wallet

* lots of changes

* Progress things amiright

* No logs

* Change supported types

* Small changes

* Add sidebar

* Rename chains to rpc

* Add metadata to upload

* Change gateway section

* Add CLI section

* Update chains page SEO

* Update URL

* Change checkmark to only show when chain was added to dashboard

* upgrade deps

* RPC page changes

* Improve cli section in /storage

* Revert gateway section

* lots of cleanup

* further cleanup

* small fix

* remove yalc

* remove rocket

* Small improvements for storage page

---------

Co-authored-by: Jonas Daniels <[email protected]>
2023-02-21 19:46:20 +00:00