Commit Graph

576 Commits

Author SHA1 Message Date
Hammad Jutt
63eeca916f Allow users to force-update their linked ETH address
Removed sc_identity_id from Player table because it enforces ETH addresses to be used as the single source of truth for users and prevents conflicts when users update their ETH address in the ledger. sc_identity_id is not needing anywhere in our backend / data model.
2021-07-07 10:56:48 -06:00
Mano
ba0be9fb09 config env var name fix 2021-07-07 10:56:48 -06:00
dan13ram
41b68f4f6a removed unnecessary console log 2021-07-07 10:56:48 -06:00
dan13ram
1ce8dbeeeb fixed collectible favorites schema bug 2021-07-07 10:56:48 -06:00
mquellhorst
2a500dcad8 fix rebase error 2021-07-07 10:56:48 -06:00
mquellhorst
dc6d4190d3 insert metacartel ventures data 2021-07-07 10:56:48 -06:00
Mano
2f26c632e9 link error fix 2021-07-07 10:56:48 -06:00
Mano
944a1db809 added clarity snippet 2021-07-07 10:56:48 -06:00
Alec LaLonde
3887baa069 Merged from master 2021-06-28 11:17:21 -06:00
Alec LaLonde
3cd6965c13 Fixed discord role update 2021-06-28 09:54:24 -06:00
Alec LaLonde
0241e79717 Print out error if ssr build fails 2021-06-28 07:38:09 +05:30
chair
e39f74a3cc yarn lint 2021-06-27 12:11:03 -07:00
chair
697f3b9b68 Update packages/web/components/Player/PlayerAvatar.tsx
Co-authored-by: dan13ram <dan13ram@users.noreply.github.com>
2021-06-27 12:11:03 -07:00
chair
a99c573931 Update packages/web/components/Player/PlayerAvatar.tsx
Co-authored-by: dan13ram <dan13ram@users.noreply.github.com>
2021-06-27 12:11:03 -07:00
chair
830e2f1752 return h and w 2021-06-27 12:11:03 -07:00
chair
4c30224260 run yarn lint 2021-06-27 12:11:03 -07:00
chair
24cb1ee2e1 Add PlayerAvatar class to PlayerHero 2021-06-27 12:11:03 -07:00
chair
cabd36fd17 run yarn lint 2021-06-27 12:11:03 -07:00
chair
d509162b20 remove note 2021-06-27 12:11:03 -07:00
chair
857fa79ac5 Fix transparent bg profile img bug [fixes 385] 2021-06-27 12:11:03 -07:00
Matthew Cantelon
08198ecdcb feat: make list items into links
This matches the NFT gallery functionality
2021-06-24 11:11:39 -06:00
Matthew Cantelon
21a266ebde refactor: was a temporary measure, no longer needed
I don't think such a replacement should occur in the backend unless we
are creating our own models (not the case here). Therefore, this will be
handled on the frontend.
2021-06-24 11:11:39 -06:00
Matthew Cantelon
62376d0f9b feat: show DAOs in a modal and match NFT gallery styling
(cherry picked from commit a29835078c490e73ef2cc447d8c10959915cd560)
2021-06-24 11:11:39 -06:00
dan13ram
591b7d1e9f updated filters with new design 2021-06-14 14:01:24 +05:30
Hammad Jutt
bf06cd4c13 Use environment variable for SourceCred ledger branch
This prevents people from accidentally mesing up the master ledger in local / staging environments.
2021-06-14 12:11:45 +05:30
Matthew Cantelon
04a4ca53d6 feat: least surprise in failures
This change covers two possible failures:

* a developer requesting a chain that hasn't been configured
* network failures on subgraphs

If a developer forgets to add to the client map, this will throw an
error instead of defaulting to ethereum results. This helps the
developer make changes correctly.

