Commit Graph

82 Commits

Author SHA1 Message Date
Udit Takkar
2afd8d9e58 fix: fix all inconsistency in search 2022-02-18 21:03:41 +05:30
Udit Takkar
29147f08ee feat: search results for players page adde 2022-02-18 18:55:06 +05:30
dan13ram
eac99b1251 refactor: cleaned up MegaMenu components 2022-02-18 15:37:28 +05:30
dan13ram
40e65d75d1 review changes from @dysbulic 2022-02-17 11:49:52 +05:30
dan13ram
c36c67504f fix: moved opensea to api & fixed env var 2022-02-17 11:49:52 +05:30
W.J. “dysbulic” H
dc5eb4db5f 75 of 100 files from #1078 have been added; need to rebase the parent branch 🚲 2022-02-16 20:17:48 +05:30
δυς
0af87e965d Clean Up & Simplify the Type System (#1116) 2022-02-08 13:13:28 -05:00
δυς
81883f940e Miscellaneous changes pulled from #1078 (#1115)
​#1078 is at about 4,000 lines changed and includes both code implementing features and unrelated functional and stylistic changes. This set of changes is about ⅓ of the total and should be largely independent.

These changes include:

* have Dependabot ignore `patch` version changes
* switch the cache invalidation Hasura action to asynchronous
* add a uniqueness constraint on the combination of player and skill ids
* print a comprehensible error message in the db seeding script on network errors
* add a mutex on the account creation process & allow it to happen only once *(subsequent runs were failing b/c of the uniqueness constraint on the ETH address & returning `null` (closes #1098))
* adds some more profile editing related types
* renames `HighLow7dType` to `HighLowType`
* refactors the `ColorBar` component to include links to a color explanation
* replaces `fake-tag`'s `gql` string identifier with the dependency-free `/* GraphQL */`
* rename `lib/hooks/useUserXp.ts` to `useUserXP.ts`
* fixed some typings to remove `any`s
* bumped some library versions & fixed the version numbers of some others
2022-02-08 06:01:06 -05:00
dan13ram
84c707c4c0 feat: show reset to default button only when changed 2022-02-07 16:48:38 +01:00
vidvidvid
c368bbeb28 Completed quests widget (#1085)
* quest-roles-demo init

feat: backend changes

* fix: more lint

* fix: even more lint

* fix: add field to update quest

* chore: consolidate migrations

* chore: rename

* chore: update schema

* quest-roles-demo init

* feat: add role selector to create quest form

* fix: after rebase

* fix: bug when clicking the only selected value in filter

* feat: save roles to backend

* feat: display roles on /quest/id card

* feat: add megamenu demo link

* feat: add additional roles: Bridgebuilding, Rainmaking, Videomaking

* feat: support for editing roles on quests

* chore: revert changes that allowed me to bypass creating quests

* fix: hide quests demo app link

* fix: alec's corrections

* chore: roles_id -> roleIds

* quest-roles-demo init

* feat: save roles to backend

* feat: add additional roles: Bridgebuilding, Rainmaking, Videomaking

* feat: support for editing roles on quests

* chore: revert changes that allowed me to bypass creating quests

* feat: completed quests section

* feat: display completed quest name + link

* fix: rebasing changes

submitted_at -> submittedAt, etc...

* style: add proof link and style

* style: all quests content and subheader

* style: all quests modal footer

* chore: remove mock data

* fix: schema

* fix: schema

* chore: delete console.log

* chore: dysbulic's suggestions

* fix: final fixes

Co-authored-by: dan13ram <dan13ram@gmail.com>
2022-02-03 10:02:39 +01:00
vidvidvid
16ee3246fb fix: alec's corrections 2022-02-02 10:49:59 -07:00
vidvidvid
e7d9dc73b4 fix: hide quests demo app link 2022-02-02 10:49:59 -07:00
vidvidvid
2d9669a5b5 feat: support for editing roles on quests 2022-02-02 10:49:59 -07:00
vidvidvid
c8b1b04ff8 feat: add megamenu demo link 2022-02-02 10:49:59 -07:00
vidvidvid
a74c059bb7 feat: add role selector to create quest form 2022-02-02 10:49:59 -07:00
δυς
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
dan13ram
fe03537e8e feat: embedded url profile section 2022-01-13 15:57:01 +05:30
dan13ram
c76839f056 feat: profile layout edit + section add/remove 2022-01-13 15:57:01 +05:30
vidvidvid
d0f7abbaa8 style: change the default guild cover image 2022-01-09 14:48:37 -07:00
vidvidvid
afb54fb31a feat: set default cover image for guild 2022-01-09 14:48:37 -07:00
vidvidvid
4a8a6f1d2c feat: add guild box types and refactor player box types 2022-01-09 14:48:37 -07:00
vidvidvid
3a9d8e37d1 feat: iframes for invest section items 2021-12-20 07:31:14 -07:00
vidvidvid
b49d0ee24a feat: iframes for the all possible learn section items 2021-12-20 07:31:14 -07:00
vidvidvid
fbbc1da0f4 feat: organise the pages structure 2021-12-20 07:31:14 -07:00
vidvidvid
278dc9394a feat: implement opening of events in iframe 2021-12-20 07:31:14 -07:00
Alec LaLonde
cced2a46c4 First pass at mobile version of role select 2021-12-19 15:36:29 -07:00
Udit Takkar
835819a412 feat: google data api imported
rebased
2021-12-15 19:15:23 -07:00
Michiel Quellhorst
1d74d7beea Quest Editor Implemented (#760)
* added WYSIWYG Editor for quest description
rebased

* remove console output

* completed quest editor

* removed html-to-draftjs

* fix: file directory updates

* feat: js-dom added
rebase

* fix: fixed UI bugs

* fix: toast error message added for insufficient pSEED

* fix: replaced text with Box

* fix: limit description to 4 lines

* fix: removed incorrect condition from useUser hook

* fix: webpack 5 added in next.config

* fix: next.config webpack bug and rebased

* chore: remove comment

Co-authored-by: Udit Takkar <udit.07814802719@cse.mait.ac.in>
2021-12-01 15:57:32 -05:00
luxumbra
078316b793 Refactor: Improvements & cleanup
- Moved some constans (grid config, etc) out to `config.ts`
- renamed the dashboard helper and moved the util functions to there.
- Removed the static props and placed api calls into a `useEffect`
2021-11-29 19:50:39 -07:00
luxumbra
e492135ae2 feature: Added in react-vis to display the 30d seed chart
The chart is displayed as an SVG in the background. Probably needs a more snr dev to sanity check typescript stuff.
2021-11-29 19:50:39 -07:00
luxumbra
f6fe5aacb6 feat: Seed section pulling in data from CoinGecko
This will probably want a refactor in terms of how I have handled the TypeScript.  😅
2021-11-29 19:50:39 -07:00
vidvidvid
e40a8ed79b chore: remove unused config 2021-11-17 10:34:52 -07:00
vidvidvid
388b1ac5df Dashboard structure (#885)
* refactor: split Calendar

* refactor: split Seed

* refactor: split XP

* refactor: split Leaderboard

* refactor: LatestContent

* fix: rename component

* feat: create GridItem component

* feat: dashboard config with static values

* refactor: implement compact structure with GridItem and utils/dashboard
2021-11-08 15:31:42 -07:00
vidvidvid
30638286c6 fix: order of steps 2021-11-04 22:59:58 -06:00
vidvidvid
1037889850 fix remaining issues 2021-11-04 22:59:58 -06:00
Guilherme Jabur
6c4c73a685 allow a player to store their pronouns as part of their profile 2021-11-04 22:59:58 -06:00
vidvidvid
fc15e18694 style both 2021-10-29 21:16:28 -06:00
vidvidvid
d942c20ea7 add cover image to profile 2021-10-29 21:16:28 -06:00
Alec LaLonde
45b3b3f362 First pass at desktop select-roles UI 2021-10-15 21:24:33 -06:00
Alec LaLonde
89fe2b4db6 Stubbed out SetupRoles step 2021-10-15 21:24:33 -06:00
vidvidvid
e727806447 Fix/delete leftovers (#854)
* remove unused files

* remove unnecessary piece of code
2021-10-06 21:10:46 +02:00
Damjan Čorić
0c3af54c37 fix menu alignment (#842)
* add edit profile to mobile menu

* align menu dropdown

* update menulinks

* add triangle in menu dropdown

* add new icons

* fix links

* fix invest dropdown positioning

* fix link icon

* fix discord link
2021-10-04 13:26:38 +02:00
Alec LaLonde
f8f9acc4b8 Fixed internal MegaMenu links (#815) 2021-09-10 12:11:26 +02:00
blake-hunsicker
c9607cf5df Feature/mega menu alt (#758)
* Import all frontend components, assets, and menuLinks list

* Remove playerstats

* Fix z-index, item type

* Import all frontend components, assets, and menuLinks list

* Remove playerstats

* Fix z-index, item type

* Add player stats bar on mobile, polish UI

* Remove unneeded imports

* add menu icons

* connect megamenu

* comment out search functionality

* fix LoginButton comments

* fix MegaMenu pr comments

* fix icons

* fix pr comments

* add keys to mapped items

* fix menu - player filters overlap

* fix mobile menu scrolling page

* center nav links

* retry vercel

Co-authored-by: Damjan Coric <damjancorica92@gmail.com>
2021-09-08 20:33:08 +02:00
Will Holcomb
d9876c563f standardizing the capitalization of URL 2021-07-28 06:38:25 +05:30
Will Holcomb
b6ad318965 frontend changes to use cached profile rather than remote schema 🍥 2021-07-28 06:38:25 +05:30
dan13ram
31ae438a78 display GMT+0:00 for GMT 2021-07-27 07:24:00 +05:30
dan13ram
de9914e8aa better display in player page 2021-07-27 07:24:00 +05:30
dan13ram
24e7b166ba fixed useEffect called too many times 2021-07-27 07:24:00 +05:30
dan13ram
354dc22228 fetching count and players simultaneously 2021-07-08 10:30:26 -06:00