Commit Graph
62 Commits
Author SHA1 Message Date
tom goriunovandGitHub f6725649da UI toolkit package (#2691)
* first version of the pack

* single entry point

* add custom components to the package

* move form components to toolkit

* add more utils and hooks to the package

* minor fixes

* add CI workflow

* update readme and package.json

* fix ts

* fix build of env-validator

* fix docker build

* fix icons size

* test fixes

* more test fixes
2025-04-21 19:44:22 +02:00
Max AlekseenkoandGitHub dd42ed6903 Merits: activity cards and tracking (#2662) 2025-04-15 19:59:09 +02:00
tom goriunovandGitHub 7648d05541 Auth: Switch the chain before signing the message when the user logs in with their wallet (#2673)
Fixes #2345
2025-04-15 15:23:57 +02:00
tom 0d0e5cde60 Merge branch 'main' of github.com:blockscout/frontend into chakra-v3 2025-03-26 15:43:24 +01:00
Max AlekseenkoandGitHub fcc64f5e52 Support custom ref codes (Merits) (#2631)
support custom ref codes
2025-03-25 13:30:05 +01:00
tom 04310094f4 fix some ts errors 2025-03-11 13:11:26 +01:00
Igor StuevandGitHub bce190e5c2 fix incorrect color mode (#2596) 2025-02-28 11:01:30 +01:00
tom 02c634645e Merge branch 'main' of github.com:blockscout/frontend into chakra-v3 2025-02-18 15:05:52 +01:00
tom dee3dc051e fix ts 2025-02-17 14:59:04 +01:00
tom goriunovandGitHub 6e85ab5530 UX changes for BS / Merits login (#2541)
* UX changes for BS / Merits login

Fixes #2535

* fix ts

* refetch user balance after unified login

* fixes
2025-02-07 16:03:39 +01:00
tom 5f91ff4f3f Merge branch 'main' of github.com:blockscout/frontend into chakra-v3 2025-01-16 16:30:12 +01:00
tom 211bfeda3b refactor UserProfileMenu 2025-01-15 18:57:01 +01:00
tom goriunovandGitHub d29849184d Replace lodash with es-toolkit (#2503)
* first part of migration

* second part of migration

* bump up es-toolkit version

* bump up `es-toolkit` version and remove `lodash` completely

* update screenshot
2025-01-14 12:30:05 +01:00
tom 07b8a20cc0 renaming 2025-01-07 15:55:18 +01:00
tom aad96a73e9 Initialize the chakra update and ensure the login page does not crash on load. 2025-01-07 12:28:21 +01:00
Max Alekseenkoandtom goriunov 1322414364 set cookie expiration time 2024-12-23 15:37:28 +01:00
tom 125c4880de migrate to eslint 9 and its flat config 2024-11-13 12:54:12 +01:00
tom goriunovandGitHub 382829d9f7 Support bech32 address standard (#2351)
* create settings context with simple address format toggler

* transform base16 hash to bech32 hash

* add ENV variables

* add snippet to address page

* add redirect for bech32 addresses

* change address format in search

* add provider to tests

* update demo values

* migrate from Buffer to Uint8Array and add tests

* bug fixes and screenshots updates

* review fixes

* roll back changes in env values

* update screenshots
2024-11-04 18:53:59 +01:00
Max Alekseenko 289f5dcdec change link 2024-11-04 15:38:10 +01:00
Max Alekseenko f0d1183a0d add fix for localhost 2024-11-04 14:31:28 +01:00
Max Alekseenko d55dc1c882 add error handling 2024-10-31 15:20:35 +01:00
Max Alekseenko f7e2829bdd post-review changes 2024-10-30 20:41:49 +01:00
Max Alekseenko cf29ad43a3 some fixes 2024-10-30 14:44:51 +01:00
Max Alekseenko fb72fe27c8 post-review changes 2024-10-28 18:02:03 +01:00
Max Alekseenko ca234f5928 hide ref code for registered users 2024-10-24 14:58:03 +02:00
Max Alekseenko 78e3ce1bd6 change text 2024-10-23 12:27:54 +02:00
Max Alekseenko 7745ccbd54 replace link 2024-10-21 18:51:31 +02:00
Max Alekseenko 5f6582634a fix rewards config query 2024-10-21 17:32:34 +02:00
Max Alekseenko 4c7b3a7d1e link rewards program to account 2024-10-18 14:54:57 +02:00
Max Alekseenko 7ed53bb659 refactoring 2024-10-17 18:18:59 +02:00
Max Alekseenko 7e57a9e826 move other hooks to context 2024-10-16 19:12:32 +02:00
Max Alekseenko 4cad194c00 move login to context 2024-10-16 18:47:30 +02:00
Max Alekseenko 3092eb805d Merge remote-tracking branch 'origin/tom2drum/issue-2029' into rewards 2024-10-16 17:44:33 +02:00
tom 3d2c62b32f [skip ci] clean up and more tests 2024-10-14 20:58:14 +02:00
Max Alekseenko 8b7070c7da implement rewards button 2024-10-04 15:07:32 +02:00
Max Alekseenko ee29f0c466 improve api token management 2024-10-03 15:45:15 +02:00
Max Alekseenko cb12d8c896 implement ref code logic 2024-10-02 18:40:29 +02:00
Max Alekseenko 4262448d64 improve api token logic 2024-10-02 17:33:21 +02:00
Max Alekseenko 115a96d2a6 implement claim 2024-10-01 18:54:51 +02:00
Max Alekseenko 3d7f3b9fc0 improve login, fetch real data 2024-09-27 18:26:58 +02:00
Max Alekseenko bd2bb27090 create rewards login modal and dashboard 2024-09-25 16:23:57 +02:00
tom goriunovandGitHub 64f09acce9 Pack Chakra theme into NPM package (#2115)
* build package

* update version

* fix name collision

* add workflow
2024-08-12 18:13:07 +02:00
tom goriunovandGitHub f1c4adec10 Implementation name behind proxy name (#2071)
* icon for proxy contract

* add custom tooltip for proxy contract

* add name to tooltip and refactor

* tests

* center the popup content
2024-07-08 13:40:26 +02:00
isstuev a95536a635 fix removing ad banners 2024-05-09 12:40:47 +02:00
93aadcab4e Add ENV variable allowing to choose default color schema (#1882)
* Add ENV variable allowing to choose default color schema

Fixes #1868

* Update values.yaml.gotmpl

---------

Co-authored-by: Yan Vaskov <[email protected]>
2024-05-07 13:52:20 +02:00
tom goriunovandGitHub ca0e104652 Render Token page <h1> on the server (#1862)
* extract TokenPageTitle into separate component

* remove dynamic import for TokenPage

* add initialData to tokenQuery

* add ENV variable

* don't update metadata on client

* fix test
2024-04-29 13:24:47 +02:00
Max Alekseenko 8e97fe59b8 Merge branch 'main' into rework-marketplace-app-header 2024-04-17 15:23:56 +02:00
Max Alekseenko 57626ea968 memoize context value 2024-04-17 14:31:10 +02:00
Max Alekseenko e54aa43b35 fix state reset 2024-04-16 21:38:31 +02:00
tom goriunovandGitHub b6d5268188 Enhance OG tags with API data (#1806)
* simple fetch data for token instance page

* generate enhanced metadata

* group query params in page props

* make base gSSP function generic

* add metric for search engine bots

* measure api request duration

* get API data for token, address and dapp pages

* improve typings for apiData prop

* add ENV variable

* tweak logs for /media-type requests

* [skip ci] add prefix to default metrics
2024-04-16 10:27:47 +02:00