210 Commits

Author SHA1 Message Date
Michiel Quellhorst
f4a73b7ba2 several small fixes
* z-index on the XP chart so it doesn't overlay stats
* when unable to retrieve videos the array and the total count is undefined which resulted in an
  error that's catched now
* made all dashboard boxes 100% width on mobile
* set position of edit layout button to relative instead of absolute and
  changed top margin
2021-12-21 07:49:09 -07:00
vidvidvid
c01f8fd4ad fix: add loaders to the remaining possible iframes
omit the iframes that load documents
2021-12-20 07:31:14 -07:00
vidvidvid
f044dffcaa fix: delete the pages which won't load iframes
to not mess with next
2021-12-20 07:31:14 -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
a9d6c8a1a0 chore: remove leftovers 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
Udit Takkar
79dc6f9e50 fix: use req object 2021-12-20 07:29:54 -07:00
Udit Takkar
5fef8118f1 fix: remove nextjs-cors package 2021-12-20 07:29:54 -07:00
Udit Takkar
8175050ce3 fix: displayed HTML hex strings as emojis 2021-12-20 07:29:54 -07:00
Udit Takkar
5cfa859d50 feat: add api route for fetching data 2021-12-20 07:29:54 -07:00
Alec LaLonde
5646bce9b9 Bunch of look n feel standardization in wizard 2021-12-19 15:36:29 -07:00
Alec LaLonde
5f60d4a2f5 Refactored GetPlayers graphql query to pass where clause as variable (#946) 2021-12-03 17:41:51 +01: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
vidvidvid
eeca6e0d46 chore: upgrade eslint and fix all errors 2021-11-30 14:54:49 -07:00
vidvidvid
d0e3575868 chore: dysbulic's pr comments 2021-11-30 12:06:29 -07:00
vidvidvid
da3b0e5cca refactor: use swr to fetch data 2021-11-30 12:06:29 -07:00
luxumbra
71267fbdbc Fixed last couple of issues from the review 2021-11-29 19:50:39 -07:00
luxumbra
bdb36a9825 Clean up after @mquellhorst review 2021-11-29 19:50:39 -07: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
4ecbc94907 More styling / design on seed section 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
3791611fd5 fix: lint error 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
Luxumbra
57c1e42389 feature: Container Queries (#884)
* feature: First pass at Container Queries

`react-container-query` used to emulate 'media' queries based on container widths. Needs more thought on how to handle layouts for multiple devices. Min / Max widths for sections probs a good idea.

Added in an 'Edit' button to toggle editing the layout.

Added mostly static chakra elements to each of the sections to prototype the above Container Queries. I know it is not pretty, but TypeScript and I wanted to prototype it without stalling. I *will* split them out into components but would be good to perhaps pair up with you for this when you're available @vidvidvid.  🙏

* feature: Calendar UI elements (First pass)

Added in chakra popovers for event details.

Again, this is just chakra elements to be pulled out as templates for components.

* feat: better styling on the popovers & transitions on cal container queries

* feature: Improving responsiveness
2021-11-08 15:31:42 -07:00
Luxumbra
b4c08a37c1 Feature/dashboard UI mvp (WIP) (#882)
* First pass of UI config for the dashboard
- Namely adding in React Grid Layout and setting it up to save a users layouts to localStorage. It is responsive.

* Slight refactor of the dash grid code & removed lodash
2021-11-08 15:31:42 -07:00
vidvidvid
690bad19a0 feat: set up dashboard page 2021-11-08 15:31:42 -07:00
Udit Takkar
bdabf657a5 fix: navaigating between profiles and edit button 2021-11-04 23:21:47 -06:00
vidvidvid
23146e6998 really fix pronouns type 2021-11-04 22:59:58 -06:00
vidvidvid
2aeed3e49e fix pronouns type 2021-11-04 22:59:58 -06:00
vidvidvid
fb99fdbe4c fix the pr + fix the useUser redirect bug 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
Udit Takkar
f4fda8054a fix: setting intial state using useState 2021-11-02 11:35:21 -06:00
Udit Takkar
90c9963487 fix: availabilty input bug fixed 2021-11-02 11:35:21 -06:00
vidvidvid
0627a6012b change layout 2021-10-29 21:16:28 -06:00
vidvidvid
4693004fac lint fixes 2021-10-29 21:16:28 -06:00
vidvidvid
310b93590c hide cover edit button 2021-10-29 21:16:28 -06:00
Leeward Bound
c295171548 feat: working on profile editing form for primary modal 2021-10-29 21:16:28 -06:00
vidvidvid
acf7bff839 style the edit buttons 2021-10-29 21:16:28 -06:00
vidvidvid
8dc6be095c reuse SetupSkills for edit profile modal 2021-10-29 21:16:28 -06:00
vidvidvid
45318dca43 reuse SetupPersonalityTypes for edit profile modal 2021-10-29 21:16:28 -06:00
vidvidvid
dc0a3b015c temporarily hide player roles 2021-10-29 21:16:28 -06:00
vidvidvid
635b81b7c2 simplify 2021-10-29 21:16:28 -06:00
vidvidvid
d8d5f9edc5 fix header and description mess 2021-10-29 21:16:28 -06:00
vidvidvid
f29b218c05 clean up 2021-10-29 21:16:28 -06:00
vidvidvid
9cdbf05aac rename and fix updating after saving 2021-10-29 21:16:28 -06:00
vidvidvid
fc15e18694 style both 2021-10-29 21:16:28 -06:00
vidvidvid
40d63f54c7 move getting playerTypeChoices into the SetupPlayerComponent 2021-10-29 21:16:28 -06:00