Commit Graph
45 Commits
Author SHA1 Message Date
Jonas Daniels 6f28f4ecf9 fix visual glitch if contract only implements read functions (#2273) 2024-02-28 23:11:35 +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 22c5c04346 Next 14 and cleanup (#1854)
* Update package

* Update to next 14, winter cleanup

* More cleanup

* fix build

---------

Signed-off-by: Jonas Daniels <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2023-10-27 02:51:11 +00:00
Kien Ngo 786b003b9e Add trailing slash to IPFS URI for updateBatchBaseURI (#1804)
* Add trailing slash to IPFS URI for updateBatchBaseURI

* Delete bun lock
2023-10-19 18:04:30 +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
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
Joaquim Verges 2c4b230621 Group functions by extensions in contract explorer (#1595)
* Group functions by extensions in contract explorer

* cleanup
2023-08-28 16:21:44 +00:00
Yash 786e23de60 Add overrides for read functions (#1260)
* use connected address as override for view and pure functions

* lint

* correct import
2023-06-01 00:04:59 +00:00
Jonas Daniels d7c2d7ac99 contract explorer read errors should show correctly (#1238) 2023-05-25 02:09:59 +00:00
Joaquim Verges 6bb15192e4 Update nightly SDKs and fix build (#1187)
* Update nightly SDKs and fix build

* fix build
2023-05-09 05:35:01 +00:00
Jonas Daniels 4c77faf1d1 update packages and fix explorer (#1048) 2023-03-31 07:41:36 +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 IacovinoandJoaquim Verges 4d77cb623a Extension-based code tab (#912)
* Change order to not have an empty line

* Extension-based code tab

* Fix logic on when to show custom code tab

* wip sidebar

* Fix sidebar linking

* New UI

* Add icon to sidebar

* Remove unused imports

* Only show for custom contracts

* Don't have the sidebar on publish page

* Update sdks

* Update components/contract-components/hooks.ts

* fix storage

---------

Co-authored-by: Joaquim Verges <[email protected]>
2023-02-25 04:02:01 +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
a500f0d78c refactor: Release to Publish (#851)
* change banner to commercekit

* change bg

* progress check

* a lot more progress

* minor changes

* small changes

* correct folder name

* fix copy

* ui fixes

* lots of copy fixes

* one small fix

* some more small fixes

* minor fix

* more fixes

* new publish og

* small changes

* few new cases

* small fix

* rename folder

* add redirect

* Update LaunchSection.tsx

---------

Co-authored-by: Jonas Daniels <[email protected]>
Co-authored-by: Nacho Iacovino <[email protected]>
2023-02-22 21:51:48 +00:00
Adam Majmudar c1b8ab65ca Update error parsing with new error message format (#839) 2023-02-07 21:00:05 +00:00
sid 1ebd64ebb0 Add nft + permissions to contract overview (#843)
* add some tracking

* fix

* NFT done, progress on permissions

* small fix with merge conflict

* finish permissions table

* remove comment

* add empty state

* auto scroll to top on permissions page

* fix title
2023-02-07 20:56:57 +00:00
sid 1eeb2a55cb refactor: Add feature detection to contract overview page (#835)
* feature based guides

* correct guides
2023-02-02 17:04:22 -08:00
sidandNacho Iacovino 3a165ecb2e Redesign contract functions overview (#834)
* add explorer tab, redesign contract functions overview component

* remove skeleton import and fix import urls

* remove import contract from explorer tab, already on overview tab

---------

Co-authored-by: Nacho Iacovino <[email protected]>
2023-02-02 14:29:24 -08:00
ccbcbe6485 feat: Add contract overview page (#826)
* build your app

* correct link for build your app

* add share contract

* add padding to badge preview

* linting and add contractType prop

* night progress

* most nacho fixes

* hide view all button and handle conditional guide/template rendering

* small tweak for rahul

* UI tweaks

* Update Guide Links

* add events table -- event links not working

* reorganize ui, simplify latest events, more apparent build your app link

* add skeleton

* minor event label ui tweak

* fix skeleton height and add autoscroll to top

---------

Co-authored-by: Manan Tank <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2023-02-01 15:53:15 -08:00
Nacho Iacovino 263eeb84e0 Fix edge case where arguments dont have names (#830) 2023-01-30 22:54:51 +00:00
Nacho IacovinoandJonas Daniels 5124cb5be9 Solidity Input validation and UX improvement (#811)
* Add IntInput and SolidityInput main component

* Add address input

* Fix various bugs

* Add bytes input

* Add button to convert to bytes if not valid

* Add uri input (as any fml)

* Add bool input

* Move stuff around

* Add ENS resolve to address input

* Make the form context optional

* Use AddressInput everywhere in the app

* Add shouldDirty

* Add raw input

* No logs

* Various changes

* Wip array input

* Fix errror not showing

* Solve weird opacity thing

* Better error feedback on uint/int

* Fix bug on version validation

* Add To Wei button conversion

* A bit cleaner now

* Bytes input improvement

* Fix validation

* Separate tuple input

* Move int input validation

* Move bytes input validation

* Move address input validation

* Improve int validation

* wip rawinput

* Improve bytes validation

* wip

* Pass solidityName for IPFS upload

* Fix string input condition

* Add camelToTitle function and solidityType placeholders

* Test stuff out

* Add validation for int[] and array[]

* Remove unused import

* Use raw input for tuple for now

* Pass solidityComponent for better FormHelperText, especially tuples

* Better error msg for tuple

* Delete unused improt

* Only validate if there's components

* Remove unused file

* Improve address input UX

* Don't render empty helperText

* Fix address input edge cases

* Optional chaining

* Fix error

* Accept empty array for bytes type

* Fix string input

* Make buttons smaller

* Make JSON input monospace

* Remove fixed todo

* Improve error color

* Fix int/uint []

* Remove log

* various fixes

* use prod api during build step?

Co-authored-by: Jonas Daniels <[email protected]>
2023-01-24 18:30:30 -08:00
Nacho IacovinoandJonas Daniels e713384754 Add link to open ipfs hashes on gateway (#735)
Co-authored-by: Jonas Daniels <[email protected]>
2022-12-13 22:42:31 +00:00
Nacho Iacovino cec19593ad Add code tab to releases (#725) 2022-12-12 16:14:47 -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 65999b6433 Fix bool in contract explorer (#593)
* Fix bool in contract explorer

* Remove log
2022-10-20 18:27:46 +00: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
Adam MajmudarandJonas Daniels add6c88dbf [WIP] Add file and JSON upload for URI field in contract explorer (#586)
* Add URI file upload

* Add upload button

* Update

Co-authored-by: Jonas Daniels <[email protected]>
2022-10-18 14:10:21 -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
Nacho Iacovino ff1076151f Sentry improvements (#515)
* Fix .replaceAll is not a function

* Fix cannot read properties of null image

* Add a couple non-actionable errors
2022-09-28 20:44:49 -07:00
Jonas Daniels 46c82127d1 add KYB and init adding register contract (#463)
* add KYB and init adding register contract

* bearer id

* full setup loop

* merge in main

* integrate nightly of sdk

* paper enabled flag
2022-09-20 22:07:18 +00:00
Nacho Iacovino 7dc4787814 Only do auto-run for read functions (#483) 2022-09-13 16:25:01 -07: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
Nacho IacovinoandJonas Daniels 5ad8099fa0 Read functions not requiring connect wallet/switch network (#477)
* Don't use MismatchButton

* Call read function when no params found

Co-authored-by: Jonas Daniels <[email protected]>
2022-09-13 07:19:44 +00:00
Nacho Iacovino c9715452ae Fix contract explorer skeleton (#443) 2022-09-01 16:02:16 +02:00
Jonas Daniels 34780d7fcd binance + monorepo nightly (#435)
* binance + monorepo nightly

* update to latest nightly

* even more nightly

* update versions

* stable versions
2022-08-29 23:50:56 +00:00
Nacho IacovinoandJonas Daniels 602e49ec2a Separate read/write in contract explorer (#418)
* Separate read/write

* Remove duplication of icons

* Fix minH

Co-authored-by: Jonas Daniels <[email protected]>
2022-08-24 12:55:47 -07:00
Nacho Iacovino c8ed74012d Fix highlighting on contract explorer (#408)
Fix highlighting
2022-08-23 15:18:51 -07:00
Nacho IacovinoandJonas Daniels 7777cd81b8 Sources cleanup (#392)
* Add Copy ABI to relases

* Use Accordion, fix types

* Move accordion to own component

* Fix condition

* Move stuff around

* Rename source to sources

* Simplify logic

* Simplify logic in sources tab

* Fix abi type

* Fix more abi types

* Prettier did this

* Fix lgtm

* Get ABI from deployed contract

* Fix query

* Get ABI for prebuilts

Co-authored-by: Jonas Daniels <[email protected]>
2022-08-17 16:59:58 -07:00
Nacho IacovinoandJonas Daniels ca9333f3c6 Rework events (#386)
Co-authored-by: Jonas Daniels <[email protected]>
2022-08-16 09:13:10 -07:00
Nacho Iacovino a39540e16e Fix horizontal scrollbar on release page (#361)
Fix horizontal scrollbar
2022-08-11 20:08:20 +02:00
Nacho IacovinoandJonas Daniels af78321d88 Add events tab to contract panel (#354)
* Events tab working

* Fix to only use one component

* Add events to release page

* Fix icon

* Remove console.log

* Refactor a bit

* Fix key

Co-authored-by: Jonas Daniels <[email protected]>
2022-08-10 21:58:38 +02:00
Jonas Daniels 27e55670a2 Jd/various improvements (#349) 2022-08-09 11:45:06 -07:00
Jonas Daniels 588261671e attempt using dedicated alchemy url + better ipfs resolution (#344)
* attempt using dedicated alchemy url + better ipfs resolution

* fallback true instead of blocking maybe

* shallow render for redirect purposes

* small cleanup
2022-08-09 09:57:34 -07:00
Jonas Daniels f81d732a8f various quick wins (#343)
* various quick wins

* fix more various things, unify table for functions, variables, events, etc

* input types table and markdown parsing for the fn comments

* attempt to fix the drawer behavior
2022-08-07 18:51:52 -07:00