If a network failure occurs or a developer makes a mistake, the entire
membership structure is not affected via `Promise.allSettled`. This avoids
confusing errors for users.
2021-06-14 12:11:45 +05:30
Matthew Cantelon
8cfd347a48 fix: create clients once
Suggestion from @dan13ram on  PR to cache the clients and avoid
recreating on every request.
2021-06-14 12:11:45 +05:30
Matthew Cantelon
62d37b0ea8 fix: set a default DAO title 2021-06-14 12:11:45 +05:30
Matthew Cantelon
0b3b254cc0 feat: add polygon and xdai chains when pulling DAO membership
This uses two new subgraphs to pull DAO memberships for Ethereum, xDai,
and Polygon mainnets. The pulls are in parallel. The underlying data is
structured the same way but seems to be missing some information, see
https://github.com/HausDAO/daohaus-supergraph/issues/44
2021-06-14 12:11:45 +05:30
Hammad Jutt
c6b659c756 Setup action to nightly merge master into develop 2021-06-14 12:11:45 +05:30
Vyvy-vi
d6b72153e6 chore: rebase and squash
feat: meta tags for player pages

feat: meta tags for quest pages

feat: meta tags for patrons page

fix: typos, extra tags

feat: HeadComponent for metadata

feat: HeadComponent in pages

Implements the HeadComponent from components/Seo.tsx to take props and render the relevant meta tags in the pages

fix: type-cast to string

fix: string for playersDescriptionmeta

fix: optional chaining player meta data

fix: text consistency and typo-fixes

fix: use player helpers for meta

feat: meta tags for guilds route

feat: meta tags for player pages

feat: meta tags for quest pages

feat: meta tags for patrons page

feat: HeadComponent in pages

Implements the HeadComponent from components/Seo.tsx to take props and render the relevant meta tags in the pages

fix: type-cast to string

