Commit Graph

739 Commits

Author SHA1 Message Date
Jesse
5fd73fed7d add Indexing Co to list of indexers (#877) 2024-08-26 11:53:09 -04:00
Léo Galley
7bc24ba920 Copy change (#934) 2024-08-26 09:31:17 -04:00
Léo Galley
6c1bb66b10 disable refetch on window focus, fix hydration error (#933) 2024-08-26 09:06:23 -04:00
moggr
4d24e5ee04 Revert "Datadog logs (#928)" (#932)
This reverts commit 67ca357f52.
2024-08-23 15:48:34 -07:00
moggr
67ca357f52 Datadog logs (#928)
* Add data dog logging on APIs

* removing error message from response
2024-08-23 13:10:26 -07:00
Brendan from DeFi
2b8fcb3a49 added conditional to plural (#929) 2024-08-23 15:41:59 -04:00
Matthew Bunday
a02653ce6f Basenames welcome widget on profile page (#927)
* Add ProfilePromo

* Add state and analytics
2024-08-23 12:40:52 -07:00
Brendan from DeFi
680d980759 fixed image path (#926) 2024-08-23 11:06:33 -07:00
Pat
0d55253fa5 fix foundry reference link (#923) 2024-08-23 12:47:48 -04:00
Brendan from DeFi
42ed07d984 Fix: Claim Frame on /names (#921)
* claim frame on /names

* new tx submitted image
2024-08-23 09:21:53 -07:00
moggr
6841e02b65 Update status codes on proofs API for better monitoring (#922)
* Update status codes for better monitoring

* move the try/catch scope

* error on missing trustedSignerAddress

* update avatar upload status code
2024-08-23 09:13:51 -07:00
Brendan from DeFi
dfd69a0d55 added utm code to basenames launch modal (#920) 2024-08-22 18:26:31 -04:00
Brendan from DeFi
83bc4f642b Feat/basenames frame (#862)
* early wiring for basenames frame

* renamed mint to inputSearchValue, improved logic

* changed response object

* improved flow for basenames frame

* updated metadata for frame landing page

* stronger type checking for isNameAvailable

* removed unnecessary code

* improved logic

* created API endpoint to fetch registration price

* deleted unused frame

* refactored isNameAvailable

* updated confirmation frame

* prepped through confirmation

* testing tx

* testing in staging env

* removed trailing slash from url

* created dynamic frameImage

* updates to frame response values

* linter fixes

* linter fixes

* improved error handling

* added formattedTargetName to state for confirmation frame

* updated initialSearchValueFrame to take an optional error argument

* linter fixes

* updated return value to handle errors

* improved error handling

* added error handling to frameImage

* added strict types for formatEthPrice

* linter fix

* add strict types

* linter fix

* minor type fixes

* added strict types

* removed console log

* fixed type issues and improved state handling

* added user input sanitization

* updated domain for testing

* tx test fixes

* more debugging

* debugging

* decoded message state before parsing

* logging message and message state

* updated resolver and registrar conroller addresses

* added name and address args to registration

* debugging api encoding

* added test address

* added addressData to name registration

* added nameData to registration

* added tx success screen

* linter fixes

* linter fix

* added public images

* added dynamic images and image generators

* deleted unused image generator

* constant initial search frame

* updated error handling

* updated frameResponses with new images and CTAs

* linter fix

* updated domain handling for registration image

* added error logging to capture message and messageState

* debugging background image

* restoring correct bg image for registration frame

* debugging

* allowed name to be string

* fixed type issues

* strictly typed response data

* fixed typing issues

* refactored tx frame logic

* refactored to use base.id instead of 8453

* added type for initialFrame

* improved error messaging

* export type

* updated txSuccessFrame

* updated txSuccess logic

* tx success button is now a link

* images in public directory

* reworked placeholder landing page

* explicitly typed initialFrame

* refactored to use viem instead of ethers

* refactored to use viem

* linter fixes

* updated domain logic

* updated to base instead of sepolia, removed comments

* created normalizeName utility

* implemented normalizeName, moved validation logic into try block

* undoing changes to names landing page

* undoing changes to names landing page

* updated image name and import path

* updated image import and implemented util

* updated image import

* updated image handling

* moved images out of public

* improvements from pairing session

* modifying domain for tx testing

* added enum type to raw error messages, fixed linter issues

* error message for invalid underscores

* updated neynar keys to env vars

* separate functions for formatting wei and convering wei to eth

* created file for shared constants

* updated imports

* updated imports

* updated imports

* added conditional error if no neynar key is detected

* unified domain value across pages

* updated imports

* minor refactor

* removed unused import

* reduced abi to necessary method

* better variable name
2024-08-22 14:23:52 -07:00
Brendan from DeFi
c6b98ce3ac updated social share text to remove second link (#918) 2024-08-22 15:12:28 -04:00
moggr
1db15453f6 Add APM tracing into next.js APIs (#919) 2024-08-22 12:02:50 -07:00
Matthew Bunday
c84d2ca74a Fix/allow dashes (#917)
* Don't strip dashes from search input

* Additional safety layer so we don't crash on names like ----.
2024-08-22 18:18:48 +00:00
Matthew Bunday
9dc07a9c94 Don't strip dashes from search input (#916) 2024-08-22 10:54:48 -07:00
Matthew Bunday
cbd46d81c3 Allow blob: in CSP so image upload previews work (#915) 2024-08-22 16:35:44 +00:00
Léo Galley
a7c940fc92 enforce 32 bytes for toHex (#914) 2024-08-22 15:02:50 +00:00
Jordan Frankfurt
b9bfc0b671 fix: show <0.001 instead of 0 when number gets small (#912)
* show <0.001 instead of 0 when number gets small

* extra check for timestamp ui removal
2024-08-21 21:36:13 -05:00
Brendan from DeFi
d2f87368e5 Fix: Remove Banners and Modal after successful claim (#911)
* remove banner and modal on success

* remove docs banner on success
2024-08-21 14:55:49 -07:00
omkar
bbd290af7f Strip username for reserved name lookup (#910) 2024-08-21 16:48:27 -04:00
Matthew Bunday
5be706c5fa Allow discovery of names with unicode (#909) 2024-08-21 16:12:00 -04:00
Matthew Bunday
5569a757f9 Make the social share buttons clickable (#908) 2024-08-21 15:40:39 -04:00
omkar
28c547a660 Redirect user back to names page if they try to visit a reserved profile (#904)
* Redirect user back to names page if they try to visit a reserved name profile

* Remove console log
2024-08-21 15:20:42 -04:00
moggr
6bc59c2d2d Add datadog browser logs (#906) 2024-08-21 10:22:02 -07:00
Brendan from DeFi
1984112979 Feat: Basenames Launch Banners (#901)
* update base web banner for basenames launch

* updated docs banner
2024-08-21 10:08:07 -04:00
Léo Galley
f1bf4c5946 Basename Profile: Use route handler to generate OG/Twitter images (#902)
* use route handler to generate images

* prefetch
2024-08-21 10:05:29 -04:00
Brendan from DeFi
078c1f0352 Fix: updated logic for base and premium pricing in banner (#900)
* updated logic for base and premium pricing in banner

* created hook to use the rentPrice contract method

* updated RegistrationForm with accurate premiumPrice

* updated significant digits in premium explainer modal
2024-08-21 09:58:33 -04:00
omkar
d5d6a3597f Switch nav + regex (#898) 2024-08-20 15:57:12 -07:00
Pat
71e9fb8550 update sidebar.js to include wagmi + onchainkit basename tutorials (#891) 2024-08-20 17:13:42 -05:00
omkar
22a4aaa12b Remove dash in open source on the lp (#897) 2024-08-20 14:49:50 -07:00
Brendan from DeFi
7b8803ed58 updated link with utm code (#896) 2024-08-20 14:40:30 -07:00
omkar
1a45f7ba7c Fix/show landing page (#894)
* FAQ copy fixes

* remove landing page + update faqs

* Fix unused import
2024-08-20 17:31:57 -04:00
Brendan from DeFi
3f499d772c active eth premium always pulls from base mainnet (#892) 2024-08-20 17:20:56 -04:00
Matthew Bunday
191683d71a Fix price display modal (#893) 2024-08-20 17:20:27 -04:00
Brendan from DeFi
ca0c74ab8d Chore: Update /getstarted Basenames Card (#890)
* update getstarted basenames card

* removed extraneous space
2024-08-20 17:15:54 -04:00
Pat
306efcecf8 Basenames tutorial pt2 (#888)
* Fix typo for `<Identity/>` and update title in sidebar

* update filename to match title

* Add tutorial for adding Basenames to wagmi projects
2024-08-20 16:35:25 -04:00
Matthew Bunday
bb0d288905 Prevent discount pricing with huge numbers from overlapping (#887) 2024-08-20 16:18:25 -04:00
Jordan Frankfurt
d83cd0484b bapp-101: add names menu nav (#870) 2024-08-20 16:14:00 -04:00
omkar
76dd97f4b2 Updates to landing page copy (#882) 2024-08-20 16:00:48 -04:00
Brendan from DeFi
0471c10045 Feat: Basename Launch Modal on Docs (#883)
* added Analytics context to libs

* added basenames modal image

* created basenames launch modal

* allow dynamic color for close icon

* add modal to docs homepage

* fixed z-index issue

* fixed banner icon color
2024-08-20 12:58:10 -07:00
omkar
039282018b Add Basenames FAQ (#871)
* Add Basenames FAQ

* Fix typo

* Fix typos

* Fix filename + url

* Update sidebar to show FAQ
2024-08-20 15:33:14 -04:00
omkar
fb80696dfa Basenames landing page (#838)
* Basenames landing page initial commit

* fixes

* Fix merge conflicts

* Remove whitespace

* Remove file

* fix import typo

* fix linting

* Fix globe render

* Fix typecast + circle div

* Comments to enable dynamic tailwind

* Design fixes

* Fix spacing

* Fix tutorials

* Fix lint errors

* Fix divs

* Address PR comments + debounce scroll

* Fix init state for header background

* added animation to down-arrow

* converted animations to pure css via tailwind

* Fix PR comments + linting errors

* Update FAQ to final version

---------

Co-authored-by: Brendan Forster <brendan.forster@coinbase.com>
2024-08-20 15:32:22 -04:00
Jordan Frankfurt
6e504a3f23 bns -> cb1 -> others (#881) 2024-08-20 14:20:33 -05:00
Jordan Frankfurt
97a22fc950 fix: stop attempting to double discount (#878)
* stop attempting to double discount

* address bunday's nit

* Update apps/web/src/hooks/useAttestations.ts

Co-authored-by: moggr <ricardo.moguel@coinbase.com>

* triple checking to make sure we use the right address for base.eth discount validator

---------

Co-authored-by: moggr <ricardo.moguel@coinbase.com>
2024-08-20 13:54:13 -05:00
Matthew Bunday
8ba7539b60 Fix banner and connect wallet (#880) 2024-08-20 14:44:31 -04:00
Matthew Bunday
831ccba7f0 Prompt network switching on profile, switch directly don't show network modal on connect wallet (#876)
* Banner when not on a base network

* ConnectWalletButton switch to base instead of open network modal
2024-08-20 13:51:47 -04:00
Matthew Bunday
d2a24277e6 Fix network switch button disabled when balance is too low (#875) 2024-08-20 13:13:06 -04:00
moggr
a4dc776454 return the resal discountValidator address on proof endpoints (#874) 2024-08-20 10:07:16 -07:00