Commit Graph

2022 Commits

Author SHA1 Message Date
Seroxdesign
3ea9f57e29 set up boxtype, playersection and dework profile component 2023-08-24 14:13:15 -06:00
Seroxdesign
c7dd1ed150 Write and Read Dework URL to player_account 2023-08-24 14:13:15 -06:00
Seroxdesign
2ee7bdc190 graphql stuff on FE 2023-08-24 14:13:15 -06:00
luxumbra
64338142d9 forgot to reset the loading state 🤦 2023-08-24 14:13:15 -06:00
luxumbra
41d57db216 no shrink for the loading icon 2023-08-24 14:13:15 -06:00
luxumbra
13f7c1cf21 update ProfileSection to include connected state for Dework 2023-08-24 14:13:15 -06:00
luxumbra
bb9bbce906 updates to include Error state when user has no dework profile 2023-08-24 14:13:15 -06:00
luxumbra
f7f6230e44 Fix issue with css inheriting from menu items and making all profile related items all white. 2023-08-24 14:13:15 -06:00
luxumbra
01f4425cd7 fix some minor display inconsistencies and incorrect use of Chakra's component 2023-08-24 14:13:15 -06:00
luxumbra
f918fcbc6c fix typecheck error in the hope it allows me to commit (it didn't fml) 2023-08-24 14:13:15 -06:00
luxumbra
448376e58b better mobile display 2023-08-24 14:13:15 -06:00
luxumbra
11109b478b style tidy for the dework block 2023-08-24 14:13:15 -06:00
luxumbra
80a9f7855b forgot to truncate the text 2023-08-24 14:13:15 -06:00
δυς
4a3e611bf6 Upgrade to TypeScript v5 and fix resultant issues (#1584)
* `yarn typecheck` passing again after hours running in circles post a upgrade to TypeScript v5 🧥

* fixed height calculations & removed unused imports 👳🏿‍♀️
2023-08-24 14:13:15 -06:00
dysbulic
6ea9934ac4 making TypeScript happy 🐏 2023-08-24 14:13:15 -06:00
dysbulic
096aed4060 test commit to see if tooling is working 🍫 2023-08-24 14:13:15 -06:00
luxumbra
8f26aa870e Added types for Dework item wrapper & heading 2023-08-24 14:13:15 -06:00
luxumbra
dcf85f72d7 Styling the Dework integration.
- also took it upon myself to fix a little ui bug with the meToken section. Hope you dont mind my meddling @nitegeist. Two birds n all that 😅
2023-08-24 14:13:15 -06:00
Seroxdesign
a92ba0e0de process data and display 2023-08-24 14:13:15 -06:00
Seroxdesign
eaa9475448 get data from dework 2023-08-24 14:13:15 -06:00
Seroxdesign
23e53004a5 set up boxtype, playersection and dework profile component 2023-08-24 14:13:15 -06:00
N I T E
5e925ce148 Fix global type UpdateIDXProfileResponse bug (#1593) 2023-08-18 11:53:50 -04:00
Alec LaLonde
9144bfb4d8 Fixed MWW integration, removed more cruft 2023-08-09 09:44:10 -06:00
Alec LaLonde
307a0342be Remove usages of legacy useProfileFeild 2023-08-09 09:44:10 -06:00
dysbulic
be61bda929 switching IPFS conversion pattern to always use v1 CID 🦃 2023-08-09 09:44:10 -06:00
Alec LaLonde
2197bf4f1c Fix lint errors 2023-08-09 09:44:10 -06:00
Alec LaLonde
e97688ce3f Show website URL if provided 2023-08-09 09:44:10 -06:00
Alec LaLonde
3f19000317 Add background image helper text 2023-08-09 09:44:10 -06:00
Alec LaLonde
60ee234cfb Use updated player from context 2023-08-09 09:44:10 -06:00
Alec LaLonde
790b6d0968 Made edit profile form more compact, show field errors on blur 2023-08-09 09:44:10 -06:00
Alec LaLonde
ee5f318697 Went through profile wizard to make error conditions more obvious 2023-08-09 09:44:10 -06:00
Alec LaLonde
a94334fc87 Edit profile styling improvements 2023-08-09 09:44:10 -06:00
Alec LaLonde
f2fea89c2c Test deployment 2023-08-09 09:44:10 -06:00
Alec LaLonde
2e483a53b8 Fixed dids version which was conflicting after composedb version bump 2023-08-09 09:44:10 -06:00
Alec LaLonde
37b949dbb2 Re-added ComposeDBContextProvider which got lost in one of the rebases.. 2023-08-09 09:44:10 -06:00
Alec LaLonde
2d1de3eb56 Trying to trigger deployment 2023-08-09 09:44:10 -06:00
Alec LaLonde
6116594534 Use latest docker build stuff 2023-08-09 09:44:10 -06:00
Sero
f5b1a2be9f Edit Profile Style Changes (#1553)
* First pass at composedb models

* Removed patterns as they're not supported yet

* Started hooking up the edit profile page to composedb

* Got PoC working for persisting username to ComposeDB

* Some fixes after bumping urql to 3.x

* Refactored setup logic into ProfileWizardContext

* Implemented fetching from ComposeDB for first three profile wizard screens

* Refactored wizard stuff again to simplify it

* Finished upgrading profile setup components

* Added query to fetch all profile fields from composeDB

* Load profile data from composeDB on player page

* Unified composeDB models into one, updated setup flow to use new model

* Fixed a couple errors in first-time setup flow

* Added new linkProfileNode action to validate ceramic node on the backend

* Call new linkProfileNode action

* Implemented proper persistence w/ verification of a user's ceramic profile node

* Fetch profile details from ComposeDB during [username] page SSR

* Added PlayerHydrationContext for dynamically refreshing player data on player page

* Implemented player hydration from Hasura

* Slight refactor of Setup components to accept a player object

* Added ComposeDB migration modal, still need to implement image migration

* Added useImageReader, updated EditProfileModal to get the appropriate picked file data

* Implemented persisting ComposeDB profile fields from edit profile modal

* Check in composeDB graphql definition because generating it at build time may be problematic

* Merged in new setup profile image field page

* Fixed and tested image upload during setup

* Fixed background image URL form field name

* Added fallback for non-SSR player pages

* Implemented fetching file size and dimensions before persisting to ComposeDB

* Fix lint issues

* More debug logs

* Set CERAMIC_URL in deployment action

* Don't delete / recreate stuff

* Fix setup / avatar upload

* Fixed edit profile field saving, updated useUser to load from composeDB

* Fixed construction of profile payload when changing an image

* Pull in additional data in seed-db script

* Fixed white background in menus

* Updated GA4 ID

* Point to ceramic mainnet

* Bumped composedb version

* Fix ceramic API change

* Update frontend ceramic_url as well

* Only authenticate the DID for the model the compose client connects to

* Create a new model, last one got hosed

* Updated model ID in definition

* Reinstate original deployment action

* Fixed player loading

* Handle errors during DAO sync

* Handle questchain lookup errors during SSR build

* Replaced IDX cache actions / triggers with composeDB ones

* Added mainnet check to composeDB port modal

* Fixed issue where saving from the edit profile modal was wiping out fields

* Add ComposeDBPromptModal to setup pages as well

* Upgrade Hasura

* Added context to 'port data' modal

* fix bad merge

* Hasura 2.0 requires a flag for our sloppy queries to still work

* add comment to begin wokr

* refactor: 💄 Update profile UI to new design

* style: 💄 Minor style changes

* Add getPlayer import

* Make changes requested in #1559

* Delete EditAvatarImage.tsx.orig

* Delete EditBackgroundImage.tsx.orig

* Delete EditDescription.tsx.orig

* refactor: Remove commented code

---------

Co-authored-by: Alec LaLonde <alec@convergencelabs.com>
Co-authored-by: Alec LaLonde <alec@boxelderweb.com>
Co-authored-by: nitegeist <nitegeist.dev@gmail.com>
2023-08-09 09:44:10 -06:00
Alec LaLonde
a58b3a19f8 Hasura 2.0 requires a flag for our sloppy queries to still work 2023-08-09 09:44:10 -06:00
Alec LaLonde
8f74947a10 fix bad merge 2023-08-09 09:44:10 -06:00
Alec LaLonde
3933b7537e Added context to 'port data' modal 2023-08-09 09:44:10 -06:00
Alec LaLonde
4f98e6aa51 Upgrade Hasura 2023-08-09 09:44:10 -06:00
Alec LaLonde
f52f53b975 Add ComposeDBPromptModal to setup pages as well 2023-08-09 09:44:10 -06:00
Alec LaLonde
f3577020d1 Fixed issue where saving from the edit profile modal was wiping out fields 2023-08-09 09:44:10 -06:00
Alec LaLonde
901fa8d146 Added mainnet check to composeDB port modal 2023-08-09 09:44:10 -06:00
Alec LaLonde
655b857070 Replaced IDX cache actions / triggers with composeDB ones 2023-08-09 09:44:10 -06:00
Alec LaLonde
8ee087d730 Handle questchain lookup errors during SSR build 2023-08-09 09:44:10 -06:00
Alec LaLonde
4cadd8c274 Handle errors during DAO sync 2023-08-09 09:44:10 -06:00
Alec LaLonde
f838a95aa6 Fixed player loading 2023-08-09 09:44:10 -06:00
Alec LaLonde
6255502e90 Reinstate original deployment action 2023-08-09 09:44:10 -06:00