97 Commits

Author SHA1 Message Date
δυς
da978c4eb3 criminey, much finessing to hopefully cause the test instance to build 🏛️ 2024-08-13 19:04:31 -04:00
δυς
2118e92bad switching to package.json import munging from TypeScript paths 🥔 2024-08-13 19:04:31 -04:00
Sero
38c3dc059e Sero/wc v2 (#1735)
* wc/wagmi/viem

* replace

* profile

* replace context (,:

* testing, clean up

* wallet connect deploy

* connect

* remove type slive

* podcast

* podcast

* heck yeah

* feat: connect button

* chore

* trying siwe, network switch

* redirect

* prettying, cleaning up SIWE endpoints, & passing linting 🕊

* switching minting to Optimism & converting `ethers` to `wagmi` for contract access 🥧

* simplified onboarding & successfully minted 

* typo

* api key

---------

Co-authored-by: Udit Takkar <udit222001@gmail.com>
Co-authored-by: dysbulic <dys@dhappy.org>
2024-03-21 06:09:12 -04:00
Sero
5764272963 fixing ugly stuff (#1724) 2024-02-01 10:40:20 -05:00
Sero
3a17fbf1c6 remove all unused dependencies (#1720)
* remove all unused dependencies

* lazy load

* lazy load

* lazy load

* remove react imports, remove sourced

* remove react imports, remove sourced

* remove react imports, remove sourced

* restructure
2024-01-30 06:18:48 -05:00
Sero
3553a9d4f3 xp and seed reward 2024-01-25 10:36:05 -05:00
Sero
72362b377e fix data merge (#1651)
* unified community page start

* community tabs, tablist and body

* community tab fix

* Make tabs width dynamic

* fix dashboard regression

* make community page dynamic, reduce repitition

* fix imports, fix bugs

* make underline on selected page, change custom block CTA, remove forum. align news

* onboarding screen full page

* Update index.tsx

* Update index.tsx

* unified community page start

* community tabs, tablist and body

* community tab fix

* Make tabs width dynamic

* make community page dynamic, reduce repitition

* fix imports, fix bugs

* questchain fix

* Commit wip

* Fixes "Merge role paths, playbooks & great houses into a single page"
- Just need to add numbers or data source for `seedsEarned`

* Forgot to remove the redundant Learn code.

* fixed issue with incorrect url path in the card.
- also started improving on responsive after discussion with peth.

* WIP on adding the carousel functionality.

* next / prev buttons now to do added. some bits still to do to refine functionality

* making header full width with centred menu after some discussionin discord
- Resolves issue with the profile pop-over being out of place
- with there being multiple pages widths in the site, this imho balances out alignment issues

* Scrollbar styles for firefox & changing color to purple

* Fixed issue with scrollbar showing in search results when no scrolling required

* Removed extraneous comments & renamed component & prop types to clearer name
- also tweaking the color on the scrollbars.

* bump eslint to fix recent errors

* fixed breakage related to props.

* rename to Academy.
- also removed overlay on cards, replaced with text shadow

* smol tweaks & responsive improvements - WIP

* tweaks to slider to fix issues with position of the items on prev & next. Also fixd disabling the next button on the last item.

* more responsive styles. base, md, xl & 2xl. fixed a couple of display issues.

* Adding 'submit a playbook' playbook to all categories.

* Addressed feedback from @alalonde

* Fixed responsive issues

* removed extraneous comments

* streamlining XP calculation, adding token multiplier, & returning detailed info from balance sync task 🧲

* making changes to force a redeploy 🍦

* adding a bunch of down migrations 🔦

* cascading column `drop`s 🛀

* fixing `trigger` `drop`s 📬

* handling result pagination, reverse chronology, & setting initial skip 🥞

* Update DesktopPlayerStats.tsx

* calendar now pulling data from my endpoint and styled as per the Figma.

* fixed linting issue by updating the eslint-parser.

* remove extraneous logs

* some style tweaks, cleaning up the description and other improvements

* disable after 20 events

* doh! left the local url by mistake

* hover for the items

* update styles to match designs. I am having an issue where I can't change the height of the block, so it will only go as high as 4 items rn

* addressed feedback from @davort around 'load more' & smol display issues

* addressed some review comments from @alalonde

* forgot to change the url back

* tweak to scrollbar styles as the shadow was a bit too much with the alpha on the thumb.

* wip on moving my express backend into

* further wip on moving stuff to . Now displaying the events but I still need to sort the load more functionality

* fix regression

* final changes for the calendar after refactor to use Next api routes.

* replace localhost api url with

* remove ts-ignore

* Update MegaMenuHeader.tsx

* adding env vars for the calendar stuff which will hopefully fix test.

* fix some memory issues with my code

* wip on fixing isues

* updating GitHub Actions 🐊

* Fix Google Calendar environment variables (#1638)

* passing Google Calendar API info through build process 🈴

* renaming env vars & publishing them to the build process 🐦

* auto checkout not working for Hasura build 🦷

* discovered some not renamed variables 🉐

* adding swap space ☄

* trying to expand Node's heap size 🧐

* underscored rather than dashed 🌾

* trying node 20 🦙

* switching to `python3` 🌮

* updating `node-gyp` & `better-sqlite3` 🛵

* returning error details 🦚

* trying a different mechanism for increasing the Node heap 🦟

* fix: fix logic for checking the host. Now using a whitelist set in config.ts and checking that against the publicURL

* fix: was referencing the cal id with NEXT_PUBLIC_GOOGLE_CAL prefix but it is now GCAL_ - should sort the missing credentials issue

* printing settings for sanity check 🐻

* setting runtime environment 🌲

* trying to set runtime env 👩🏿‍🔧

* grabbing calendar id 🤴🏿

* replacing escapes newlines in private key 🍨

* removing logging 🥾

* fix: body overflow issue when events have long descriptions

* feat: style/design updates to calendar pop overs

* chore: clean up comments

* fix: use ListItem

* fixed issues after review from @dysbulic

* fix: addressed comments from dys' review, removed a cpl of comments and increased the days initially displayed to fill the block

---------

Co-authored-by: luxumbra <me@luxumbra.dev>

* removing `yarn` v15 from `Dockerfile` 👼🏿

* begin work on unify signup

* Create custom image tabs [WIP]

* Add content and style unified signup page

* Implement responsive styles

* Clean up code

* Remove gap from between perk cards

* Remove unnecessary badges on mobile & change join text

* Fix typo

* Working on masking content beliw tabs on desktop

* Fix card width & remove mask attempt

* Fix mobile cut off

* Fix mobile view

* Fix mobile layout by resizing content

* Make changes based on suggestions

* CHange pro tier to say inquire

* Redirect to /signup?tab=player when user navigates to /signup

* Center role cards

* Fix masking issue

* Fix text

* Refactor code to be more dynamic

* Make active tab local variable, make OR condition more dynamic, minor changes

* Fix nested ternary

* Fix role scope issue

* Fix redirect

* Fix badge ternary

* Fix import error

* Fix import again

* add rotating one liners

* test fix

* Fix animation

* Fix eslint stuff

* Fix linting error

* renamed Google Analytics environment variable & passed it through to Docker 🧫

* Change Landing Page CTA (#1640)

* add langing page cta; speed up 1liners

* sort fix

* add gradient

* absolute position

---------

Co-authored-by: Seroxdesign <sherifcherfa@gmail.com>
Co-authored-by: Sero <69639595+Seroxdesign@users.noreply.github.com>

* Fixed MWW integration, removed more cruft

* A min height makes the 'created by me' switch the same height as the MetaFilterSelectSearch components

This is needed because at certain screen sizes it wraps on to its own row and shrinks

* Fix up the repetition/cooldown.

RepetitionTag was showing a placeholder value; QuestForm was showing the value in seconds instead of hours

* Removed the external link field.

It's not going to be used any more; no one knew what it was supposed to be used for

* Use QuestDetailsImage for the image preview

It matches better with the new design

* Font for form headings matches new design

* Basic appearance of Delete Quest modal

Added delete button, added the AlertDialog component and added AlertDialogCloseButton to design system exports. Actual delete functionality not added.

* Stub for Delete flow

* Added DELETED option to Quest Status enum

* Quests can be set as deleted using the useUpdateQuestMutation

* Change where questRoles and questSkills are assigned, use camelCase to pass linting

* Bring in the Chakra Alert components to use

* Show a *Quest was deleted* alert if a deleted quest is viewed

* Change quest status option from Deleted to Archived

Plus tidying some unused imports

* Increased line height in quest tile heading to prevent clipping of descenders of y and g

* Updated schema

* background rehaul

* fix onboarding game height, fix matrix animation

---------

Co-authored-by: N I T E <nitegeist.dev@gmail.com>
Co-authored-by: luxumbra <me@luxumbra.dev>
Co-authored-by: dysbulic <dys@dhappy.org>
Co-authored-by: Alec LaLonde <alec@boxelderweb.com>
Co-authored-by: HHH-GH <hayden@opie-etc.com>
2023-12-02 09:36:35 -05:00
Sero
1144055f6e Revert "release (#1649)" (#1650)
This reverts commit 40bb5dece5.
2023-12-01 05:59:54 -05:00
Sero
40bb5dece5 release (#1649)
* unified community page start

* community tabs, tablist and body

* community tab fix

* Make tabs width dynamic

* fix dashboard regression

* make community page dynamic, reduce repitition

* fix imports, fix bugs

* make underline on selected page, change custom block CTA, remove forum. align news

* onboarding screen full page

* Update index.tsx

* Update index.tsx

* unified community page start

* community tabs, tablist and body

* community tab fix

* Make tabs width dynamic

* make community page dynamic, reduce repitition

* fix imports, fix bugs

* questchain fix

* Commit wip

* Fixes "Merge role paths, playbooks & great houses into a single page"
- Just need to add numbers or data source for `seedsEarned`

* Forgot to remove the redundant Learn code.

* fixed issue with incorrect url path in the card.
- also started improving on responsive after discussion with peth.

* WIP on adding the carousel functionality.

* next / prev buttons now to do added. some bits still to do to refine functionality

* making header full width with centred menu after some discussionin discord
- Resolves issue with the profile pop-over being out of place
- with there being multiple pages widths in the site, this imho balances out alignment issues

* Scrollbar styles for firefox & changing color to purple

* Fixed issue with scrollbar showing in search results when no scrolling required

* Removed extraneous comments & renamed component & prop types to clearer name
- also tweaking the color on the scrollbars.

* bump eslint to fix recent errors

* fixed breakage related to props.

* rename to Academy.
- also removed overlay on cards, replaced with text shadow

* smol tweaks & responsive improvements - WIP

* tweaks to slider to fix issues with position of the items on prev & next. Also fixd disabling the next button on the last item.

* more responsive styles. base, md, xl & 2xl. fixed a couple of display issues.

* Adding 'submit a playbook' playbook to all categories.

* Addressed feedback from @alalonde

* Fixed responsive issues

* removed extraneous comments

* streamlining XP calculation, adding token multiplier, & returning detailed info from balance sync task 🧲

* making changes to force a redeploy 🍦

* adding a bunch of down migrations 🔦

* cascading column `drop`s 🛀

* fixing `trigger` `drop`s 📬

* handling result pagination, reverse chronology, & setting initial skip 🥞

* Update DesktopPlayerStats.tsx

* calendar now pulling data from my endpoint and styled as per the Figma.

* fixed linting issue by updating the eslint-parser.

* remove extraneous logs

* some style tweaks, cleaning up the description and other improvements

* disable after 20 events

* doh! left the local url by mistake

* hover for the items

* update styles to match designs. I am having an issue where I can't change the height of the block, so it will only go as high as 4 items rn

* addressed feedback from @davort around 'load more' & smol display issues

* addressed some review comments from @alalonde

* forgot to change the url back

* tweak to scrollbar styles as the shadow was a bit too much with the alpha on the thumb.

* wip on moving my express backend into

* further wip on moving stuff to . Now displaying the events but I still need to sort the load more functionality

* fix regression

* final changes for the calendar after refactor to use Next api routes.

* replace localhost api url with

* remove ts-ignore

* Update MegaMenuHeader.tsx

* adding env vars for the calendar stuff which will hopefully fix test.

* fix some memory issues with my code

* wip on fixing isues

* updating GitHub Actions 🐊

* Fix Google Calendar environment variables (#1638)

* passing Google Calendar API info through build process 🈴

* renaming env vars & publishing them to the build process 🐦

* auto checkout not working for Hasura build 🦷

* discovered some not renamed variables 🉐

* adding swap space ☄

* trying to expand Node's heap size 🧐

* underscored rather than dashed 🌾

* trying node 20 🦙

* switching to `python3` 🌮

* updating `node-gyp` & `better-sqlite3` 🛵

* returning error details 🦚

* trying a different mechanism for increasing the Node heap 🦟

* fix: fix logic for checking the host. Now using a whitelist set in config.ts and checking that against the publicURL

* fix: was referencing the cal id with NEXT_PUBLIC_GOOGLE_CAL prefix but it is now GCAL_ - should sort the missing credentials issue

* printing settings for sanity check 🐻

* setting runtime environment 🌲

* trying to set runtime env 👩🏿‍🔧

* grabbing calendar id 🤴🏿

* replacing escapes newlines in private key 🍨

* removing logging 🥾

* fix: body overflow issue when events have long descriptions

* feat: style/design updates to calendar pop overs

* chore: clean up comments

* fix: use ListItem

* fixed issues after review from @dysbulic

* fix: addressed comments from dys' review, removed a cpl of comments and increased the days initially displayed to fill the block

---------

Co-authored-by: luxumbra <me@luxumbra.dev>

* removing `yarn` v15 from `Dockerfile` 👼🏿

* begin work on unify signup

* Create custom image tabs [WIP]

* Add content and style unified signup page

* Implement responsive styles

* Clean up code

* Remove gap from between perk cards

* Remove unnecessary badges on mobile & change join text

* Fix typo

* Working on masking content beliw tabs on desktop

* Fix card width & remove mask attempt

* Fix mobile cut off

* Fix mobile view

* Fix mobile layout by resizing content

* Make changes based on suggestions

* CHange pro tier to say inquire

* Redirect to /signup?tab=player when user navigates to /signup

* Center role cards

* Fix masking issue

* Fix text

* Refactor code to be more dynamic

* Make active tab local variable, make OR condition more dynamic, minor changes

* Fix nested ternary

* Fix role scope issue

* Fix redirect

* Fix badge ternary

* Fix import error

* Fix import again

* add rotating one liners

* test fix

* Fix animation

* Fix eslint stuff

* Fix linting error

* renamed Google Analytics environment variable & passed it through to Docker 🧫

* Change Landing Page CTA (#1640)

* add langing page cta; speed up 1liners

* sort fix

* add gradient

* absolute position

---------

Co-authored-by: Seroxdesign <sherifcherfa@gmail.com>
Co-authored-by: Sero <69639595+Seroxdesign@users.noreply.github.com>

* Fixed MWW integration, removed more cruft

* A min height makes the 'created by me' switch the same height as the MetaFilterSelectSearch components

This is needed because at certain screen sizes it wraps on to its own row and shrinks

* Fix up the repetition/cooldown.

RepetitionTag was showing a placeholder value; QuestForm was showing the value in seconds instead of hours

* Removed the external link field.

It's not going to be used any more; no one knew what it was supposed to be used for

* Use QuestDetailsImage for the image preview

It matches better with the new design

* Font for form headings matches new design

* Basic appearance of Delete Quest modal

Added delete button, added the AlertDialog component and added AlertDialogCloseButton to design system exports. Actual delete functionality not added.

* Stub for Delete flow

* Added DELETED option to Quest Status enum

* Quests can be set as deleted using the useUpdateQuestMutation

* Change where questRoles and questSkills are assigned, use camelCase to pass linting

* Bring in the Chakra Alert components to use

* Show a *Quest was deleted* alert if a deleted quest is viewed

* Change quest status option from Deleted to Archived

Plus tidying some unused imports

* Increased line height in quest tile heading to prevent clipping of descenders of y and g

* Updated schema

* background rehaul

* fix onboarding game height, fix matrix animation

---------

Co-authored-by: N I T E <nitegeist.dev@gmail.com>
Co-authored-by: luxumbra <me@luxumbra.dev>
Co-authored-by: dysbulic <dys@dhappy.org>
Co-authored-by: Alec LaLonde <alec@boxelderweb.com>
Co-authored-by: HHH-GH <hayden@opie-etc.com>
2023-12-01 05:44:59 -05:00
Sero
3d226ed9dd Revert "Platform UX Squad (#1647)" (#1648)
This reverts commit 0da0f17ed7.
2023-12-01 04:51:38 -05:00
Sero
0da0f17ed7 Platform UX Squad (#1647)
* unified community page start

* community tabs, tablist and body

* community tab fix

* Make tabs width dynamic

* fix dashboard regression

* make community page dynamic, reduce repitition

* fix imports, fix bugs

* make underline on selected page, change custom block CTA, remove forum. align news

* onboarding screen full page

* Update index.tsx

* Update index.tsx

* unified community page start

* community tabs, tablist and body

* community tab fix

* Make tabs width dynamic

* make community page dynamic, reduce repitition

* fix imports, fix bugs

* questchain fix

* Commit wip

* Fixes "Merge role paths, playbooks & great houses into a single page"
- Just need to add numbers or data source for `seedsEarned`

* Forgot to remove the redundant Learn code.

* fixed issue with incorrect url path in the card.
- also started improving on responsive after discussion with peth.

* WIP on adding the carousel functionality.

* next / prev buttons now to do added. some bits still to do to refine functionality

* making header full width with centred menu after some discussionin discord
- Resolves issue with the profile pop-over being out of place
- with there being multiple pages widths in the site, this imho balances out alignment issues

* Scrollbar styles for firefox & changing color to purple

* Fixed issue with scrollbar showing in search results when no scrolling required

* Removed extraneous comments & renamed component & prop types to clearer name
- also tweaking the color on the scrollbars.

* bump eslint to fix recent errors

* fixed breakage related to props.

* rename to Academy.
- also removed overlay on cards, replaced with text shadow

* smol tweaks & responsive improvements - WIP

* tweaks to slider to fix issues with position of the items on prev & next. Also fixd disabling the next button on the last item.

* more responsive styles. base, md, xl & 2xl. fixed a couple of display issues.

* Adding 'submit a playbook' playbook to all categories.

* Addressed feedback from @alalonde

* Fixed responsive issues

* removed extraneous comments

* streamlining XP calculation, adding token multiplier, & returning detailed info from balance sync task 🧲

* making changes to force a redeploy 🍦

* adding a bunch of down migrations 🔦

* cascading column `drop`s 🛀

* fixing `trigger` `drop`s 📬

* handling result pagination, reverse chronology, & setting initial skip 🥞

* Update DesktopPlayerStats.tsx

* calendar now pulling data from my endpoint and styled as per the Figma.

* fixed linting issue by updating the eslint-parser.

* remove extraneous logs

* some style tweaks, cleaning up the description and other improvements

* disable after 20 events

* doh! left the local url by mistake

* hover for the items

* update styles to match designs. I am having an issue where I can't change the height of the block, so it will only go as high as 4 items rn

* addressed feedback from @davort around 'load more' & smol display issues

* addressed some review comments from @alalonde

* forgot to change the url back

* tweak to scrollbar styles as the shadow was a bit too much with the alpha on the thumb.

* wip on moving my express backend into

* further wip on moving stuff to . Now displaying the events but I still need to sort the load more functionality

* fix regression

* final changes for the calendar after refactor to use Next api routes.

* replace localhost api url with

* remove ts-ignore

* Update MegaMenuHeader.tsx

* adding env vars for the calendar stuff which will hopefully fix test.

* fix some memory issues with my code

* wip on fixing isues

* updating GitHub Actions 🐊

* Fix Google Calendar environment variables (#1638)

* passing Google Calendar API info through build process 🈴

* renaming env vars & publishing them to the build process 🐦

* auto checkout not working for Hasura build 🦷

* discovered some not renamed variables 🉐

* adding swap space ☄

* trying to expand Node's heap size 🧐

* underscored rather than dashed 🌾

* trying node 20 🦙

* switching to `python3` 🌮

* updating `node-gyp` & `better-sqlite3` 🛵

* returning error details 🦚

* trying a different mechanism for increasing the Node heap 🦟

* fix: fix logic for checking the host. Now using a whitelist set in config.ts and checking that against the publicURL

* fix: was referencing the cal id with NEXT_PUBLIC_GOOGLE_CAL prefix but it is now GCAL_ - should sort the missing credentials issue

* printing settings for sanity check 🐻

* setting runtime environment 🌲

* trying to set runtime env 👩🏿‍🔧

* grabbing calendar id 🤴🏿

* replacing escapes newlines in private key 🍨

* removing logging 🥾

* fix: body overflow issue when events have long descriptions

* feat: style/design updates to calendar pop overs

* chore: clean up comments

* fix: use ListItem

* fixed issues after review from @dysbulic

* fix: addressed comments from dys' review, removed a cpl of comments and increased the days initially displayed to fill the block

---------

Co-authored-by: luxumbra <me@luxumbra.dev>

* removing `yarn` v15 from `Dockerfile` 👼🏿

* begin work on unify signup

* Create custom image tabs [WIP]

* Add content and style unified signup page

* Implement responsive styles

* Clean up code

* Remove gap from between perk cards

* Remove unnecessary badges on mobile & change join text

* Fix typo

* Working on masking content beliw tabs on desktop

* Fix card width & remove mask attempt

* Fix mobile cut off

* Fix mobile view

* Fix mobile layout by resizing content

* Make changes based on suggestions

* CHange pro tier to say inquire

* Redirect to /signup?tab=player when user navigates to /signup

* Center role cards

* Fix masking issue

* Fix text

* Refactor code to be more dynamic

* Make active tab local variable, make OR condition more dynamic, minor changes

* Fix nested ternary

* Fix role scope issue

* Fix redirect

* Fix badge ternary

* Fix import error

* Fix import again

* add rotating one liners

* test fix

* Fix animation

* Fix eslint stuff

* Fix linting error

* renamed Google Analytics environment variable & passed it through to Docker 🧫

* Change Landing Page CTA (#1640)

* add langing page cta; speed up 1liners

* sort fix

* add gradient

* absolute position

---------

Co-authored-by: Seroxdesign <sherifcherfa@gmail.com>
Co-authored-by: Sero <69639595+Seroxdesign@users.noreply.github.com>

* Fixed MWW integration, removed more cruft

* A min height makes the 'created by me' switch the same height as the MetaFilterSelectSearch components

This is needed because at certain screen sizes it wraps on to its own row and shrinks

* Fix up the repetition/cooldown.

RepetitionTag was showing a placeholder value; QuestForm was showing the value in seconds instead of hours

* Removed the external link field.

It's not going to be used any more; no one knew what it was supposed to be used for

* Use QuestDetailsImage for the image preview

It matches better with the new design

* Font for form headings matches new design

* Basic appearance of Delete Quest modal

Added delete button, added the AlertDialog component and added AlertDialogCloseButton to design system exports. Actual delete functionality not added.

* Stub for Delete flow

* Added DELETED option to Quest Status enum

* Quests can be set as deleted using the useUpdateQuestMutation

* Change where questRoles and questSkills are assigned, use camelCase to pass linting

* Bring in the Chakra Alert components to use

* Show a *Quest was deleted* alert if a deleted quest is viewed

* Change quest status option from Deleted to Archived

Plus tidying some unused imports

* Increased line height in quest tile heading to prevent clipping of descenders of y and g

* Updated schema

* background rehaul

* fix onboarding game height, fix matrix animation

---------

Co-authored-by: N I T E <nitegeist.dev@gmail.com>
Co-authored-by: luxumbra <me@luxumbra.dev>
Co-authored-by: dysbulic <dys@dhappy.org>
Co-authored-by: Alec LaLonde <alec@boxelderweb.com>
Co-authored-by: HHH-GH <hayden@opie-etc.com>
2023-12-01 04:37:34 -05:00
Alec LaLonde
2197bf4f1c Fix lint errors 2023-08-09 09:44:10 -06:00
HHH-GH
71c3fa3a9a Edit button visible only to Quest owner
Was visible to all during design feedback phase
2023-06-28 09:56:59 -06:00
HHH-GH
4245d5cee1 Take out the 'more' in the +X skills tag 2023-06-28 09:56:59 -06:00
HHH-GH
1df7d94464 Default maxSkills set to 5 to try to keep the skills list to two lines in the QuestTile 2023-06-28 09:56:59 -06:00
HHH-GH
37ce27f7f5 Add tooltip that lists the names of the skills that didn't fit in the list in QuestTile 2023-06-28 09:56:59 -06:00
HHH-GH
cbfcd9ba03 Add zIndex to WrapItem to lift it over the LinkOverlay that makes the whole tile a click target
This allows the Tooltip to display when hovered
2023-06-28 09:56:59 -06:00
HHH-GH
825d492992 The tag for extra skills says +5 *more* instead of just +5 2023-06-28 09:56:59 -06:00
HHH-GH
90b3f3370b Up to 6 skills are shown in each tile on the Quest Explorer page 2023-06-28 09:56:59 -06:00
HHH-GH
cba294ebd2 The full list of skills are shown on the Quest view page
Previously limited to 4 skills, with no way to view any skills past that limit
2023-06-28 09:56:59 -06:00
HHH-GH
a08e8d1115 Preview of edit and delete buttons
(Neither button does anything right now, design preview only)
2023-06-28 09:56:59 -06:00
HHH-GH
73ea119ec2 Preview of edit and delete buttons in layout
(The buttons don't do anything right now)
2023-06-28 09:56:59 -06:00
HHH-GH
626f6217f5 ...and they're saying :first-of-type is better than :first-child with static rendering 2023-06-28 09:56:59 -06:00
HHH-GH
3bb9ee49f0 Roles tags are not shown in the Quest tile
Because it makes the tile look too tall
2023-06-28 09:56:59 -06:00
HHH-GH
2ce0533e22 Add examples of edit and delete buttons
Clicking the buttons doesn't do anything
2023-06-28 09:56:59 -06:00
HHH-GH
7e12a3d1d1 Update Rewards text 2023-06-28 09:56:59 -06:00
HHH-GH
949451240a Add the Quest Status and Repetition tags to the Quest Details page
Changed the border radius and font size of the tags to better match the new design
2023-06-28 09:56:59 -06:00
HHH-GH
6be230c608 Fixes in Quest tiles: the text in the heading is clipped properly if it is longer than two lines, the quest image has a border radius on the top corners only, the Quest description is clipped to 3 lines 2023-06-28 09:56:59 -06:00
HHH-GH
f28c62b383 Add CSS rules to de-format the descriptions in the quest tiles in the Quests list
Because the descriptions are added by users and can have HTML and Markdown, and for e.g. if someone put in three headings right at the start of the description the description text would be huge and card would be really tall with the font size and margins and all that
2023-06-28 09:56:59 -06:00
HHH-GH
1d6059ce3d Use the new default quest image in the create and edit flows 2023-06-28 09:56:59 -06:00
HHH-GH
d2f11051a8 Border radius on Requirements and Rewards boxes matches the the Quest Image at 10px 2023-06-28 09:56:59 -06:00
HHH-GH
3c59194e5d The main image on the quest details is 1/1 ratio til md size, then 4/3 ratio after that 2023-06-28 09:56:59 -06:00
HHH-GH
062b27b225 A component to use Chakra AspectRatio for the Quest Tile image
Plus rounded corners for the Quest Images to match the Figma design
2023-06-28 09:56:59 -06:00
HHH-GH
aaaf14d373 Change the default quest image to match the Figma design 2023-06-28 09:56:59 -06:00
HHH-GH
5135022592 Fix alignment and grammar for the 'no proposals' message 2023-06-28 09:56:59 -06:00
HHH-GH
8981b73702 Typography for the Quest description matches the new design
Ref: https://www.figma.com/file/2yEeQUrgPOrLOq6DpC6Mb7/Quests-UI?node-id=519-2199&t=f7ABDY7Dw2Yxtrsc-0
2023-06-28 09:56:59 -06:00
HHH-GH
a758606bc6 Make the sub-titles into headings again
Ref: https://github.com/MetaFam/TheGame/pull/1461#issuecomment-1337893636
2023-06-28 09:56:59 -06:00
HHH-GH
7ec0d8a56b Quest Details page split into components, layout is finished
TODO(HHH-GH): some CSS rules to make the description match the new design, then remove the test text
2023-06-28 09:56:59 -06:00
HHH-GH
e30b2db8b6 Quest Explorer list shows 50 quests by default
TODO(HHH-GH): test this in an environment where there are more than 10 quests
2023-06-28 09:56:59 -06:00
HHH-GH
151ab18109 Remove the check for having a description
Placeholder text is added if there's no quest description, so there's always going to be a description
2023-06-28 09:56:59 -06:00
HHH-GH
0e5135257e Border radius on tags matches new design, skills and roles tags are both md size 2023-06-28 09:56:59 -06:00
HHH-GH
850df45f17 Put back the LinkOverlay so the whole card is a link target
BUT there needs to be a LinkOverlay for MetaTileHeader and MetaTileBody so that links inside the Quest Description don't cause hydration errors
2023-06-28 09:56:59 -06:00
HHH-GH
20660aed9e Update Quest Tiles layout
Change LinkOverlay to link
Pass a size to SquareImage
Style of heading matches new design
Take out the read more button and related code
Alignment of description, roles tags, and skills tags
TODO(HHH-GH): the hydration error, look at why a description can be blank
2023-06-28 09:56:59 -06:00
HHH-GH
b16f45d8d6 Tidy up the basic layout of the Quest Explorer page
Spacings, font sizes/weights, widths, etc
2023-06-28 09:56:59 -06:00
Alec LaLonde
08bae099a9 Cache ENS lookup (#1542)
* Added usePlayerName and usePlayerURL

* Removed resize handler as it was always rendering regardless of edit status

* re-work player page to avoid duplicate player lookups

* Lint fixes

* Force 5.x version of ethers
2023-04-12 05:54:59 -04:00
dysbulic
769f60195d repeated p weirdness 🐥 2023-03-13 10:19:16 -06:00
dysbulic
3029a6818b converting PNGs to WebPs 🇲🇦 2023-03-13 10:19:16 -06:00
Sero
b30267941b Resolve ENS
* moving pr over to fresh branch

* fixes

* update migrate

* pulling in files for rename of `migrate` to `sync` for SourceCred 🔖

* fix

* prevent lack of data

* formatAddress

* tile

* fixes

* switch rpc

* refactor and remove maps, clean up set

---------

Co-authored-by: dysbulic <dys@dhappy.org>
2023-03-02 15:36:34 -05:00
W.J. “dysbulic” H
ec11e39fca increasing z-index to prevent title blurring by backdrop-filter 🚞 2022-12-13 00:02:16 +01:00
δυς
b67025fd60 Adding of an Image to Quests & Other Fixes (#1461)
* squashing @thebeyondr's adding an image to quests 🧣

* cleaning, conglomerating, & standardizing 

* properly spreading arguments & restructuring forms 🥴

* setting required pSEED to 0 in testing & switching the IPFS gateway ⛑

* printing `NODE_ENV` to double check testing setting 🔩

* `connecting` needs to be initially false to avoid a hydration error 🛶

* testing if setting `$NODE_ENV` is sufficient for configuration 🦋

* seeing if "development" works as a `NODE_ENV` for Next.js 

* adding graphql retry on empty response 🥁

* consuming `NODE_ENV` in Dockerfile 🥺

* going to `APP_ENV` b/c `NODE_ENV` is unsettable 🎺

* removing printing `NEXT_PUBLIC_APP_ENV` 🦷

* making entire quest tile a link

* aligned rank tag in quest details page

* fix: 🐛 Add a `minWidth` to `PlayerTile`

* feat:  Add more accurate image preview for quests

* feat:  Add image to `QuestDetail`

* refactor: 💬 Update `Raid/Phase III` description

* UI & semantics tweaks from @luxumbra 🧞‍♀️

* centering short quest titles 🇪🇺

* borked the quest title centering 👹

Co-authored-by: Scott Stevenson <scott@1box.onmicrosoft.com>
Co-authored-by: thebeyondr <beyondr42@gmail.com>
2022-12-06 17:02:08 -05:00