Commit Graph

56 Commits

Author SHA1 Message Date
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
chair
857fa79ac5 Fix transparent bg profile img bug [fixes 385] 2021-06-27 12:11:03 -07:00
dan13ram
591b7d1e9f updated filters with new design 2021-06-14 14:01:24 +05:30
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
dan13ram
96f40d90a0 moved rankHelpers to utils 2021-04-30 23:00:01 -06:00
dan13ram
69319a59de made computeRank more generic 2021-04-30 23:00:01 -06:00
dan13ram
c3248aaad3 computing patron rank 2021-04-30 23:00:01 -06:00
dan13ram
74d8f2d4f5 completed patrons leaderboard (#477) 2021-04-26 12:54:44 +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
Pacien Boisson
d16f866391 Move players page to /players (#439)
* Move players page to /players

* Using redirects in next.config
2021-03-29 11:50:06 +04:00
Will Holcomb
51b349745f code review changes from @alaonde to hopefully code #422 🥅 2021-03-28 22:08:25 -06:00
Will Holcomb
f00bee9b41 ~ minimum code to add color chooser 🔦 2021-03-28 22:08:25 -06:00
Pacien Boisson
8c99b5df50 Merge dependencies (#415)
* Bump @chakra-ui/icons from 1.0.3 to 1.0.6

Bumps [@chakra-ui/icons](https://github.com/chakra-ui/chakra-ui) from 1.0.3 to 1.0.6.
- [Release notes](https://github.com/chakra-ui/chakra-ui/releases)
- [Commits](https://github.com/chakra-ui/chakra-ui/compare/@chakra-ui/icons@1.0.3...@chakra-ui/icons@1.0.6)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump tsdx from 0.13.3 to 0.14.1

Bumps [tsdx](https://github.com/formium/tsdx) from 0.13.3 to 0.14.1.
- [Release notes](https://github.com/formium/tsdx/releases)
- [Commits](https://github.com/formium/tsdx/compare/v0.13.3...v0.14.1)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump @types/react from 16.9.52 to 17.0.3

Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 16.9.52 to 17.0.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump express-graphql from 0.11.0 to 0.12.0

Bumps [express-graphql](https://github.com/graphql/express-graphql) from 0.11.0 to 0.12.0.
- [Release notes](https://github.com/graphql/express-graphql/releases)
- [Commits](https://github.com/graphql/express-graphql/compare/v0.11.0...v0.12.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump eslint-plugin-simple-import-sort from 5.0.3 to 7.0.0

Bumps [eslint-plugin-simple-import-sort](https://github.com/lydell/eslint-plugin-simple-import-sort) from 5.0.3 to 7.0.0.
- [Release notes](https://github.com/lydell/eslint-plugin-simple-import-sort/releases)
- [Changelog](https://github.com/lydell/eslint-plugin-simple-import-sort/blob/main/CHANGELOG.md)
- [Commits](https://github.com/lydell/eslint-plugin-simple-import-sort/compare/v5.0.3...v7.0.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump eslint-plugin-jsx-a11y from 6.3.1 to 6.4.1

Bumps [eslint-plugin-jsx-a11y](https://github.com/evcohen/eslint-plugin-jsx-a11y) from 6.3.1 to 6.4.1.
- [Release notes](https://github.com/evcohen/eslint-plugin-jsx-a11y/releases)
- [Changelog](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/master/CHANGELOG.md)
- [Commits](https://github.com/evcohen/eslint-plugin-jsx-a11y/compare/v6.3.1...v6.4.1)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump eslint-plugin-jest from 24.1.3 to 24.3.1

Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 24.1.3 to 24.3.1.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases)
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v24.1.3...v24.3.1)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump eslint-import-resolver-typescript from 2.2.1 to 2.4.0

Bumps [eslint-import-resolver-typescript](https://github.com/alexgorbatchev/eslint-import-resolver-typescript) from 2.2.1 to 2.4.0.
- [Release notes](https://github.com/alexgorbatchev/eslint-import-resolver-typescript/releases)
- [Changelog](https://github.com/alexgorbatchev/eslint-import-resolver-typescript/blob/master/CHANGELOG.md)
- [Commits](https://github.com/alexgorbatchev/eslint-import-resolver-typescript/compare/v2.2.1...v2.4.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump eslint-config-airbnb-typescript from 9.0.0 to 12.3.1

Bumps [eslint-config-airbnb-typescript](https://github.com/iamturns/eslint-config-airbnb-typescript) from 9.0.0 to 12.3.1.
- [Release notes](https://github.com/iamturns/eslint-config-airbnb-typescript/releases)
- [Changelog](https://github.com/iamturns/eslint-config-airbnb-typescript/blob/master/CHANGELOG.md)
- [Commits](https://github.com/iamturns/eslint-config-airbnb-typescript/compare/v9.0.0...v12.3.1)

Signed-off-by: dependabot[bot] <support@github.com>

* Fix eslint imports

* Fix tslint

* lint!

* lint

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-16 14:45:28 +04:00
Alec LaLonde
c6d669e725 Modified setupOptions data structure to be more straightforward, consolidated step logic 2021-02-25 11:29:22 -07:00
Alec LaLonde
bf1a93418e Added separate pages for each step in the setup flow 2021-02-25 11:29:22 -07:00
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
d2cba7a866 Fixed a couple react warnings (#273) 2021-01-14 20:02:02 -07:00
Alec LaLonde
42918a663c Drawer Images + Other Improvements (#276)
* Replaced drawer images with higher-res versions, mobile/desktop button improvements

* On drawer footer, don't show outline when clicking buttons
2021-01-14 19:38:59 -07:00
Alec LaLonde
5534ff1a45 Renamed player columns to be consistent snake_case (#262) 2021-01-06 22:08:58 -07:00
Alec LaLonde
1027f019e5 Added backdropFilter workaround and custom scrollbar for non-webkit browsers (#256) 2021-01-06 20:45:50 -07:00
The Lone Rōnin
e5739d8467 Drawer Updates (#257) 2021-01-04 01:37:29 +01:00
Alec LaLonde
44c706761c Feature/add timezone frontend (#231)
* Added tz column

* Updated hasura permissions on new table

* Added new dependencies for working with timezones

* Added SetupTimeZone component

* Bumped spacetime-informal to use their types

* Extracted timezone computation into helper, added useMemo hook

* Re-added spacetime types
2020-12-24 23:28:12 -07:00
The Lone Rōnin
3d62e5b8da MyMeta - App Drawer (#234)
* MyMeta - App Drawer

* MyMeta - App Drawer - help (#242)

* update nextjs @10.0.3

* Use next image component for main app drawer icons

* change links

* backdrop to close drawer

* Links

* typecheck

* Removed py for page header

Co-authored-by: The Lone Rōnin <log2n@protonmail.com>

* Framer Motion Integration

* Removed drawer transparency

* Fix disappeared Login component

* remove unnecessary pointerevent thing (thanks to display=none)

* Fix ticker display

* Added guilds

Co-authored-by: Pacien Boisson <pakokrew@users.noreply.github.com>
Co-authored-by: Pacien Boisson <pakokrew@gmail.com>
2020-12-21 16:13:09 +01:00
Hammad Jutt
50bb17efa7 Consolidate contact UI with PlayerTile and Player page 2020-12-20 17:57:52 -07:00
dan13ram
d7068373b2 styling for player tiles (#173)
* update username flow

* skills/memberships not shown if non-existent

* better errors

* styling for player tiles

* cover image for player tile
2020-11-06 17:58:00 +01:00
Hammad Jutt
63ab1cd0ea Setup Player Skills and complete setup flow (#161) 2020-10-16 11:04:22 -06:00
Hammad Jutt
1c7dbe8dab Setup Image Optimization (#146)
* Implement user auth on web

* Setup Image Optimization

* Add favicon

* Add IMGIX_TOKEN to render.yaml
2020-10-12 10:56:55 -06:00