431 Commits

Author SHA1 Message Date
Seroxdesign
0812b6d99a graphql stuff on FE 2023-08-24 14:13:15 -06:00
luxumbra
da8fd0a880 forgot to reset the loading state 🤦 2023-08-24 14:13:15 -06:00
luxumbra
c26d9b22e0 no shrink for the loading icon 2023-08-24 14:13:15 -06:00
luxumbra
d1641d9f06 update ProfileSection to include connected state for Dework 2023-08-24 14:13:15 -06:00
luxumbra
6d5b06db2b updates to include Error state when user has no dework profile 2023-08-24 14:13:15 -06:00
luxumbra
84a8fa7969 better mobile display 2023-08-24 14:13:15 -06:00
luxumbra
c59aba5073 style tidy for the dework block 2023-08-24 14:13:15 -06:00
luxumbra
74954fa645 forgot to truncate the text 2023-08-24 14:13:15 -06:00
δυς
952a25a3be 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
luxumbra
96d551e13c Added types for Dework item wrapper & heading 2023-08-24 14:13:15 -06:00
luxumbra
6c909c3922 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
48a2f5d8a5 process data and display 2023-08-24 14:13:15 -06:00
Seroxdesign
f70ce30493 get data from dework 2023-08-24 14:13:15 -06:00
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
01f4425cd7 fix some minor display inconsistencies and incorrect use of Chakra's component 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
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
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
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
790b6d0968 Made edit profile form more compact, show field errors on blur 2023-08-09 09:44:10 -06:00
Alec LaLonde
a94334fc87 Edit profile styling improvements 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
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
f52f53b975 Add ComposeDBPromptModal to setup pages as well 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
7bd4e11d51 Implemented fetching file size and dimensions before persisting to ComposeDB 2023-08-09 09:44:10 -06:00
Alec LaLonde
2e8b98d762 Implemented persisting ComposeDB profile fields from edit profile modal 2023-08-09 09:44:10 -06:00
Alec LaLonde
b78e17f81b Added useImageReader, updated EditProfileModal to get the appropriate picked file data 2023-08-09 09:44:10 -06:00
Alec LaLonde
5997140836 Added ComposeDB migration modal, still need to implement image migration 2023-08-09 09:44:10 -06:00
Alec LaLonde
7551d0149e Slight refactor of Setup components to accept a player object 2023-08-09 09:44:10 -06:00
Alec LaLonde
0ca66d1da3 Implemented player hydration from Hasura 2023-08-09 09:44:10 -06:00
Alec LaLonde
4195aa5ce7 Added PlayerHydrationContext for dynamically refreshing player data on player page 2023-08-09 09:44:10 -06:00
Alec LaLonde
c7be9eae90 Load profile data from composeDB on player page 2023-08-09 09:44:10 -06:00