Commit Graph
53 Commits
Author SHA1 Message Date
Jonas Daniels 47700f1719 fix: Fix v4 contract metadata update and invalidate (#2575)
* fix: Fix v4 contract metadata update and invalidate

* feat(next.config.js): Add webpackBuildWorker option
2024-05-16 03:05:12 +00:00
Jonas Daniels 80f1f0fcdb feat: add instrumentation for Sentry (#2574)
* feat: add instrumentation for Sentry

* chore(next.config.js): update config and disable ServerWebpackPlugin

* refactor: Remove unnecessary code
2024-05-15 12:10:25 -07: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 Daniels 89f26b00f9 chore: re-instrument sentry (#2256)
* chore: re-instrument sentry

* refactor(next.config.js): update tunnelRoute to "/err"

* perf(config): improve traces sample rate to 0.1

* chore: Remove vercel.json file
2024-02-23 22:55:49 +00:00
Nacho Iacovino cff0175f2c New support page (#2150)
* wip

* Add api endpoint

* Add context button

* Api endpoint working

* Improve form and api request

* More changes

* Update links

* Add discord section

* Address copy feedback

* Add searchbar

* Move logic to api-server

* Update infra card

* Address testjam feedback

* Update error messages

* ?

* Update colors
2024-02-01 16:00:40 +00:00
Nacho Iacovino 3ff5df716c Init posthog cloud (#2098)
* Init posthog cloud

* posthog cloud public key

* Use dev key in dev

* Allow pg in script-src
2024-01-09 21:44:18 +00:00
Jake Loo 79bb24deac Support dev env (#1959)
* dev RPC url

* Support thirdwebstorage-dev.com

* More dev env url

* format prettier
2023-11-15 16:42:38 +00:00
Tair Asim e705b63f7e fix: content security for stripe.js 2023-11-09 11:35:44 +01:00
Jonas Daniels 2074f60bb8 feat(chain): make all sorts of image data work by using the next image optimizer (#1837)
* style: Adjust ChainIcon size and padding

* feat: Add logic to determine IPFS gateways

---------

Signed-off-by: Jonas Daniels <[email protected]>
2023-10-26 00:14:25 +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 Tank b6dcd43117 enable productionBrowserSourceMaps (#1457)
enable productionBrowserSourceMaps explicity
2023-07-28 16:36:58 +00:00
Jonas DanielsandManan Tank 42a64d76cc Jd/attempt sentry cleanup (#1435)
* refactor: Update Sentry client configuration

* update deps

* allow regex

* Fix sentry allowUrls

* don't init Sentry if browser not supported

---------

Co-authored-by: Manan Tank <[email protected]>
2023-07-24 21:18:53 +00:00
Jonas Daniels 6cbf989533 add x-frame-options-back 2023-07-09 22:10:02 -07:00
Jonas Daniels 57021e4aec allow gateway.ipfscdn.io 2023-07-09 22:02:46 -07:00
Kien NgoandManan Tank 0246b0488b Fix typos, eslint and prettier issues (#1357)
* Fix some typos

* fix prettier and eslint issues

---------

Co-authored-by: Manan Tank <[email protected]>
2023-07-03 13:40:39 +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
Jonas Daniels ceeda4cf02 next 13.2? (#909)
* next 13.2?

* upgradd deps more

* allow worker src blob ad self

* cleanup worker-src

* oof

* proper sentry handling?

* turn sentry debug off and widenClientFileUpload

* remove sentry tunnel again for now
2023-02-27 00:16:48 +00:00
Jonas Daniels 449ebcf01b only enable sentry on production environments 2023-02-15 10:34:59 -08:00
Jonas Daniels 1abad45453 attempt to fix sentry (#874) 2023-02-15 18:04:45 +00:00
Nacho Iacovino 7f575d3613 Render html NFTs, improve NFT renderer (#868)
* Render html NFTs, improve NFT renderer

* Sync sdk versions
2023-02-15 01:39:05 +00: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
Justin Schneider d9b5c71afb Support for NFTs displaying 3d models (#823)
support for NFTs displaying 3d models
2023-01-26 07:31:26 +00:00
Jonas Daniels 7ffe3dc15b Jd/case study link (#717)
* link to case studies in that toggle

* further improvements
2022-12-08 19:08:07 +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 19cc393e8b GamingKit landing page (#682)
* Copy commerce to solutions

* Reuse some components

* Make GuideShowcase commponent

* Update guides

* Update Learn More Cards text

* Update og:title and og:desc

* Add CodeSelector

* Add in partnership with

* Add to footer and mobile menu

* Use GuidesShowcase component on Solana page

* Delete unused imports

* Update gradient

* Update unity code

* Fix deployment

* Update code snippets

* Update react code

* Use CodeSelector component for auth

* add coinbase

* add vercel handling

* fix some basic stuff

* 4px looks better

* fix build

* Refactor city

* Temp commit

* I thought this only happened on Windows, fml

* Make code shorter

* Address most feedback

* Fix docs link

* Add game thumbnails

* Remove unnecessary prop

* Need this image plz

* Add GameShowcase section

* Gaming -> Game

* Update copy

* Update to GamingKit and CommerceKit

* Update menu

* More changes

* Update NFT Lootbox href

* Update text

* various improvements

* better game cards

* address some feedback

* lots of image size related updates

* further fixes

* fix contractkit ts issue

* address a bunch of feedback

* more feedback things

* fix some redirect issues

Co-authored-by: Jonas Daniels <[email protected]>
2022-12-06 05:51:01 +00:00
Jonas Daniels d9f5629a7d solve lots of things (#698) 2022-12-02 13:29:50 -08: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
Nacho Iacovino 1a71631d6a Rename scriptName (#633) 2022-11-07 23:47:55 +00:00
Nacho Iacovino 79f0bec81f Add plausible proxy (#631) 2022-11-07 22:05:46 +01:00
Jonas Daniels a53b6e9e44 init next 13 (#613)
* init next 13

* layout responsive by default again

* more next13 things

* push up

* remove beehiiv embed

* make lgtm happy

* halfway through push up

* push up
2022-11-02 16:05:50 -07:00
Jonas Daniels 5e6c4448fa [basic ftux] (#577)
* start adding getting started cards

* still WIP but close finally

* remove unused hook

* initial ftux done

* small thing

* fix tos notice shenanigans

* fix safe inset bottom padding

* fix safe area inset bottom?

* allow vercel.live in script-src

* fix safari issues

* refinement

* implement feedback, wordsmith

* add links & tracking

* remove unused hook
2022-10-18 22:08:58 -07:00
5db96a64c7 [SOLANA] (#486)
* init solana dashboard

* some updates

* deploying programs works?

* solana program page is go

* more updates

* various updates and improvements

* git add maybe?

* working state

* working minting / nft list

* working drop lazy mint + latest nightly

* dashboard works

* forgot to add things

* fix various small things

* fix rpc

* implement token page + code organization

* update SDK

* rename accounts to program

* implement token mint button

* split dashboard into evm vs sol and separate out solana programs

* fix caching

* upgrade to combined sdk

* merge in main

* update to latest nightly SDK

* tabs for days

* lul query client maybe?

* remove unused hook

* add super basic nft drawer

* lots of updates to start on nft drawer etc

* add code tab content

* fix merge conflicts

* pass program address to code tab

* some changes

* some minor updates

* new nft drawer and table

* drawer for solana done (v1)

* fix a bunch of stuff

* fix some tracking

* update nightly

* add programId to program deploy event

* adapt to changes in react lib

* upgrade to dev version

* Add batch upload to Solana (#539)

* First small necessary refactor

* Working version

* Working version with yalc

* Use nightly

* Move everything around

* Remove unused imports

* Fix types

* Add state for hasTried

* Fix conditions

* Add solana

* Move selectedReveal to be part of the form

* Improve logic

* Update dependencies

* Make drawer fullscreen

* Fix hasFailed logic

* Fix types

* Make inputs required conditionally

* Fix types

* Make loading work

* Remove repeated code

* Remove unused

* Pass progress as a prop

* Move common files to core-ui

* massive cleanup

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

* feat(faucet): build solana faucet (#528)

* feat(faucet): build solana faucet

* chore: update names

* fix: type

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

* fix: minor stuff

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

* fix: feedback

* feat: minor improvements

* feat: add faq section

* refactor: refactor faq

* add accordion

* minor fix

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

* tiny fix

* Revert batch upload styles (#541)

* Fix typo, fix drawer width

* Revert to old batch upload styles

* Fix some more styles

* Fix progress bar styles

* Update to using TWRegistry

* [Solana] Add claim conditions to NFT Drop (#542)

* Add tab and getter

* Working version

* Delete unused imports

* Currency selector works but I hate it

* Add maxClaimable

* Fix build issue

* Make batch upload work again

* Fix claim conditions for devnet

* Test fix

* Delete console.logs

* A lot of solana stuff (#545)

* Remove unused banner

* Hide Claim Conditions tab for no drops

* Add loading state

* Remove comment

* Add helper text for nft drop supply

* Delete log

* Add loading state to program list

* Add redirect if you don't have any program deploys

* Add default instant reveal for Solana

* Fix styles

* Fix logic

* doc fixes

* fix(faucet): minor issues (#543)

* fix(spacing): fix spacing in faq

* feat: some updates from feedback

* fix: use linkButton

* feat: use fetch

* remove test code

* fix: err handling

* pass err

* fix sucecss state

* fix: link

* some updates

* small fixes

Co-authored-by: Nacho Iacovino <[email protected]>

* update to latest nightly

* fix up form and update deps

* Add claim button to Solana (#555)

* wip

* Add claim buttons, fix warning, disable buttons conditioanlly

* Use nightly

* Delete unused import

* Solana hackathon landing (#554)

* feat: build hackathon page (#547)

* wip: build hackathon page

* add some more stuff

* feat: responsievness and some minor stuff

Co-authored-by: Nacho Iacovino <[email protected]>

* First section

* Fix PrizeSection

* Add link to register now

* Add judges and footer

* Update startTime for hackathon

* Fix Schedule

* Add tracking

* Add pageId

* Prettier?

* Prettier again

* Prettier you're drunk

* This is my life now

* Remove unused import

* Add og metadata

* Update SEO

Co-authored-by: Avneesh Agarwal <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>

* Add solana landing page (#556)

* Add landing page for Solana

* Add solana landing page

* Add shopify landing

* Add shopify

* Remove quote

* Add meta tags

* Add landing page updates

* Add links

* small cleanups

* fix various & pagination on nft table solana

* Show unclaimed instead of tokenId for lazy minted tokens

* add full install command for solana react

* show create cli command in code tab for react

* add funds notice for solana

* add various things

* various updates

* various updates

* updated some guides and copy based on juan feedback

* Fix Solana faucet link

* Add disclaimer on how to deploy with Devnet

* Small fixes

* Update guidelines

* Fix currency selector bug

* Update hero copy

* fix build issues

* update to latest

* link solana cards

* Add partners

* update og images for shopify & solana

* Add solanathon og:image

* copy changes

* Update image size

* Center sponsors

Co-authored-by: Joaquim Verges <[email protected]>
Co-authored-by: Nacho Iacovino <[email protected]>
Co-authored-by: Avneesh Agarwal <[email protected]>
Co-authored-by: Nacho Iacovino <[email protected]>
Co-authored-by: Adam Majmudar <[email protected]>
2022-10-12 17:41:45 +00:00
Jarrod Watts 484eeb37bc Rename extensions to be ContractKit (#526)
* Rename extensions to be contract kit

* rename extensions.tsx page to contract-kit.tsx

* Contract Kit -> ContractKit

* Footer - don't open product pages in new tab

* Remove external link icon from get started button on product landing pages

* contract-kit in urls to contractkit

* add redirect from extensions -> contract kit

* Add permanent:false to extensions -> contractkit redirect
2022-09-30 14:55:37 +10:00
Jonas Daniels 262715c9e8 fix various small bugs (#492) 2022-09-22 10:39:18 +00:00
Jonas Daniels 02dbfb5f9f Update embeds, update SDKs (#489)
* use dev sdks

* upgrade dev versions

* upgrade to nightly

* upgrade embeds

* fix default color option

* fix small issue

* fix uri issues for ipfs resolution

* update sdks again
2022-09-22 09:43:44 +00:00
Jonas Daniels 53e92add39 move over the last prebuilt pages and use @nightly (#481)
* move over the last prebuilt pages and use nightly

* fix lint

* update to latest dev

* remove log

* fix various more things

* upgrade to @nightly

* fix lister for creating listings

* update dependencies to solve token metadata issue
2022-09-13 21:15:37 +00:00
752b2c2634 Refactor for react/sdk v3 (#457)
* Refactor claim conditions

* Add util function

* Full NFT pages refactor

* Improve onDashboard

* Token refactor fun

* Fix some logic

* Make token drop use custom contract pages

* Remove all the things

* Fix checks

* Fix delayed reveal

* Fix marketplace embed

* Fix lgtm

* Change detection strategy

* Improve some checks

* Reduce use of actualContract

* Fix lgtm

* Fix build

* Some renamings and some more cleanup

* Default sources to release source if found

* Fix lgtm

* Rename multiwrap

* Use useTokenDecimals hook

* Fix token forms not accepting decimals

* Check decimals for inputs

* Fix logic

* Update packages

* update SDK + add Optimism/Arbitrum goerli testnets

* Add goerli l2s to disabled chains of gnosis

* Add comment

* Fix todo

* Rename detection

* Fix code tab on multiwrap and pack

* Add deprecated text

* Add faucet links

* Prettier comments

* Check isDirty for all forms

* add latest nightly

* upgrade nightly and use stable for storage

Co-authored-by: Joaquim Verges <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2022-09-09 18:16:09 -07:00
Jonas Daniels d8d1bde28f fix data:b64 as img src (#453) 2022-09-04 16:29:21 +00:00
Jonas Daniels 4cd54a7f11 fix up CSP for firefox (#452) 2022-09-04 16:19:05 +00:00
Jonas DanielsandNacho Iacovino e9568849ac CSP (#446)
* CSP policy

* add nightly react build for iframe sandboxing

* push up changes

Co-authored-by: Nacho Iacovino <[email protected]>
2022-09-02 18:21:24 -07:00
Nacho IacovinoandJonas Daniels c480421c97 Make nft drop contracts use custom contract page (#405)
* Make nft drop contracts use custom contract page

* Fix claim conditions detection of token drop

* Hide tab until we fix erc20 cc

* Fix hooks

* Fix lgtm

* Add MinterOnly checks

* Only show burn/transfer/airdrop if balance > 0

* Fix token balance

* Fix lgtm

* Redirect old urls

* Delete console.logs

* Fix import

* Add claim conditions banner

* Use old code tab for prebuilts

* Disable add button when conditions are saving

* Only show banner to admins

* Remove eslint disable

* Use activeChainId

* Don't render Drawer if not minter

* Clean stuff

* Stop breaking react

* Improvypvyvpy

* Show button but disable it

* Save omg

Co-authored-by: Jonas Daniels <[email protected]>
2022-08-31 01:41:41 +00:00
Jonas Daniels 9b4550db4c remove the first deprecated pages (#434) 2022-08-27 15:16:12 -07:00
Jonas Daniels 762995f349 add common ignore patterns for sentry (#432)
* add common ignore patterns for sentry

* fix up creator/minter title & description
2022-08-27 12:54:50 -07:00
Jonas Daniels e8f84b4f8e add back sentry (#427)
* add back sentry

* fix up verify api route for now?

* upgraded deps
2022-08-25 23:12:38 -07:00
Jonas Daniels 1d60d9c76b add pageId to every page (#335)
* add pageId to every page

* turn off debug mode for posthog

* better organization of page ids

* fix breakage

* fix various small things
2022-08-04 10:31:16 -07:00
Jonas Daniels c831b6a415 fix contract redirect better 2022-07-18 20:13:30 -07:00
Jonas Daniels 08d7b4ef79 Jd/various released contract improvements (#270)
* various released contract improvements

* fix contract image stuff

* fix link

* try it with readonlyRpc setup

* try it with default polygon

* add note
2022-07-18 18:29:09 -07:00
Nacho IacovinoandJoaquim Verges 878390d429 Redirect to deploy namespace (#239)
* wip

* Redirect to /deploy namespace

* Prettier

* Add dependency array

* Fix build?

* Fix build

* Make release and deploy the same structure

* Fix mobile

* fix redirect logic and table prop

* remove unused prop

* restore changes from main lost from refactor

* redirect to deploy page after publish

* small polish on deploy contract form

* move padding up to card level

Co-authored-by: Joaquim Verges <[email protected]>
2022-07-06 19:00:40 -07:00
Jonas Daniels 1d837f47b9 Jd/shrink it (#125) 2022-05-17 20:46:31 -07:00
Jonas Daniels 01d86fc0e3 Jd/contract metadata extracted (#104)
* extract contract metadata

* feature detection top level maybe

* remove unused stuff

* add tos and privacy policy

* more padding

* add privacy and tos and update feature url

* upgrade sdk
2022-05-04 19:33:53 -07:00