Commit Graph
105 Commits
Author SHA1 Message Date
Nacho IacovinoandJonas Daniels ed0b4b2569 Smart Wallets -> Account Abstraction (#2349)
* Smart Wallets -> Account Abstraction

* Extra renaming

* Update dependencies

* only service utils lol

* Update contract-ui/tabs/overview/helpers/getGuidesAndTemplates.ts

Signed-off-by: Jonas Daniels <[email protected]>

---------

Signed-off-by: Jonas Daniels <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2024-03-18 20:33:17 +00:00
Nacho Iacovino 1c0fbeef98 OP grant congratulations modal (#2353)
* Credits granted modal

* Alert modal

* Credit button popover

* format

* Better tweet intent
2024-03-16 01:17:07 +00:00
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
Nacho Iacovino 668a5f77ab Small improvements on OP flow (#2348)
Fix logic
2024-03-15 20:28:46 +00:00
Nacho Iacovino 812515a038 New form fields on OP sponsorship (#2329)
* New form fields

* Forrmat
2024-03-13 22:10:02 +00:00
Nacho Iacovino 69e329b064 Add tracking to op-sponsorship (#2315)
* Add tracking to op-sponsorship

* Format
2024-03-12 17:31:19 +00:00
Nacho IacovinoandJoaquim Verges fdafd0be60 OP grants (#2278)
* Get credits endpoint

* Grant credit endpoint

* Refactor Steps component

* Onboarding update

* lol

* Format

* Remove unusued

* noidea

* my ts is broken

* Add SponsoredNetworkAlert

* fix build

* Claim credits flow

* Update copy

* More stuff

* ok

* x

* Add frax

* Can skip adding payment method

* Skip title

* Light mode

* ts

* Invalidate the right query

* Update api change

* Format

* Formats button

* Ship

* Prioritize op grant until claimed

* Should be good now

* Ok

* .

* Fix

* Fix logic

* Add indicators to chainlist and chain selector

* k

* Also this ...

* Better logic

* fix API types

* Small changes

* Add to chain page

* format

* ok

* ??

* Fix

* chain page

* big number

* Main bug

* format

* format2

* Confetti

* Add payment method modal to flow

* No need

* A lot of stuff

* Form working

* pretty pretty

* :)

* Update banner

* A lotta stuff

* All can apply

* kk

* Update billing page

* Remove unused

* Fix

* Improve these

* Disable if already applied

* Format

* Only show on sponsored chains

* Stuff

* Format

* Fatter

* Changes

* Stuff

* Format

* yep

* format

* Refetch account when payment method is added

* Apply now

* Remove apply now button when already applied

* cool

* Fix

* Multiple options for chains

* Conditional logic

* Format

* Industry

* Link for contact us

* Industry categories

* No lisk

* format

* Not required

* yep

* Remove upgrade upsell for pro

* Sponsored tag on chain page

* New image

* New banner images

* Only show in dashboard on op chains

* Fix build

---------

Co-authored-by: Joaquim Verges <[email protected]>
2024-03-12 16:54:14 +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 Iacovino 6e92c66a0f Reenable free trial (#2251) 2024-02-23 20:28:26 +00:00
Nacho Iacovino a981958542 Add other as reason for downgrade (#2244)
* Add other as reason for downgrade

* Delay display
2024-02-23 16:32:03 +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
Nacho Iacovino 4bbb7d42c4 Enable startup program (#2230) 2024-02-20 21:24:30 +00:00
Nacho Iacovino 9541fc5291 Disable free trial (#2219)
* Commment announcementBanner

* Disable free trial

* ocd
2024-02-17 19:47:36 +00:00
dependabot[bot]andNacho Iacovino d2e14b35ca build(deps): bump date-fns from 2.30.0 to 3.3.1 (#2198)
* build(deps): bump date-fns from 2.30.0 to 3.3.1

Bumps [date-fns](https://github.com/date-fns/date-fns) from 2.30.0 to 3.3.1.
- [Release notes](https://github.com/date-fns/date-fns/releases)
- [Changelog](https://github.com/date-fns/date-fns/blob/main/CHANGELOG.md)
- [Commits](https://github.com/date-fns/date-fns/compare/v2.30.0...v3.3.1)

---
updated-dependencies:
- dependency-name: date-fns
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* This is enough?

* Better treeshaking

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nacho Iacovino <[email protected]>
2024-02-13 16:59:12 +00:00
Manan Tank 1051f63f00 Remove growth gating from Connect Playground, Fix no-unused-vars lint issues (#2203)
Fix no-unused-var lint issues
2024-02-12 20:53:07 +00:00
Nacho Iacovino ca3a0cc844 Increase tooltip delay for gated switch (#2190) 2024-02-09 15:53:41 +00:00
Nacho Iacovino a89dbf08aa Add confirmation modal for growth plan upgrade (#2177)
* Confirmation modal for growth plan

* Remove unused

* More unused

* Update packages

* Also this one

* Upgrade everything to nightly

* Fix build
2024-02-07 16:38:20 +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
Nacho Iacovino 8e9e88af9a Fix client id typo (#2167) 2024-02-01 18:53:30 +00:00
Tair Asim 1133f7c762 chore: growth trial flow (#2163)
fixes MON-122
2024-02-01 18:24:18 +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
Tair Asim bcaed462f3 fix: payment method button when verifying (#2162)
allow to go to the billing portal when status is paymentVerification

fixes MON-121
2024-01-31 14:07:48 +00:00
Tair Asim abf28389ad fix: growth can claim 2024-01-30 18:09:07 +01:00
Tair Asim 17a67911dc fix: growth plan upgrades (#2157)
* fix: growth plan upgrades

* fix: billing alert labels
2024-01-30 12:57:02 +00:00
Tair Asim 5d99af1cdb feat: growth trial (#2143)
fixes MON-111
2024-01-29 10:42:42 +00:00
Nacho Iacovino e2b1f0f52e Fix vulnerabilities (#2130)
* Resolve vulnerabilities

* More

* More

* Bring back graphqurl

* Fix eslint warnings

* Fix prettier
2024-01-25 01:25:08 +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
Tair Asim b681cb7b78 polish: account linking event (#2115) 2024-01-12 18:45:45 +00:00
Tair Asim 44a424072b feat: account linking (#2092)
completes PROD-479
2024-01-10 11:08:08 +00:00
Tair Asim bf89576939 chore: handle payment failure attempt (#2068)
fixes PROD-452
2024-01-02 09:49:33 +00:00
Winston Yeo 161e7fcb89 fix: cannot save api key on initial edit (#2064) 2023-12-14 17:33:41 +00:00
Winston Yeo ef579f1dc8 chore: clean up UX for custom auth endpoint (#2059) 2023-12-13 22:08:37 +00:00
Winston Yeo 9b3e8234c1 Winston/custom auth dashboard update (#2051)
* chore: sort imports

* feat: add custom auth settings to dashboard

* feat: add detail display for custom auth detail

* chore: sort imports and remove console log

* feat: add custom authentication endpoint config to the embedded wallet tabs as well

* fix: dashboard form not updating
2023-12-13 16:57:08 +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
iketw d4543cb91d Allows for empty applicationImageUrl for embedded wallet (#2000)
* Adds app name and image url to ews

* fix fetch

* Allows empty image urls. Defaults to thirdweb
2023-11-21 18:13:11 +00:00
iketw 00e492caf5 Revert "Allows empty image urls. Defaults to thirdweb (#1996)" (#1997)
This reverts commit 779bbfc9b4.
2023-11-21 01:49:19 +00:00
iketw 779bbfc9b4 Allows empty image urls. Defaults to thirdweb (#1996)
* Adds app name and image url to ews

* fix fetch

* Allows empty image urls. Defaults to thirdweb
2023-11-21 00:58:38 +00:00
iketw a856457f60 Adds app name and image url to ews (#1987)
* Adds app name and image url to ews

* fix fetch
2023-11-20 23:32:27 +00:00
Tair Asim 170720bcce fix: useApi error handling (#1918) 2023-11-07 16:53:42 +00:00
Tair Asim a3f3f57e39 Revert "tmp: account form error debug (#1915)" (#1917)
This reverts commit 7d5544c805.
2023-11-07 15:16:02 +00:00
Tair Asim f366615610 fix: wallet connect prompt messages (#1914) 2023-11-07 14:39:29 +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 Asim a6482e0e53 fix: handle email already exists error (#1905) 2023-11-06 13:57:56 +00:00
Tair Asim 2f96cc3f50 fix: ews custom auth update (#1899) 2023-11-03 18:25:26 +00:00
Tair Asim e7374221f7 feat: ews (#1880)
fixes FTD-2227
2023-11-03 15:40:49 +00:00
Tair Asim 1d427ce5d3 fix: handle sign up errors (#1896)
fix: handle sign up errors and unused imports
2023-11-03 15:25:29 +00:00
Tair Asim 883cfbe04a chore: add re-login button in onboarding (#1892) 2023-11-03 09:21:06 +00:00
Tair Asim eafaad8058 chore: simplify api keys creation & editing (#1841)
fixes FTD-2219
2023-10-31 21:42:31 +00:00
ffe85aa3df feat(dashboard): Manage embeddedWallet recovery share management preferences (#1796)
* feat(dashboard): Add stub to manage embeddedWallet recoveryShareManagement preferences

* docs: add explanation for where the magic values came from

* ew: custom auth added to form

* adding auth fields

* custom auth: form checkbox + state handling

* add create api key to embedded tab

* fix validation error when unchecked

* Add custom JWT into selector and update names

* Update default

* Update zod type for url

* Disable being able to edit recovery share management

* chore: fix lint issues

* fix: typings for recoveryShareManagement type

* chore: fix up custom jwt

* chore: revert dev confirmation email

* chore: remove console log

* only show in edit mode

---------

Signed-off-by: Joaquim Verges <[email protected]>
Co-authored-by: Isaac Dubuque <[email protected]>
Co-authored-by: Edward Sun <[email protected]>
Co-authored-by: Joaquim Verges <[email protected]>
2023-10-26 22:57:44 +00:00
Tair Asim bb7909e729 feat: onboarding steps + product cards (#1842)
feat: onboarding steps + product categories

fixes FTD-2218
2023-10-26 20:00:50 +00:00