52 Commits

Author SHA1 Message Date
δυς
2118e92bad switching to package.json import munging from TypeScript paths 🥔 2024-08-13 19:04:31 -04:00
Sero
1345015cbd Eas - ethers compat issues between dependencies (#1748)
* eh

* dashboard layout

* t

* t

* ethers issues identified

* `/me` is loading & linting without error 🍞

* fixing an `import`s order error 🛼

* Update useEAS.ts

* eas

* attestations working

* get attestations

* attest

* chore: improve design

* chore: size

* change design

* fix: update schema

* chore

* eas

* eas

---------

Co-authored-by: dysbulic <dys@dhappy.org>
Co-authored-by: Udit Takkar <udit222001@gmail.com>
2024-04-29 07:38:35 -04: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
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
δυς
5f8cae1aea Improving Leaderboard Loading Time
* removing BrightId *(unused)* and DAOHaus memberships *(loaded separately)* from `Player` retreival 🦷

* setting `max-width` on hamburger menu 🧾

* increasing shown DAOs, shunting remote schemas, & handling missing Discord token 🤐

* triggering recalc on element resize 🚲

* adding copy of ETH address on profile image click 🛹

* adding `@emotion/cache` to try and eliminate unstyled content render 

* cleaning up failed emotion cache experiment 🚓

* updating Ceramic & locking versions to beat a dependency conflict 🤲🏿
2023-01-31 16:44:01 -05:00
HHH
5ae48a3210 Use line clamp to limit lines shown for player/guild/patron description
* Use Chakra noOfLines to limit the length of Player/Patron/
Guild descriptions in the leaderboards

* Make the appearance of Player tiles and Guild tiles match better

Contact section is pushed to the bottom of the tile

Consistent spacing between section headings and text in the tile body

Bit of text shadow on the tile heading in case the player picture/guild logo has a light background

* Set background for tile heading, remove unneeded code and comments, guild type caption moved inside the conditional

Suggestions from code review from @dysbulic

* Add the Join CTA to the Patrons, Players, and Guilds pages

* Set a max width for the grid of tiles in PlayerList

* More descriptive meta title/description for players page

* Empty base of new Search and Filters layout

Plus code comments, commenting out the existing search and filters components

* Set up sticky container in PlayerFilter

Move the sticky container out of DesktopFilters so it can wrap the search box and the filters, add test content to help with making the layout

* Basic flex layout for the search and filters box

* Add the Filters icon SVG and import in design system

* Add Chakra Search icon to design system export

* Search box and filters styling finished for small screen design

* Layout for the desktop filters and large screen views

* Tidy the comments, remove unused components

* Better spacing for Join CTA

Make a larger margin on small screens, a consistent space between page header and the CTA and the lists

* Add nowrap to links in CTA to prevent line-breaks in the middle of the link

* Updated spacing around the Join CTA links (forgot a breakpoint in previous change)

* Remove the extra spacing added to Vstack at lg

Ref https://github.com/MetaFam/TheGame/pull/1484#discussion_r1058950645

* Make the loading component the same width as the loaded cards

* Text search is triggered by onChange in the search input instead of a form submission

Co-authored-by: vidvidvid <weetopol@gmail.com>

* maxW is 7xl instead of 79rem, matching the other components

* Use Chakra noOfLines to limit the length of Player/Patron/
Guild descriptions in the leaderboards

* Make the appearance of Player tiles and Guild tiles match better

Contact section is pushed to the bottom of the tile

Consistent spacing between section headings and text in the tile body

Bit of text shadow on the tile heading in case the player picture/guild logo has a light background

* Set background for tile heading, remove unneeded code and comments, guild type caption moved inside the conditional

Suggestions from code review from @dysbulic

* Use Chakra noOfLines to limit the length of Player/Patron/
Guild descriptions in the leaderboards

* Make the appearance of Player tiles and Guild tiles match better

Contact section is pushed to the bottom of the tile

Consistent spacing between section headings and text in the tile body

Bit of text shadow on the tile heading in case the player picture/guild logo has a light background

* Set background for tile heading, remove unneeded code and comments, guild type caption moved inside the conditional

Suggestions from code review from @dysbulic

* FIX: show the search icon for all screen sizes (#1411)

Made some changes for vid, forgot to put the icon back before the PR was merged

* FIX: didn't fix this conflict properly during the rebase

* Code formatting updates and decluttering

As requested by @dysbulic

* fixed bug in section heights

* fixed version of ethers in utils package

* fixed remove bug with player & guild sections

* added custom text box type

* added custom text section component

* support custom text sections in all pages

* add custom text block to supported boxes

* add the custom text metadata editor

* support multiple custom text blocks

* added a guide for creating a custom block

* minor typo

* Add card & pointer animations

* Change card list styles & background height

* Fix background, widows & button link.

* Fix background position and size

* Fix overflow on smaller screens

* Redirect user to profile setup

* Resolve comments

* Add overflow to full page container

* Fix spacing on onboarding guidance page

* Fixes for the appearance of the Patrons Join page (#1442)

Ref: https://github.com/MetaFam/TheGame/issues/1442

* Code tidy and tweaks, &nbsp-ing

&nbsp's join the last two words in some of the boxes so those words don't end up on a line all by themselves (requested by peth)

* Use Chakra noOfLines to limit the length of Player/Patron/
Guild descriptions in the leaderboards

* Make the appearance of Player tiles and Guild tiles match better

Contact section is pushed to the bottom of the tile

Consistent spacing between section headings and text in the tile body

Bit of text shadow on the tile heading in case the player picture/guild logo has a light background

* Set background for tile heading, remove unneeded code and comments, guild type caption moved inside the conditional

Suggestions from code review from @dysbulic

* Use Chakra noOfLines to limit the length of Player/Patron/
Guild descriptions in the leaderboards

* Make the appearance of Player tiles and Guild tiles match better

Contact section is pushed to the bottom of the tile

Consistent spacing between section headings and text in the tile body

Bit of text shadow on the tile heading in case the player picture/guild logo has a light background

* Set background for tile heading, remove unneeded code and comments, guild type caption moved inside the conditional

Suggestions from code review from @dysbulic

* Make the appearance of Player tiles and Guild tiles match better

Contact section is pushed to the bottom of the tile

Consistent spacing between section headings and text in the tile body

Bit of text shadow on the tile heading in case the player picture/guild logo has a light background

* Set background for tile heading, remove unneeded code and comments, guild type caption moved inside the conditional

Suggestions from code review from @dysbulic

* FIX: show the search icon for all screen sizes (#1411)

Made some changes for vid, forgot to put the icon back before the PR was merged

* Code formatting updates and decluttering

As requested by @dysbulic

Co-authored-by: vidvidvid <weetopol@gmail.com>
Co-authored-by: dan13ram <dan13ram@gmail.com>
Co-authored-by: nitegeist <nitegeist.dev@gmail.com>
2023-01-23 13:33:00 -05: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
vidvidvid
f39e099bd0 improve readability & extract the noTilt from props
fix
2022-11-23 22:08:07 -07:00
vidvidvid
a61ab67cd7 make all card images square & clickable 2022-11-23 22:08:07 -07:00
vidvidvid
a7b9a062ed Role Path cards
fix
fixes
2022-11-23 22:08:07 -07:00
vidvidvid
49a57bbc38 improve PlayerTile & GuildTile 2022-11-23 22:08:07 -07:00
vidvidvid
edabbf6e3a PatronTile 2022-11-23 22:08:07 -07:00
vidvidvid
35e7589272 GuildTile 2022-11-23 22:08:07 -07:00
vidvidvid
45bf539e98 extract PlayerRank 2022-11-23 22:08:07 -07:00
vidvidvid
d1a7514fde give the tilt to the MetaTile 2022-11-23 22:08:07 -07:00
vidvidvid
90c22330d1 style fixes 2022-11-23 22:08:07 -07:00
vidvidvid
787b8a8bca hack the links (so <a> can be inside another <a> 2022-11-23 22:08:07 -07:00
vidvidvid
d6f543bdbd redesign of the cards #2 2022-11-23 22:08:07 -07:00
vidvidvid
b9a022afd1 add tilting to the cards 2022-11-23 22:08:07 -07:00
vidvidvid
4d308d5b1a redesign of the cards #1 2022-11-23 22:08:07 -07:00
luxumbra
72f281c8a3 The description on the details page now handles both HTML or Markdown. \n - added styles and correct fonts for the headings. 2022-10-11 11:36:26 +05:30
Arsenije Savic
ea42bea2c0 Dashboard fixes; closes #1209, #1210, #1223, & #1224
* Remove connect to progress if the network is not mainnet

* Move xpHelpers to the utils

* Add tests to the utils package

* Add xpHelpers test

* Add convertToRoman util function

* Display current season label dynamically

* Add onboarding text if player does not have xp

* Remove ConnectToProgress import

* Add connect to progress if the network is not mainnet

* Show edit button if network is not main

* Refactor xp helper season start

* displaying modal when chain change is needed 🛬

* using Unicode Roman numerals Ⅲ

* slight formatting fixes 🗯
2022-05-18 01:48:07 -04:00
W.J. “dysbulic” H
3baad9efe9 updating the Season number in advance of 2022-03-29 08:11:02 -06:00
dan13ram
a57e6433c1 refactor: moved quest components into its folder 2022-02-18 15:37:28 +05:30
δυς
f5295c3242 Reading and Writing Profile Info From Ceramic (#943)
This is being merged for further testing so as to not block the progress of `develop` & not require more rebases.
2022-01-25 16:51:53 -05:00
Udit Takkar
c7f913dc0c added forLoginDisplay variable to reduce data returned for login display
Closes #738.
2021-09-16 10:15:57 -04:00
Alec LaLonde
957f641b79 Implemented discord role manager trigger 2021-09-10 11:25:58 -06:00
dan13ram
b2c7903262 showing seasonal xp more clearly 2021-08-25 08:56:33 -06:00
dan13ram
ea3db28b66 fixed LinkOverlay issues 2021-08-25 08:56:33 -06:00
dan13ram
a74cd33a64 showing total_xp only if not sorted by season_xp 2021-08-25 08:56:33 -06:00
Will Holcomb
d778cdaa4e MyMeta Fix: Nested Link Error (#737)
* reposition LinkOverlay link (fixes #732) 🎳

* remove now unused MetaLink reference 🍳
2021-08-04 00:22:12 +02:00
Will Holcomb
01c0af4fa4 Make entire player tile into a link (fixes #343) 🖇 2021-07-31 23:14:21 -04:00
dan13ram
9cf311062f minor semantic fixes 2021-07-27 07:24:00 +05:30
dan13ram
87fd8e11da padding above about section 2021-07-27 07:24:00 +05:30
dan13ram
987aa80ed5 added about with max length 2021-07-27 07:24:00 +05:30
dan13ram
8c05e70e31 better styling for player timezone & profile page 2021-07-27 07:24:00 +05:30
dan13ram
31ae438a78 display GMT+0:00 for GMT 2021-07-27 07:24:00 +05:30
dan13ram
612d094dda updated player tile to show timezone instead of about 2021-07-27 07:24:00 +05:30
dan13ram
85fd06f35c fixed daoHaus membership links 2021-07-27 07:24:00 +05:30
dan13ram
354dc22228 fetching count and players simultaneously 2021-07-08 10:30:26 -06:00
chair
cabd36fd17 run yarn lint 2021-06-27 12:11:03 -07:00
chair
857fa79ac5 Fix transparent bg profile img bug [fixes 385] 2021-06-27 12:11:03 -07:00
dan13ram
8517a26048 Upgrade dependencies (#486)
* upgraded storybook dependencies

* upgraded web dependencies

* updated timezone selector

* upgrade chakra in metamaps

* upgraded react-dnd in metamaps

* upgraded framer-motion

* fixed types in metamaps

* upgraded eslint

* upgraded lerna, husky and graphql

* upgraded node version

* removed metamaps package

* fixed all eslint issues

* ran yarn format to prettier format all files

* updated lint-staged & husky scripts

* add executable perms to pre-push scripts

* updated yarn.lock

* fixed eslint and moved chakra icons to ds

* fixed emotion errors

* removed extra useContext

* update yarn.lock

* upgraded more packages

* removed unnecessary .huskyrc.json

* lint fix
2021-05-01 12:46:48 +05:30
Pacien Boisson
dfff04ebaa [Quests] Frontend (#437)
* squash frontend changes

* Style quest explorer

* Style quest page

* Dates

* Dates

* Typecheck

* Prettier

* Fix create page layout

* Update only OPEN quests

* Repetition info

* Fix create quest errors

* Quest form Textarea

* Quest form Textarea

* Truncate texts

* Redirect if user not logged in

* Tooltips

* Factorize skills tags

* fix username in completions

* Metafam as default guild on creation

* Layouts

* Remove todo

* cooldown

* Rename to "claim quest"

* squash frontend changes

* Style quest explorer

* Style quest page

* Dates

* Dates

* Typecheck

* Prettier

* Fix create page layout

* Update only OPEN quests

* Repetition info

* Fix create quest errors

* Quest form Textarea

* Quest form Textarea

* Truncate texts

* Redirect if user not logged in

* Tooltips

* Factorize skills tags

* fix username in completions

* Metafam as default guild on creation

* Layouts

* Remove todo

* cooldown

* Rename to "claim quest"

* Move ConfirmModal in ds

* Extract pSeed balance

* Fix "created by me" switch

* Reword complete quest

* Style quest form

* prettier

* lint
2021-04-08 15:32:27 +04:00
dan13ram
c276f6a057 [MyMeta] Patrons leaderboard (#395)
* added seed-graph as a new remote schema

* removed unwanted remote schema and added a query

* updated seed-balances remote schema logic

* patron leaderboard

* refactored player skills & memberships components

* removed unnecessary key in tile components

* removed getTokenBalance folder

* reduced number for calls for fetching patrons

* updated logic to use the new backend query

* made patron tiles shorter
2021-03-16 11:11:43 +05:30
dan13ram
4d59ac3f1b moved brightId verified tag to contacts (#388)
* moved brightId verified tag to contacts

* empty commit
2021-03-08 20:17:57 +05:30
dan13ram
965be2782a setup brightId verified labels (#361)
* setup basic brightId hook

* updated brightId logo

* polling brightId status & refreshing

* incorporated review comments
2021-03-02 17:50:13 +05:30
Hammad Jutt
7492ae5bd6 Remove unused pages / components and fix usage of Wrap with WrapItem (#284)
* Remove unused pages / components

* Add WrapItem around components inside Wrap component

New version of Chakra requires WrapItem around any components that have Wrap

* Update LoginButton to link to own profile and show Avatar (#285)

* Update LoginButton to link to own profile and show Avatar

* Change SetupUsername to explicitly mention "username"
2021-01-18 11:44:52 -07:00
Alec LaLonde
ceaae6dc1a Force minimum row height, narrower column max width (#275) 2021-01-14 20:19:06 -07:00
Alec LaLonde
5534ff1a45 Renamed player columns to be consistent snake_case (#262) 2021-01-06 22:08:58 -07:00