Commit Graph

188 Commits

Author SHA1 Message Date
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
e1c5322421 Allow case-insensitive player username lookups 2021-03-04 14:49:28 -07:00
Alec LaLonde
18d52cf5bf Add username lowercase mutation 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
dependabot[bot]
ebf190da12 Bump @storybook/addon-actions from 5.3.21 to 6.1.20 (#374)
Bumps [@storybook/addon-actions](https://github.com/storybookjs/storybook/tree/HEAD/addons/actions) from 5.3.21 to 6.1.20.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v6.1.20/addons/actions)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-04 22:34:53 +01:00
dependabot[bot]
864a22a52e Bump @types/styled-components from 5.1.4 to 5.1.7 (#372)
Bumps [@types/styled-components](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/styled-components) from 5.1.4 to 5.1.7.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/styled-components)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-04 22:34:20 +01:00
dependabot[bot]
7f799a476a Bump react-select from 3.1.0 to 4.1.0 (#371)
Bumps [react-select](https://github.com/JedWatson/react-select) from 3.1.0 to 4.1.0.
- [Release notes](https://github.com/JedWatson/react-select/releases)
- [Changelog](https://github.com/JedWatson/react-select/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/JedWatson/react-select/compare/react-select@3.1.0...react-select@4.1.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-04 22:33:52 +01:00
dependabot[bot]
a6b0395bb0 Bump web3modal from 1.9.2 to 1.9.3 (#367)
Bumps [web3modal](https://github.com/web3modal/web3modal) from 1.9.2 to 1.9.3.
- [Release notes](https://github.com/web3modal/web3modal/releases)
- [Commits](https://github.com/web3modal/web3modal/compare/1.9.2...1.9.3)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-04 22:31:27 +01:00
dan13ram
a997dd8bbe added token balance from seed-graph (#380) 2021-03-05 00:03:46 +05:30
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
dan13ram
b0ab6f1e2d updated backend for brightId (#362)
* updated backend for brightId

* updated schema

* removed unwanted console logs

* made brightId context constant
2021-03-01 12:06:52 +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
Pacien Boisson
d094e1c4ba Quest create handlers (#340)
* create quest handler

* Updating action schema and removing backend-only insert permissions

* Better handle auth bearer token

* Basic tests for creating quests

* Check if player has > 100 pSEED to allow creating a quest

* move quests actions into its own router

* create quest completion

* updateCompletion handler

* update types

* Improving handler input types

* Improve types and logic

* Removing types file and using autogenerated ones

* Reject other submissions when accepting a unique quest completion

* Fix linting errors

* Fix CreateQuestCompletionInput maybe

* error messages

* Puttin pSEED contractnaddress in config file

Co-authored-by: Hammad Jutt <jutt@ualberta.ca>
2021-02-22 12:58:31 +04:00
Alec LaLonde
03b5c413a4 Added test for gold rank 2021-02-19 15:59:30 -07:00
Alec LaLonde
00339464c9 Added rank helpers for computing rank, hooked up to account migrator, with bonus tests 2021-02-19 15:59:30 -07:00
Alec LaLonde
f6668d9f71 Persist personality type immediately rather than when saving player type 2021-02-18 20:55:47 -07:00
Pacien Boisson
3d84b35ec1 Revert react-timezone-select version (#353) 2021-02-17 18:51:08 +04:00
Pacien Boisson
682e0177d7 merge dependabot (#352)
* Bump react-timezone-select from 0.9.8 to 0.10.7

Bumps [react-timezone-select](https://github.com/ndom91/react-timezone-select) from 0.9.8 to 0.10.7.
- [Release notes](https://github.com/ndom91/react-timezone-select/releases)
- [Commits](https://github.com/ndom91/react-timezone-select/commits/v0.10.7)

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

* Bump @babel/core from 7.12.1 to 7.12.16

Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.12.1 to 7.12.16.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.12.16/packages/babel-core)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-17 17:49:55 +04: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
dependabot[bot]
e76a5fd586 Bump uuid from 8.3.1 to 8.3.2 (#334)
Bumps [uuid](https://github.com/uuidjs/uuid) from 8.3.1 to 8.3.2.
- [Release notes](https://github.com/uuidjs/uuid/releases)
- [Changelog](https://github.com/uuidjs/uuid/blob/master/CHANGELOG.md)
- [Commits](https://github.com/uuidjs/uuid/compare/v8.3.1...v8.3.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-16 11:17:47 +04:00
Hammad Jutt
f65ff31a23 Fix type errors 2021-02-06 13:13:00 -07:00
Hammad Jutt
12ba9dc315 Discord Bot MVP 2021-02-06 13:13:00 -07:00
ace-smart
c6e338387d Fix build card aspect ratio as the play card. #326 (#329) 2021-02-04 12:10:51 +04:00
Hammad Jutt
15a90e7b56 Move schema.graphql to root of project and delete codegen package
central codegen package no longer needed since its being generated in each package separately as needed
2021-01-29 13:06:51 -07:00
Hammad Jutt
51089ae49e Use exact versions in package.json files
Since Dependabot is updating packages for us, we should only use exact version numbers to be explicit
for what version we are on and reduce chances of having incorrect versions installed
2021-01-29 13:04:49 -07:00
Hammad Jutt
b20c1fea27 Remove unused codegen stuff and update Hasura to latest version (#314) 2021-01-29 13:02:33 -07:00
dependabot[bot]
a6df998042 Bump graphql-tools from 6.2.4 to 7.0.2 (#260)
Bumps [graphql-tools](https://github.com/ardatan/graphql-tools) from 6.2.4 to 7.0.2.
- [Release notes](https://github.com/ardatan/graphql-tools/releases)
- [Commits](https://github.com/ardatan/graphql-tools/compare/graphql-tools@6.2.4...graphql-tools@7.0.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-28 17:12:37 -07:00
Alec LaLonde
317b955e47 Fixed flashing on load with mobile footer drawer (#299) 2021-01-28 17:10:31 -07: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
Hammad Jutt
83417aba16 Add step to remove duplicate players in migrateSourceCredAccounts handler (#280)
Some accounts in SourceCred get merged after they had already been added in the database (e.g. merging
a discord and discourse identity) which causes conflicts in the database when we try to set an
ETH address for the new merged account that conflicts with the old unmerged account.
2021-01-17 22:23:56 -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
Hammad Jutt
78dd5bb20d Update chakra/core to chakra/react and cleanup theme setup (#281) 2021-01-17 21:27:36 -07:00
Alec LaLonde
ceaae6dc1a Force minimum row height, narrower column max width (#275) 2021-01-14 20:19:06 -07:00
dependabot[bot]
f7ab809dbc Bump ts-node-dev from 1.0.0-pre.62 to 1.1.1 (#252)
Bumps [ts-node-dev](https://github.com/whitecolor/ts-node-dev) from 1.0.0-pre.62 to 1.1.1.
- [Release notes](https://github.com/whitecolor/ts-node-dev/releases)
- [Changelog](https://github.com/whitecolor/ts-node-dev/blob/master/CHANGELOG.md)
- [Commits](https://github.com/whitecolor/ts-node-dev/commits/v1.1.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-14 20:05:20 -07:00
Alec LaLonde
d2cba7a866 Fixed a couple react warnings (#273) 2021-01-14 20:02:02 -07:00
Alec LaLonde
cf2c1438ca Fixed migration handler (#274) 2021-01-14 19:39:26 -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
Alec LaLonde
c4a2b38484 Renamed table names to be consistent snake_case (#255) 2021-01-04 23:18:29 -07:00
The Lone Rōnin
e5739d8467 Drawer Updates (#257) 2021-01-04 01:37:29 +01:00
dan13ram
528d72c1a2 sleek scroll bar for nft gallery (#251) 2020-12-24 23:33:49 -07:00
dan13ram
9ec7d5a3d9 showing shares for daohaus (#250) 2020-12-24 23:31:45 -07: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