Commit Graph
14 Commits
Author SHA1 Message Date
Jonas Daniels 5637957243 feat: Add Checkly configuration and Playwright tests (#2351)
* feat: Add Checkly configuration and Playwright tests

* test: remove unused test files
2024-03-15 23:22:44 +00: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
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
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
Jake Loo 9c7dfab8f7 Mirror main to dev for new dev workflows (#1932) 2023-11-08 23:04:31 +00:00
Tair Asim 7d5544c805 tmp: account form error debug (#1915)
* tmp: account form error debug

* fix missing node-gyp in actions
2023-11-07 14:17:35 +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 Daniels d6e9b28238 migrate to bun (#1665)
* migrate to bun

* chore(providers): handle type discrepancy in queryClient

* chore(ci): simplify build step

* try to trick sentry during vercel build

* chore(build): Update build scripts and dependencies

* chore: Update next dependency version

* chore: Update test script in package.json

* chore: remove jest.config.js

* chore: Update README.md with bun installation instructions

* chore: update dev and build commands
2023-09-20 04:52:11 +00:00
Tair Asim 73c41e9006 chore: add api keys validation tests + ci workflow (#1433)
* chore: add api keys validation tests

* add ci gh workflow

* add cache

* add push strategy

* typo
2023-07-24 18:09:59 +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 f5f0097727 Update dependabot.yml 2023-03-16 04:18:38 -07:00
Jonas Daniels fe273d3478 Create .github/dependabot.yml 2023-03-16 04:18:06 -07:00
Jonas Daniels 855ba8c4d7 Create codeql-analysis.yml 2022-03-17 20:48:28 -07:00
Jonas Daniels b43a63e12d Initial commit 2022-03-17 14:41:47 -07:00