87 Commits

Author SHA1 Message Date
δυς
4a4538c347 Refactor Setup Wizard & Profile Modal Configuration Panes (#1127)
* incorporating configuration panes from #1078

* standardizing player hero subcomponents & removing `owner` var from `useProfileField` 🚪

* switching box type, ambiguating overly-specific names, & massaging heights 📱

* reordering profile details sections, updating deployment environment, & conditionally wrapping the hero elements 🎬

* fixing render of color disposition selector 🕍

* self code review changes: removed some `;`s 🎋

* getting yarn typecheck && yarn lint to pass post rebase 🏇🏾

* handling "missing <div> in <button>" error with mounted check & setting HTTP return codes for OpenSea API endpoint 🕺

* `ProfileWizard` extends `Wizard`, roles display better on mobile, & pronouns use `ProfileWizardPane` 🍊

* properly encapsulating ETH address regex 🚲

* adding some tasks 🏥

* fixed skills layou

* handling default values? 

* corrections for revision comments from @dan13ram (UI bugs to follow) 🌋

* cleaning up memberships & explorer type 🧫

* refactoring player roles configuration and display to use `WizardPane` 🔮

* bunches of mobile fixes & repairing the display of deserialized skills 📟

* removing redirect in static props & formatting memberships display for responsiveness 🪆

* improving comprehensability of `/me` & more mobile tweaking 🍦

* various spacing fixes & a “try again” button for connecting 🫕

* maybe fixed issue with saving images for fields with default values 🇩🇿

* switched roles selection to a bounded `SimpleGrid` to fix sizing weirdness 🧰

* fix: removed verify on brightId button

* fix: clean up username page

* formatting & fixing skills issues 🥩

* reformatting NFT display 🚂

* adding `/join` 🚉

* style: peth's suggestions

* added mainnet required message

* style: slight tweak of megamenu item positions

* chore(release): 0.2.0

Co-authored-by: tenfinney <scott@1box.onmicrosoft.com>
Co-authored-by: dan13ram <dan13ram@gmail.com>
Co-authored-by: vidvidvid <weetopol@gmail.com>
2022-02-28 20:28:28 -08:00
vidvidvid
91d2efbb55 fix: alec's corrections pt. 1 2022-02-28 20:28:28 -08:00
vidvidvid
2fb519bb7d chore: rebase fixes 2022-02-28 20:28:28 -08:00
vidvidvid
d7bd8f2c5a chore: remove unused icons 2022-02-28 20:28:28 -08:00
vidvidvid
54b6c807b1 feat: remove old seeds pages, set up new page 2022-02-28 20:28:28 -08:00
Alec LaLonde
8af3b29d33 Added chain icon to DAO listings 2022-02-28 20:28:28 -08:00
Alec LaLonde
91b3d8fb0f Start using daohaus metadata when populating DAO information 2022-02-28 20:28:28 -08:00
dan13ram
04448573c1 refactor: cleaned up MegaMenu components 2022-02-28 20:28:28 -08:00
dan13ram
b9e6617390 review changes from @dysbulic 2022-02-28 20:28:28 -08:00
dan13ram
86546c4228 fix: moved opensea to api & fixed env var 2022-02-28 20:28:28 -08:00
W.J. “dysbulic” H
38cdc6eda5 75 of 100 files from #1078 have been added; need to rebase the parent branch 🚲 2022-02-28 20:28:28 -08:00
δυς
5ae41e26a6 Clean Up & Simplify the Type System (#1116) 2022-02-28 20:28:28 -08:00
δυς
ead933fccf 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-28 20:28:28 -08:00
dan13ram
842e849136 feat: show reset to default button only when changed 2022-02-28 20:28:28 -08:00
vidvidvid
c684a22ce4 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-28 20:28:28 -08:00
vidvidvid
d27f4dc072 fix: alec's corrections 2022-02-28 20:28:28 -08:00
vidvidvid
81e9a8e711 fix: hide quests demo app link 2022-02-28 20:28:28 -08:00
vidvidvid
8330950887 feat: support for editing roles on quests 2022-02-28 20:28:28 -08:00
vidvidvid
14e4ec8a9c feat: add megamenu demo link 2022-02-28 20:28:28 -08:00
vidvidvid
aa4c0709cd feat: add role selector to create quest form 2022-02-28 20:28:28 -08:00
δυς
5a5d6e2915 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-02-28 20:28:28 -08:00
dan13ram
0a27f1c613 feat: embedded url profile section 2022-02-28 20:28:28 -08:00
dan13ram
a92811ff73 feat: profile layout edit + section add/remove 2022-02-28 20:28:28 -08:00
vidvidvid
cd8fc8e247 style: change the default guild cover image 2022-02-28 20:28:28 -08:00
vidvidvid
8636865090 feat: set default cover image for guild 2022-02-28 20:28:28 -08:00
vidvidvid
fbce0e8f2a feat: add guild box types and refactor player box types 2022-02-28 20:28:28 -08: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