Commit Graph

100 Commits

Author SHA1 Message Date
Alec LaLonde
f3c73c9d2a Linter fixes 2021-05-01 23:50:28 -06:00
Alec LaLonde
63628fb55e Added twitter_url and github_url to guild 2021-05-01 23:50:28 -06:00
mquellhorst
0b6017e759 guild pages implemented 2021-05-01 23:50:28 -06:00
mquellhorst
05bf6fd9cf guild pages implemented 2021-05-01 23:50:28 -06: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
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
Will Holcomb
2f23041ce4 allowing username to be completely removed 🐭 2021-04-26 22:01:03 -06:00
Will Holcomb
206cb44321 correcting invalid username error 🗼 2021-04-26 13:38:57 -06:00
dan13ram
74d8f2d4f5 completed patrons leaderboard (#477) 2021-04-26 12:54:44 +05:30
Alec LaLonde
c7eee3c4df Fixed guild discord_invite_url reference, persist guild icon url from discord 2021-04-21 10:07:34 -06:00
Alec LaLonde
6e3fe89744 Changed oauth handler to use a web URL that calls the backend to exchange the given code 2021-04-21 10:07:34 -06:00
Alec LaLonde
cea744a10e Fixed erroneous import in GuildJoin component 2021-04-21 10:07:34 -06:00
Alec LaLonde
ea7ec1d677 Started discord oauth implementation 2021-04-21 10:07:34 -06:00
Alec LaLonde
f1852e104b Created guild/join page 2021-04-21 10:07:34 -06:00
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
Alec LaLonde
8821e4cf49 fixed merge cruft 2021-03-28 22:08:25 -06:00
Will Holcomb
51b349745f code review changes from @alaonde to hopefully code #422 🥅 2021-03-28 22:08:25 -06:00
Will Holcomb
9fb4b4e04c fixin' lintin' 🥼 2021-03-28 22:08:25 -06:00
Will Holcomb
c387912520 addin' loggin' to skills error 🧣 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
Alec LaLonde
0d2c40dc08 Tweaked update discord role action to be more robust 2021-03-26 21:17:15 -06:00
dan13ram
f03109e214 set next button as loading until next page loads (#418) 2021-03-22 15:34:18 +05:30
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
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
Pacien Boisson
0e3cc277f7 Fix mobile connect (#360)
* Tweak login flow

* Add connecting state and fix signing

* Fix URQL cache when switching account

* Lint
2021-03-15 21:16:47 +04:00
Alec LaLonde
ee964c4633 Revert "Revert "Removed client-side username regex so as not to duplicate the server-side one""
This reverts commit 3ef18b4b92.
2021-03-09 11:52:01 -07:00
Alec LaLonde
b501a2be87 Revert "Revert "Add username lowercase mutation""
This reverts commit 76e963473c.
2021-03-09 11:52:01 -07:00
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
Alec LaLonde
76e963473c Revert "Add username lowercase mutation"
This reverts commit 18d52cf5bf.
2021-03-04 16:47:38 -07:00
Alec LaLonde
3ef18b4b92 Revert "Removed client-side username regex so as not to duplicate the server-side one"
This reverts commit 3e249faf93.
2021-03-04 16:47:38 -07:00
Alec LaLonde
3e249faf93 Removed client-side username regex so as not to duplicate the server-side one 2021-03-04 14:49:28 -07:00
Alec LaLonde
18d52cf5bf Add username lowercase mutation 2021-03-04 14:49:28 -07:00
dan13ram
32af86e51c fixed seed price & login button not showing on mobile (#379) 2021-03-02 20:47:00 +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
Alec LaLonde
c7111fe3fd Changed update player username graphql mutation 2021-02-26 16:07:47 -07:00
Alec LaLonde
e4c56d0cc5 little cleanup 2021-02-25 11:29:22 -07: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
Alec LaLonde
f6668d9f71 Persist personality type immediately rather than when saving player type 2021-02-18 20:55:47 -07:00
The Lone Rōnin
6d6d75e6e4 Cross Browser Gradient for App Drawer (#294)
* Cross Browser Compatibility for Gradient with new hover animation

* [MyMeta] Use responsive units on the header and footer (#305)

* fixing menu drawer to display on Chromium

* switching footer layout to responsive units

* build failing b/c player is undefined

* refactoring bottom nav to use fewer explicit sizes

* fixed link issues and removed box from focused menu items ala.

* `Error serializing `.guild` returned from `getStaticProps` in "/guild/[guildname]"`

* codegen was removed, but some references linger

* switching profile options to icons to save space

* simplifying & making links clickable

* accidentally duplicated a parameter

* adding Chakra icons to web app

* removing version smudge from icons lib

* simplifying clumsy ternary statement

* lint cares that imports are in alphabetical order

* switching drawer images to next.js component (re: #294)

* satiating the linter

* moving BoxedNextImage to deign-system

* Fix server side rendering issues with backdrop filter

* boxing next.js images

* these only look broken in Chrome's mobile emulator 🍄

* making the serialization fix precisely correct 🎷

Co-authored-by: Will Holcomb <dys@dhappy.org>
Co-authored-by: Pacien Boisson <pakokrew@gmail.com>
2021-02-16 11:20:41 +04:00
ace-smart
c6e338387d Fix build card aspect ratio as the play card. #326 (#329) 2021-02-04 12:10:51 +04:00
Alec LaLonde
317b955e47 Fixed flashing on load with mobile footer drawer (#299) 2021-01-28 17:10:31 -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
Hammad Jutt
5a8a803657 Move SEED Ticker to left side (#282)
MetaGame logo was redundant and SEED ticker often gets covered by the App Drawer
2021-01-17 22:23:46 -07:00
Alec LaLonde
ceaae6dc1a Force minimum row height, narrower column max width (#275) 2021-01-14 20:19:06 -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