fix: import Head in _app
2021-06-14 12:11:45 +05:30
Luxumbra
430f6328e2 Feature/550 personality type styles (#628)
* Gradients, colours & Icons added as per Figma

* forgot to remove `SVG` from the ds import

* formatting improvements

* Added in the correct colour value for courage
removed the quotes and added correct font (mono) for the type title

* Tweak to the white type to be moar white.

* responses to feedback from @dysbulic
2021-06-14 12:11:45 +05:30
dependabot[bot]
6a4be366c4 Bump fake-tag from 2.0.0 to 3.0.0 (#631)
Bumps [fake-tag](https://github.com/jaydenseric/fake-tag) from 2.0.0 to 3.0.0.
- [Release notes](https://github.com/jaydenseric/fake-tag/releases)
- [Changelog](https://github.com/jaydenseric/fake-tag/blob/master/changelog.md)
- [Commits](https://github.com/jaydenseric/fake-tag/compare/v2.0.0...v3.0.0)

---
updated-dependencies:
- dependency-name: fake-tag
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-14 12:11:45 +05:30
Luxumbra
5655a3f384 Fixes #357 (#630)
- Icons show on mobile devices and we have text links for desktop.
- Also tweaked the size and spacing of the icons.
- Line 81 overrides the default button (link variant) hover style which is inconsistent with the default link style.
2021-06-14 12:11:45 +05:30
Mano
e7086753b7 ga analytics merge to develop (#633)
* added analytics

* added analytics snippet

* Reworked GA addition implementation

Co-authored-by: Alec LaLonde <alec@convergencelabs.com>
2021-06-14 12:11:45 +05:30
dependabot[bot]
882e181a64 Bump sourcecred from 0.8.7 to 0.9.0 (#623)
Bumps [sourcecred](https://github.com/sourcecred/sourcecred) from 0.8.7 to 0.9.0.
- [Release notes](https://github.com/sourcecred/sourcecred/releases)
- [Commits](https://github.com/sourcecred/sourcecred/compare/sourcecred-v0.8.7...sourcecred-v0.9.0)

---
updated-dependencies:
- dependency-name: sourcecred
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-14 12:11:45 +05:30
dependabot[bot]
6525aa650b Bump @chakra-ui/react from 1.6.2 to 1.6.3 (#621)
Bumps [@chakra-ui/react](https://github.com/chakra-ui/chakra-ui) from 1.6.2 to 1.6.3.
- [Release notes](https://github.com/chakra-ui/chakra-ui/releases)
- [Changelog](https://github.com/chakra-ui/chakra-ui/blob/main/CHANGELOG.md)
- [Commits](https://github.com/chakra-ui/chakra-ui/compare/@chakra-ui/react@1.6.2...@chakra-ui/react@1.6.3)

---
updated-dependencies:
- dependency-name: "@chakra-ui/react"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-14 12:11:45 +05:30
dependabot[bot]
ad174b2111 Bump ethers from 5.2.0 to 5.3.0 (#616)
Bumps [ethers](https://github.com/ethers-io/ethers.js/tree/HEAD/packages/ethers) from 5.2.0 to 5.3.0.
- [Release notes](https://github.com/ethers-io/ethers.js/releases)
- [Changelog](https://github.com/ethers-io/ethers.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ethers-io/ethers.js/commits/v5.3.0/packages/ethers)

---
updated-dependencies:
- dependency-name: ethers
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-14 12:11:45 +05:30
dependabot[bot]
0984f0d91d Bump typescript from 4.2.4 to 4.3.2 (#611)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.2.4 to 4.3.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.2.4...v4.3.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-14 12:11:45 +05:30
dependabot[bot]
548bb9de00 Bump next from 10.2.2 to 10.2.3 (#612)
Bumps [next](https://github.com/vercel/next.js) from 10.2.2 to 10.2.3.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v10.2.2...v10.2.3)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-14 12:11:45 +05:30
Hammad Jutt
ae53fcb828 Use staging backend host for staging Hasura instance 2021-06-14 12:11:45 +05:30
dependabot[bot]
7c51249f86 Bump @types/react from 17.0.5 to 17.0.6 (#576)
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 17.0.5 to 17.0.6.
- [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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-14 12:11:45 +05:30
dependabot[bot]
bd3ab1a856 Bump next-transpile-modules from 7.0.0 to 7.2.0 (#584)
Bumps [next-transpile-modules](https://github.com/martpie/next-transpile-modules) from 7.0.0 to 7.2.0.
- [Release notes](https://github.com/martpie/next-transpile-modules/releases)
- [Commits](https://github.com/martpie/next-transpile-modules/compare/7.0.0...7.2.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-14 12:11:45 +05:30
dependabot[bot]
905c293a65 Bump @types/node from 15.3.1 to 15.6.1 (#594)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 15.3.1 to 15.6.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-14 12:11:45 +05:30
dependabot[bot]
4d21beebb2 Bump js-base64 from 3.6.0 to 3.6.1 (#590)
Bumps [js-base64](https://github.com/dankogai/js-base64) from 3.6.0 to 3.6.1.
- [Release notes](https://github.com/dankogai/js-base64/releases)
- [Commits](https://github.com/dankogai/js-base64/compare/3.6.0...3.6.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-14 12:11:45 +05:30
dependabot[bot]
1cfb8e27c2 Bump @typeit/discord from 4.0.9 to 4.0.10 (#585)
Bumps [@typeit/discord](https://github.com/OwenCalvin/discord.ts) from 4.0.9 to 4.0.10.
- [Release notes](https://github.com/OwenCalvin/discord.ts/releases)
- [Changelog](https://github.com/OwenCalvin/discord.ts/blob/master/CHANGELOG.md)
- [Commits](https://github.com/OwenCalvin/discord.ts/commits)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-14 12:11:45 +05:30
dependabot[bot]
4bebe78fad Bump ethers from 5.1.4 to 5.2.0 (#589)
Bumps [ethers](https://github.com/ethers-io/ethers.js/tree/HEAD/packages/ethers) from 5.1.4 to 5.2.0.
- [Release notes](https://github.com/ethers-io/ethers.js/releases)
- [Changelog](https://github.com/ethers-io/ethers.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ethers-io/ethers.js/commits/v5.2.0/packages/ethers)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-14 12:11:45 +05:30
Hammad Jutt
8bee6f8d4f Update migrateSourceCredAccounts scripts to use Eth address as source of truth 2021-06-14 12:11:45 +05:30
dependabot[bot]
2994aca8e8 Bump @types/node from 15.3.0 to 15.3.1 (#577)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 15.3.0 to 15.3.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-14 12:11:45 +05:30
dependabot[bot]
8e5cc79045 Bump @chakra-ui/react from 1.6.1 to 1.6.2 (#580)
Bumps [@chakra-ui/react](https://github.com/chakra-ui/chakra-ui) from 1.6.1 to 1.6.2.
- [Release notes](https://github.com/chakra-ui/chakra-ui/releases)
- [Changelog](https://github.com/chakra-ui/chakra-ui/blob/main/CHANGELOG.md)
- [Commits](https://github.com/chakra-ui/chakra-ui/compare/@chakra-ui/react@1.6.1...@chakra-ui/react@1.6.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-14 12:11:45 +05:30