Commit Graph

81 Commits

Author SHA1 Message Date
dan13ram
c2e3782d28 added filters for /players page (#566)
* player filters for type and skills

* fetching multiple players in parallel

* removed tile fragment

* search by username or address

* better spacing

* availability filter

* timezone filter

* passing tests in ds

* submit form in search bar

* added better labels for timezone

* fixed test issue

* searching only if search >= 2 char

* meta select ds

* updated metabutton bg color

* parallel for > 50 only

* fix reset search filter
2021-05-19 20:49:06 +05:30
dan13ram
925919bc81 simplified queries for player/guild pages 2021-05-13 14:46:23 -06:00
Michiel Quellhorst
496b8e0dcd fixed 404 on guild detail page request (#529)
* fixed 404 on guild detail page request

* changes due to naming conventions
2021-05-12 20:30:49 +05:30
dan13ram
eaf2f39fb1 added retries to urql 2021-05-12 07:48:20 -06:00
dan13ram
efe0e8bde3 [MyMeta] increased player listing to 150 (#541)
* increased player listing to 150

* removed unnecessary extra var
2021-05-12 08:03:54 +05:30
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
Will Holcomb
2f23041ce4 allowing username to be completely removed 🐭 2021-04-26 22:01:03 -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
f1852e104b Created guild/join page 2021-04-21 10:07:34 -06:00
Alec LaLonde
4871e8208c Stubbed out 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
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
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
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
ccd0cf8a37 Revert "Revert "Redirect to the proper player page URL when appropriate""
This reverts commit 3775db64c1.
2021-03-09 11:52:01 -07:00
Alec LaLonde
3547afa8a2 Revert "Revert "Allow case-insensitive player username lookups""
This reverts commit 4d8dc211aa.
2021-03-09 11:52:01 -07:00
Alec LaLonde
b117899695 Revert "Revert "Make username params lowercase to match those in the database""
This reverts commit 04d967d64b.
2021-03-09 11:52:01 -07:00
Alec LaLonde
04d967d64b Revert "Make username params lowercase to match those in the database"
This reverts commit ca5cb638b8.
2021-03-04 16:47:38 -07:00
Alec LaLonde
4d8dc211aa Revert "Allow case-insensitive player username lookups"
This reverts commit e1c5322421.
2021-03-04 16:47:38 -07:00
Alec LaLonde
3775db64c1 Revert "Redirect to the proper player page URL when appropriate"
This reverts commit 20b5035987.
2021-03-04 16:47:38 -07:00
Alec LaLonde
20b5035987 Redirect to the proper player page URL when appropriate 2021-03-04 14:49:28 -07:00
Alec LaLonde
e1c5322421 Allow case-insensitive player username lookups 2021-03-04 14:49:28 -07:00
Alec LaLonde
ca5cb638b8 Make username params lowercase to match those in the database 2021-03-04 14:49:28 -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
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
Hammad Jutt
0dabebbe04 Add case in SC migration script where user doesnt already have a SC identityID (#296) 2021-01-21 20:05:49 -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
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
e0a05551c6 Revalidate sooner on guild pages 2020-12-21 01:03:53 -07:00
Hammad Jutt
704bd38cce Implement list of Guilds in frontend 2020-12-21 01:03:53 -07:00
Hammad Jutt
50bb17efa7 Consolidate contact UI with PlayerTile and Player page 2020-12-20 17:57:52 -07:00
Hammad Jutt
cd14649f74 Add LoadingState and fix empty state for player page 2020-12-20 17:30:05 -07:00
Hammad Jutt
74c154eba9 Refactor PlayerPage and remove mock components
renamed / cleaned up a bunch of stuff and removed things that dont work in the profile
2020-12-20 17:00:38 -07:00
dan13ram
aa0a532d4a updated frontend to display nft gallery from 3box/opensea (#222)
* updated backend to read 3box collectiblesFavorite

* removed unneccesary '?'

* updated frontend to display nft gallery from 3box/opensea

* prettier format

* using theme colors/sizes

* fixed nft price string
2020-12-16 11:16:31 -07:00
dan13ram
12da46d765 color coded player skills (#212) 2020-12-14 15:12:29 -07:00
vanmoortel
17fde6510a Hotfix/hide unused sections (#183)
* Remove true in text and hide read more if less than 115 characters

* Hide view all/less if not more than 3 fake data

* Hide view all/less if not more than 3 fake data

* Hide unused sections, gallery and achievements
2020-11-26 18:08:40 -07:00
vanmoortel
6c8986cf4c Feature/moar like designed (#177)
* Implement player mockup based on Design reference

* Fix missing type
2020-11-13 10:48:21 -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
dan13ram
bf5fa29f8a profile setup flow clean up (#167)
* fixed update token on address change

* fetching already set profile data in setup flow

* select skills colors

* showing more data on player tile

* rename variables
2020-10-23 11:03:31 -06:00
Hammad Jutt
63ab1cd0ea Setup Player Skills and complete setup flow (#161) 2020-10-16 11:04:22 -06:00
dan13ram
a806497cf1 fix styles + minor changes (#159) 2020-10-16 09:57:15 -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
Hammad Jutt
91b94c48fe Implement User Auth on Web (#145)
* Create "me" view for logged in user

* Implement user auth on web

* Fix type errors

* Setup static regeneration

* Disable next export

* Address PR feedback
2020-10-11 11:33:16 -06:00
dan13ram
95834c9cb5 setup availability & memberships (#138)
* setup availability with lint fixes

* setup memberships
2020-10-09 22:04:05 -06:00