Skip to content

Commit

Permalink
chore: release to main (#472)
Browse files Browse the repository at this point in the history
* feat: squid v62 (#449)

* fix: campaign state (#445)

* fix: campaign state

* feat(campaign-state): all caps

* fix: revert rename

Co-authored-by: 2075 <2075@zero.io>
Co-authored-by: 2075 <1140449+2075@users.noreply.github.com>

* fix organization caching (#451)

* feat(metrics): Add metrics plugin to Apollo server (#457)

Add metrics plugin to Apollo server

* Am/wip treasury (#450)

* feat: new treasury upload

* feat: update

* feat: last chart

* fix visual details

* fix: small fixes

* fix: new icons

* fix: default coin icon

* fix: smaller icons

* fix: hide pagination

* fix: remove old icons

* fix: remove filter button

Co-authored-by: Alexis Munoz <alexismn86@gmail.com>

* chore: rm commit hook

* feat(storybook): add storybook (#460)

* fix: fix org rules (#464)

Co-authored-by: Alexis Munoz <alexismn86@gmail.com>

* fix: footer links (#465)

* fix: footer links

* feat: add dynamic link

* fix: fix footer links

Co-authored-by: Alexis Munoz <alexismn86@gmail.com>

* fix: fix community organizations creation (#466)

Co-authored-by: Alexis Munoz <alexismn86@gmail.com>

* chore: update polkadot pkg (#468)

* chore: update polkadot pkg

* chore: add ts ignore for typing

* feat: init glass theme + a zillion fixes (#458)

* feat(glass): add glass style

* feat(glass): update account views

* feat(glass): update layout

* feat(glass): update tiles

* feat(glass): add fathom

* feat(glass): add fathom

* feat(glass): add enxt link component

* feat(glass): update layout, theme

* feat(glass): clean package, header

* feat(glass): unify page wrappers

* feat(glass): update account section

* feat: update dependencies, rm cz

* feat: fix layout wrappers

* feat: udpate account selectors

* feat: udpate forms

* feat: udpate page layout

* feat: update queries, components

* feat: mv layouts

* feat: update

* feat: sort balances

* feat: page wrappers, ts-ignore

* feat: logo, layout

* feat: update logo in mobile nav

* feat: glass org, fixes

* feat: glass org settings

* feat(glass): refactor folders, state

* feat(glass): rm callback for dialog

* feat(glass): fix paths, create campaign

* feat(glass): update favicon

* feat(glass): fix campaign query

* feat(glass): add error log

* feat(glass): rm apollo server error

* feat(glass): update menu, tabs colors

* feat: add descriptive error messages (#469)

Co-authored-by: Alexis Munoz <alexismn86@gmail.com>

* feat: add feedback button (#461)

* chore: rm .env from repo

* feat(feedback): add feedback component

* feat(feedback): rm .env

* feat(feedback): add discord api

* feat(feedback): change interface name

* feat(glass): add feedback, update navbar

* feat(glass): update discord api

* feat(glass): sidebar structure, quests dummy

* staging (#471)

* Darknebula/upcoming campaign state (#402)

* feat(upcoming-campaign-state): update campaign form and state

* fix: create org

* fix: fix create org

* fix: create campaign transaction

Co-authored-by: Pascal <45153452+PAkhidue@users.noreply.github.com>
Co-authored-by: 2075 <1140449+2075@users.noreply.github.com>

* feat(update-proposal-extrinsics): updated proposal and vote extrinsic (#432)

* Weblate (#439)

* chore: translated using weblate (English)

Currently translated at 100.0% (228 of 228 strings)

Translation: GameDao/Frontend
Translate-URL: http://weblate.zero.io/projects/gamedao/frontend/en/

* chore: translated using weblate (English)

Currently translated at 100.0% (228 of 228 strings)

Translation: GameDao/Frontend
Translate-URL: http://weblate.zero.io/projects/gamedao/frontend/en/

Co-authored-by: Inan <inan@zero.io>

* Update Bug.md

added label

* Create Task.md

init task issue type

* Update Task.md

fix

* feat(spending-proposal): adds spending proposal (#437)

* feat(spending-proposal): worked on spending proposals, wip

* feat(spending-proposal): revert currency change on campaign form

* feat(spending-proposal): wip spending proposal

* feat(spending-proposal): finished spending proposal

* feat(spending-proposal): fixed expired state of proposal

* fix: fix header layout (#447)

Co-authored-by: Alexis Munoz <alexismn86@gmail.com>

* feat(caching): add caching policy (#446)

* feat: squid v62 (#449)

* fix: campaign state (#445)

* fix: campaign state

* feat(campaign-state): all caps

* fix: revert rename

Co-authored-by: 2075 <2075@zero.io>
Co-authored-by: 2075 <1140449+2075@users.noreply.github.com>

* fix organization caching (#451)

* feat(metrics): Add metrics plugin to Apollo server (#457)

Add metrics plugin to Apollo server

* Am/wip treasury (#450)

* feat: new treasury upload

* feat: update

* feat: last chart

* fix visual details

* fix: small fixes

* fix: new icons

* fix: default coin icon

* fix: smaller icons

* fix: hide pagination

* fix: remove old icons

* fix: remove filter button

Co-authored-by: Alexis Munoz <alexismn86@gmail.com>

* chore: rm commit hook

* feat(storybook): add storybook (#460)

* fix: fix org rules (#464)

Co-authored-by: Alexis Munoz <alexismn86@gmail.com>

* fix: footer links (#465)

* fix: footer links

* feat: add dynamic link

* fix: fix footer links

Co-authored-by: Alexis Munoz <alexismn86@gmail.com>

* fix: fix community organizations creation (#466)

Co-authored-by: Alexis Munoz <alexismn86@gmail.com>

* chore: update polkadot pkg (#468)

* chore: update polkadot pkg

* chore: add ts ignore for typing

* feat: init glass theme + a zillion fixes (#458)

* feat(glass): add glass style

* feat(glass): update account views

* feat(glass): update layout

* feat(glass): update tiles

* feat(glass): add fathom

* feat(glass): add fathom

* feat(glass): add enxt link component

* feat(glass): update layout, theme

* feat(glass): clean package, header

* feat(glass): unify page wrappers

* feat(glass): update account section

* feat: update dependencies, rm cz

* feat: fix layout wrappers

* feat: udpate account selectors

* feat: udpate forms

* feat: udpate page layout

* feat: update queries, components

* feat: mv layouts

* feat: update

* feat: sort balances

* feat: page wrappers, ts-ignore

* feat: logo, layout

* feat: update logo in mobile nav

* feat: glass org, fixes

* feat: glass org settings

* feat(glass): refactor folders, state

* feat(glass): rm callback for dialog

* feat(glass): fix paths, create campaign

* feat(glass): update favicon

* feat(glass): fix campaign query

* feat(glass): add error log

* feat(glass): rm apollo server error

* feat(glass): update menu, tabs colors

* feat: add descriptive error messages (#469)

Co-authored-by: Alexis Munoz <alexismn86@gmail.com>

* feat: add feedback button (#461)

* chore: rm .env from repo

* feat(feedback): add feedback component

* feat(feedback): rm .env

* feat(feedback): add discord api

* feat(feedback): change interface name

* feat(glass): add feedback, update navbar

* feat(glass): update discord api

* feat(glass): sidebar structure, quests dummy

Co-authored-by: André <91988910+DarkNebula0@users.noreply.github.com>
Co-authored-by: Pascal <45153452+PAkhidue@users.noreply.github.com>
Co-authored-by: Inan <91988132+5-mark@users.noreply.github.com>
Co-authored-by: Inan <inan@zero.io>
Co-authored-by: Alexis <114652006+AlexisZero@users.noreply.github.com>
Co-authored-by: Alexis Munoz <alexismn86@gmail.com>
Co-authored-by: Volodymyr Brazhnyk <16227101+vovacha@users.noreply.github.com>
Co-authored-by: Vasylenko Yevhen <ggbigkon@gmail.com>

* chore: auto detect network per environment (#473)

* feat(detect-env): update images

* feat(detect-env): add versioning, environments, footer note

* staging: v1.0.0-rc.1 (#474)

* Darknebula/upcoming campaign state (#402)

* feat(upcoming-campaign-state): update campaign form and state

* fix: create org

* fix: fix create org

* fix: create campaign transaction

Co-authored-by: Pascal <45153452+PAkhidue@users.noreply.github.com>
Co-authored-by: 2075 <1140449+2075@users.noreply.github.com>

* feat(update-proposal-extrinsics): updated proposal and vote extrinsic (#432)

* Weblate (#439)

* chore: translated using weblate (English)

Currently translated at 100.0% (228 of 228 strings)

Translation: GameDao/Frontend
Translate-URL: http://weblate.zero.io/projects/gamedao/frontend/en/

* chore: translated using weblate (English)

Currently translated at 100.0% (228 of 228 strings)

Translation: GameDao/Frontend
Translate-URL: http://weblate.zero.io/projects/gamedao/frontend/en/

Co-authored-by: Inan <inan@zero.io>

* Update Bug.md

added label

* Create Task.md

init task issue type

* Update Task.md

fix

* feat(spending-proposal): adds spending proposal (#437)

* feat(spending-proposal): worked on spending proposals, wip

* feat(spending-proposal): revert currency change on campaign form

* feat(spending-proposal): wip spending proposal

* feat(spending-proposal): finished spending proposal

* feat(spending-proposal): fixed expired state of proposal

* fix: fix header layout (#447)

Co-authored-by: Alexis Munoz <alexismn86@gmail.com>

* feat(caching): add caching policy (#446)

* feat: squid v62 (#449)

* fix: campaign state (#445)

* fix: campaign state

* feat(campaign-state): all caps

* fix: revert rename

Co-authored-by: 2075 <2075@zero.io>
Co-authored-by: 2075 <1140449+2075@users.noreply.github.com>

* fix organization caching (#451)

* feat(metrics): Add metrics plugin to Apollo server (#457)

Add metrics plugin to Apollo server

* Am/wip treasury (#450)

* feat: new treasury upload

* feat: update

* feat: last chart

* fix visual details

* fix: small fixes

* fix: new icons

* fix: default coin icon

* fix: smaller icons

* fix: hide pagination

* fix: remove old icons

* fix: remove filter button

Co-authored-by: Alexis Munoz <alexismn86@gmail.com>

* chore: rm commit hook

* feat(storybook): add storybook (#460)

* fix: fix org rules (#464)

Co-authored-by: Alexis Munoz <alexismn86@gmail.com>

* fix: footer links (#465)

* fix: footer links

* feat: add dynamic link

* fix: fix footer links

Co-authored-by: Alexis Munoz <alexismn86@gmail.com>

* fix: fix community organizations creation (#466)

Co-authored-by: Alexis Munoz <alexismn86@gmail.com>

* chore: update polkadot pkg (#468)

* chore: update polkadot pkg

* chore: add ts ignore for typing

* feat: init glass theme + a zillion fixes (#458)

* feat(glass): add glass style

* feat(glass): update account views

* feat(glass): update layout

* feat(glass): update tiles

* feat(glass): add fathom

* feat(glass): add fathom

* feat(glass): add enxt link component

* feat(glass): update layout, theme

* feat(glass): clean package, header

* feat(glass): unify page wrappers

* feat(glass): update account section

* feat: update dependencies, rm cz

* feat: fix layout wrappers

* feat: udpate account selectors

* feat: udpate forms

* feat: udpate page layout

* feat: update queries, components

* feat: mv layouts

* feat: update

* feat: sort balances

* feat: page wrappers, ts-ignore

* feat: logo, layout

* feat: update logo in mobile nav

* feat: glass org, fixes

* feat: glass org settings

* feat(glass): refactor folders, state

* feat(glass): rm callback for dialog

* feat(glass): fix paths, create campaign

* feat(glass): update favicon

* feat(glass): fix campaign query

* feat(glass): add error log

* feat(glass): rm apollo server error

* feat(glass): update menu, tabs colors

* feat: add descriptive error messages (#469)

Co-authored-by: Alexis Munoz <alexismn86@gmail.com>

* feat: add feedback button (#461)

* chore: rm .env from repo

* feat(feedback): add feedback component

* feat(feedback): rm .env

* feat(feedback): add discord api

* feat(feedback): change interface name

* feat(glass): add feedback, update navbar

* feat(glass): update discord api

* feat(glass): sidebar structure, quests dummy

* chore: auto detect network per environment (#473)

* feat(detect-env): update images

* feat(detect-env): add versioning, environments, footer note

Co-authored-by: André <91988910+DarkNebula0@users.noreply.github.com>
Co-authored-by: Pascal <45153452+PAkhidue@users.noreply.github.com>
Co-authored-by: Inan <91988132+5-mark@users.noreply.github.com>
Co-authored-by: Inan <inan@zero.io>
Co-authored-by: Alexis <114652006+AlexisZero@users.noreply.github.com>
Co-authored-by: Alexis Munoz <alexismn86@gmail.com>
Co-authored-by: Volodymyr Brazhnyk <16227101+vovacha@users.noreply.github.com>
Co-authored-by: Vasylenko Yevhen <ggbigkon@gmail.com>

* fix(error-bound): rm (#475)

* fix: error bound (#476)

* Darknebula/upcoming campaign state (#402)

* feat(upcoming-campaign-state): update campaign form and state

* fix: create org

* fix: fix create org

* fix: create campaign transaction

Co-authored-by: Pascal <45153452+PAkhidue@users.noreply.github.com>
Co-authored-by: 2075 <1140449+2075@users.noreply.github.com>

* feat(update-proposal-extrinsics): updated proposal and vote extrinsic (#432)

* Weblate (#439)

* chore: translated using weblate (English)

Currently translated at 100.0% (228 of 228 strings)

Translation: GameDao/Frontend
Translate-URL: http://weblate.zero.io/projects/gamedao/frontend/en/

* chore: translated using weblate (English)

Currently translated at 100.0% (228 of 228 strings)

Translation: GameDao/Frontend
Translate-URL: http://weblate.zero.io/projects/gamedao/frontend/en/

Co-authored-by: Inan <inan@zero.io>

* Update Bug.md

added label

* Create Task.md

init task issue type

* Update Task.md

fix

* feat(spending-proposal): adds spending proposal (#437)

* feat(spending-proposal): worked on spending proposals, wip

* feat(spending-proposal): revert currency change on campaign form

* feat(spending-proposal): wip spending proposal

* feat(spending-proposal): finished spending proposal

* feat(spending-proposal): fixed expired state of proposal

* fix: fix header layout (#447)

Co-authored-by: Alexis Munoz <alexismn86@gmail.com>

* feat(caching): add caching policy (#446)

* feat: squid v62 (#449)

* fix: campaign state (#445)

* fix: campaign state

* feat(campaign-state): all caps

* fix: revert rename

Co-authored-by: 2075 <2075@zero.io>
Co-authored-by: 2075 <1140449+2075@users.noreply.github.com>

* fix organization caching (#451)

* feat(metrics): Add metrics plugin to Apollo server (#457)

Add metrics plugin to Apollo server

* Am/wip treasury (#450)

* feat: new treasury upload

* feat: update

* feat: last chart

* fix visual details

* fix: small fixes

* fix: new icons

* fix: default coin icon

* fix: smaller icons

* fix: hide pagination

* fix: remove old icons

* fix: remove filter button

Co-authored-by: Alexis Munoz <alexismn86@gmail.com>

* chore: rm commit hook

* feat(storybook): add storybook (#460)

* fix: fix org rules (#464)

Co-authored-by: Alexis Munoz <alexismn86@gmail.com>

* fix: footer links (#465)

* fix: footer links

* feat: add dynamic link

* fix: fix footer links

Co-authored-by: Alexis Munoz <alexismn86@gmail.com>

* fix: fix community organizations creation (#466)

Co-authored-by: Alexis Munoz <alexismn86@gmail.com>

* chore: update polkadot pkg (#468)

* chore: update polkadot pkg

* chore: add ts ignore for typing

* feat: init glass theme + a zillion fixes (#458)

* feat(glass): add glass style

* feat(glass): update account views

* feat(glass): update layout

* feat(glass): update tiles

* feat(glass): add fathom

* feat(glass): add fathom

* feat(glass): add enxt link component

* feat(glass): update layout, theme

* feat(glass): clean package, header

* feat(glass): unify page wrappers

* feat(glass): update account section

* feat: update dependencies, rm cz

* feat: fix layout wrappers

* feat: udpate account selectors

* feat: udpate forms

* feat: udpate page layout

* feat: update queries, components

* feat: mv layouts

* feat: update

* feat: sort balances

* feat: page wrappers, ts-ignore

* feat: logo, layout

* feat: update logo in mobile nav

* feat: glass org, fixes

* feat: glass org settings

* feat(glass): refactor folders, state

* feat(glass): rm callback for dialog

* feat(glass): fix paths, create campaign

* feat(glass): update favicon

* feat(glass): fix campaign query

* feat(glass): add error log

* feat(glass): rm apollo server error

* feat(glass): update menu, tabs colors

* feat: add descriptive error messages (#469)

Co-authored-by: Alexis Munoz <alexismn86@gmail.com>

* feat: add feedback button (#461)

* chore: rm .env from repo

* feat(feedback): add feedback component

* feat(feedback): rm .env

* feat(feedback): add discord api

* feat(feedback): change interface name

* feat(glass): add feedback, update navbar

* feat(glass): update discord api

* feat(glass): sidebar structure, quests dummy

* chore: auto detect network per environment (#473)

* feat(detect-env): update images

* feat(detect-env): add versioning, environments, footer note

* fix(error-bound): rm (#475)

Co-authored-by: André <91988910+DarkNebula0@users.noreply.github.com>
Co-authored-by: Pascal <45153452+PAkhidue@users.noreply.github.com>
Co-authored-by: Inan <91988132+5-mark@users.noreply.github.com>
Co-authored-by: Inan <inan@zero.io>
Co-authored-by: Alexis <114652006+AlexisZero@users.noreply.github.com>
Co-authored-by: Alexis Munoz <alexismn86@gmail.com>
Co-authored-by: Volodymyr Brazhnyk <16227101+vovacha@users.noreply.github.com>
Co-authored-by: Vasylenko Yevhen <ggbigkon@gmail.com>

* fix: fix treasury page (#477)

Co-authored-by: Alexis Munoz <alexismn86@gmail.com>

* fix: fix proposals majority texts (#479)

Co-authored-by: Alexis Munoz <alexismn86@gmail.com>

* fix: add texts to translations (#480)

* fix: add texts to translations

* fix: merge error

Co-authored-by: Alexis Munoz <alexismn86@gmail.com>

* chore: translation strings (#481)

* chore: update issue templates (#462)

* Update Bug.md

added label

* Create Task.md

init task issue type

* Update Task.md

fix

* Update Bug.md

added label

* chore: translated using weblate (English)

Currently translated at 100.0% (228 of 228 strings)

Translation: GameDao/Frontend
Translate-URL: http://weblate.zero.io/projects/gamedao/frontend/en/

* chore: translated using weblate (English)

Currently translated at 100.0% (228 of 228 strings)

Translation: GameDao/Frontend
Translate-URL: http://weblate.zero.io/projects/gamedao/frontend/en/

* chore: translated using weblate (English)

Currently translated at 100.0% (324 of 324 strings)

Translation: GameDao/Frontend
Translate-URL: http://weblate.gamedao.co/projects/gamedao/frontend/en/

Co-authored-by: Inan <91988132+5-mark@users.noreply.github.com>
Co-authored-by: Inan <inan@zero.io>
Co-authored-by: Weblate Admin <devops@gamedao.co>
Co-authored-by: Alexis Munoz <alexismn86@gmail.com>

* feat: now org fee type (#490)

Co-authored-by: Alexis Munoz <alexismn86@gmail.com>

* fix: gamedao service self healing (#499)

* chore: update issue templates (#462)

* Update Bug.md

added label

* Create Task.md

init task issue type

* Update Task.md

fix

* Update Bug.md

added label

* fix: self-healing

* fix: add exit code 1

Co-authored-by: Inan <91988132+5-mark@users.noreply.github.com>

* feat: storybook infrastructure (#492)

Co-authored-by: Alexis Munoz <alexismn86@gmail.com>

* fix: fixes warnings in console (#486)

Co-authored-by: Alexis Munoz <alexismn86@gmail.com>

* fix: fix fields validations (#498)

Co-authored-by: Alexis Munoz <alexismn86@gmail.com>

* feat: approval for pending members (#497)

* feat: add member state queries

* fix: default export for api

* fix: add missing key

* feat: rm vanity queries

* feat: add join button

* feat: rm log

* fix: update dev env

* fix: update navbar

* fix: update content

* fix: update create dao

* fix: update link

* feat: add avatars

* feat: org page

* feat: add selector

* feat: update favicon

* feat: rm log

* feat: fix sidebar pill

* feat: identity

* feat: update paths

* feat: new notifiaction on top

* feat: add firesquid endpoint

* feat: update tmp org types

* feat: add tags, location, url

* fix: values

* feat: update queries

* feat: update endpoint

* feat: update endpoint

* feat: members, invite, identity

* feat: update approve members callback

* feat: update queries, types

* feat: update theme

* feat: secondary button style

* feat: bundle analyzer

* feat: redirect

* feat: store location,url

* feat: border radius

* Feat/dapp/account (#515)

* feat: border radius

* feat: update account section, queries

* fix: location, url caching

* fix: location, url caching

* feat: add balance history to account dapp

* feat: balance history

* feat/battlepass (#516)

* feat: rm menu items

* feat: add temp gfx assets

* feat: update layout, add pages for v1

* feat: add loader, enums, hooks

* feat: init battlepass

* chore: update linter setup

* feat: update build

* feat: graph, nav

* feat: update layout, theme

* feat: update page wrappers, add v1 router

* feat: add battlepass

* feat: update layout, resolve battlepass

* feat: move battlepass

* fix: file case

* fix: normalize file imports

* fix: normalize file imports

* fix: normalize file imports

* Feat/claim battlepass (#521)

* feat: rm menu items

* feat: add temp gfx assets

* feat: update layout, add pages for v1

* feat: add loader, enums, hooks

* feat: init battlepass

* chore: update linter setup

* feat: update build

* feat: graph, nav

* feat: update layout, theme

* feat: update page wrappers, add v1 router

* feat: add battlepass

* feat: update layout, resolve battlepass

* feat: move battlepass

* fix: file case

* fix: normalize file imports

* fix: normalize file imports

* fix: normalize file imports

* feat: add battlepass tx

* feat: update sidebar query

* feat: add push

* feat: fix creator query

* feat: graph queries, repo settings

* feat: update battlepass

* feat: begin refactor forms, panels

* chore: pin yarn 1.19.0

* chore: update readme

* feat: update pages, router, layouts

* feat: battlepass and graph

* chore: yarn

* fix: server crash

* feat(battlepass): update spring animation

* fix: rm page transition

* fix: rm framer

* feat: update queries

* feat: update sidebar

* fix: queries, form, toaster

* fix: rm key

* fix: disable codegen enumsAsTypes

* chore: repo update

* feat: update session integration

* feat: add session handling

* feat: update battlepass routing

* feat: add auth, persist uuid, update types

* feat: add typing

* feat: update user object

* feat: update battlepass view

* feat: move session handling to app context

* feat: update battlepass styling

* feat: update battlepass queries, xpbar

* fix: icon filenames lowercase

* feat: mute log

* feat: no typenames for graphql objects

* feat: parse quests

* feat: update buy, share btn, hide quests, rewards

* feat: prepare app context

* feat: add context

* feat: inspect client error

* feat: debug connection / header

* feat: debug connection

* feat: rm pt

* feat: update query

* fix: rm components

* feat: add logs

* feat: filter logic

* feat: enable header

* feat: add try catch to join mutation

* feat: check identities, score length

* feat: rm xpbar

* feat: update member filter logic

* feat: rm btn

* feat: member count

* feat: rm void query

* feat: enable all

* feat: update quests, rewards, add demo mdoe

* feat: init battlepass creator

* feat: add levels table

* feat: update level editor

* feat: rm xpbar

* feat: update battlepass, add leaderboard

* feat: add stripe integration

* feat: leaderboard glass

* feat: add txt to loader

* feat: add payment flow

* feat: move checkout to modal

* feat: update static assets

* feat: add landingpage

* feat: update wrapper pages

* feat: add landingpage layout

* feat: update components, queries, theme

* feat: update graph queries

* feat: add input to dropzone

* feat: add create battlepass when wallet connected

* feat: disable commerce

* feat: add nonce to sign and notify

* feat: add create battlepass tx

* feat: add prime subscription

* feat: add selected org to payload

* feat: activate battlepass

* feat: add level upload feature

* feat: update landingpage

* feat: connect quests

* feat: progress bar  > 100

* feat: update dashboard

* feat: add missing queries

* feat: add queries

* feat: fix bar maxpoints

* feat: add twitter oauth2

* feat: add twitter to wallet dialog

* feat: add twitter to appstate

* feat: add connect logic

* feat: zero points

* feat: rewards null

* feat: hide mocked modules

* feat: rm rewards

* feat: rm quests

* feat: update connect wallet

* feat: hide create without wallet

* feat: update bar, quests

* feat: update app provider, add generic hash fn

* feat: add intersection observer

* feat: update app provider, account selector

* feat: hide create when disconnected

* feat: add header

* feat: update battlepass

* feat: battlepass content full width

* feat: add action to flyout

* feat: connect wallet

* feat: enable reward render

* feat: add balances to org overview

* feat: update font link

* feat: update landingpage

* feat: update rewards

* feat: update ipfs, create

* feat: rm prop

* feat: add id to queries

* feat: hide twitter connect

* feat: unhide disconnect

* feat: omit logs

* feat: add linkaddress to type

* feat: update ipfs, omit logs

* feat: update quests, omit twitter quests

* feat: org dynamic import

* feat: add reward image loader

* feat: add device detection

* feat: show device specific wallets only

* feat: show device specific wallets only

* feat: handle discord and twitter sign in

* feat: app provider, account handling

* feat: rm log

* feat: update state management

* feat: add names to leaderboard

* feat: rewards button test

* feat: add buy page

* feat: add scheme to checkout

* feat: update header, pay

* feat: protocol party

* feat: discord on frontpage

* feat: payment intent

* feat: subscription for achievements <3

* feat: add cid for pass preview

* feat: update subscriptions

* feat: add link to quests

* feat: update queries

* feat: update score to subscriptions

* feat: optimize appstate

* feat: level subscription, mute log, queries

* feat: update battlepass overview

* feat: update reward threshold

* fix: account selector user object access

* feat: update quest icon mapping

* feat: add claim reward mutation

* feat: fix xpbar

* feat: update wallet connect, queries, basedialog

* feat: update claim rewards

* feat: update bar

* feat: escape char

* feat: update button event

* feat: update queries, buy premium

* feat: update rewards claim mutation

* feat: check link exists

* feat: layout + fx

* feat: enable delete + edit in level editor

* Update chromatic.yml

* feat: dialog right align close

* feat: add link bot

* feat: update uuid logic

* feat: update levels, uuid

* feat: wallet connect buttons

* feat: balance width

* feat: balance width

* feat: gradient

* feat: account connection

* feat: add email

* feat: claim logic

* chore: update stage (#527)

* feat: update connected in wallet connect

* feat: update

* feat: app state

* feat: rm log

* feat: gate member

* feat: change order of buybtn check

* feat: schroedingers state management

* feat: update link wallet params

* feat: no address mutation without uuid

* feat: add check for address

* feat: invert member logic

* fix: number type regression

* feat: fix user object

* feat: rewards sub + claimable

* feat: ui tweaks

* feat: update emoji

* feat: purchase disable button

* feat: serve dicebear from local api

* feat: fix ternary

* feat: query for avatar

* chore: merge dev (#528)

* feat: update connected in wallet connect

* feat: update

* feat: app state

* feat: rm log

* feat: gate member

* feat: change order of buybtn check

* feat: schroedingers state management

* feat: update link wallet params

* feat: no address mutation without uuid

* feat: add check for address

* feat: invert member logic

* fix: number type regression

* feat: fix user object

* feat: rewards sub + claimable

* feat: ui tweaks

* feat: update emoji

* feat: purchase disable button

* feat: serve dicebear from local api

* feat: fix ternary

* feat: query for avatar

* feat: hide campaigns

* chore: merge dev (#529)

* feat: update connected in wallet connect

* feat: update

* feat: app state

* feat: rm log

* feat: gate member

* feat: change order of buybtn check

* feat: schroedingers state management

* feat: update link wallet params

* feat: no address mutation without uuid

* feat: add check for address

* feat: invert member logic

* fix: number type regression

* feat: fix user object

* feat: rewards sub + claimable

* feat: ui tweaks

* feat: update emoji

* feat: purchase disable button

* feat: serve dicebear from local api

* feat: fix ternary

* feat: query for avatar

* feat: hide campaigns

* feat: outline to border for avatar

* feat: update frontpage

* feat: hide create button

* feat: hide create button

* feat: update apple rendering

* feat: update meta, mobile, apple layout

* feat: rm log

* chore: update mobile nav (#530)

* feat: update connected in wallet connect

* feat: update

* feat: app state

* feat: rm log

* feat: gate member

* feat: change order of buybtn check

* feat: schroedingers state management

* feat: update link wallet params

* feat: no address mutation without uuid

* feat: add check for address

* feat: invert member logic

* fix: number type regression

* feat: fix user object

* feat: rewards sub + claimable

* feat: ui tweaks

* feat: update emoji

* feat: purchase disable button

* feat: serve dicebear from local api

* feat: fix ternary

* feat: query for avatar

* feat: hide campaigns

* feat: outline to border for avatar

* feat: update frontpage

* feat: hide create button

* feat: hide create button

* feat: update apple rendering

* feat: update meta, mobile, apple layout

* feat: rm log

* feat: update mobile nav

* feat: update frontend (#531)

* feat: update connected in wallet connect

* feat: update

* feat: app state

* feat: rm log

* feat: gate member

* feat: change order of buybtn check

* feat: schroedingers state management

* feat: update link wallet params

* feat: no address mutation without uuid

* feat: add check for address

* feat: invert member logic

* fix: number type regression

* feat: fix user object

* feat: rewards sub + claimable

* feat: ui tweaks

* feat: update emoji

* feat: purchase disable button

* feat: serve dicebear from local api

* feat: fix ternary

* feat: query for avatar

* feat: hide campaigns

* feat: outline to border for avatar

* feat: update frontpage

* feat: hide create button

* feat: hide create button

* feat: update apple rendering

* feat: update meta, mobile, apple layout

* feat: rm log

* feat: update mobile nav

* feat: add newsletter

---------

Co-authored-by: Volodymyr Brazhnyk <16227101+vovacha@users.noreply.github.com>
Co-authored-by: André <91988910+DarkNebula0@users.noreply.github.com>
Co-authored-by: Vasylenko Yevhen <ggbigkon@gmail.com>
Co-authored-by: Alexis <114652006+AlexisZero@users.noreply.github.com>
Co-authored-by: Alexis Munoz <alexismn86@gmail.com>
Co-authored-by: Pascal <45153452+PAkhidue@users.noreply.github.com>
Co-authored-by: Inan <91988132+5-mark@users.noreply.github.com>
Co-authored-by: Inan <inan@zero.io>
Co-authored-by: Weblate Admin <devops@gamedao.co>
  • Loading branch information
10 people authored Mar 4, 2023
1 parent 8b7bf1d commit 7a86c67
Show file tree
Hide file tree
Showing 472 changed files with 32,085 additions and 7,796 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

root = true

[*.{js,jsx,ts,tsx,sol}]
[*.{js,jsx,ts,tsx,sol,gql,graphql}]
indent_style = tab
indent_size = 4
trim_trailing_whitespace = true
Expand Down
27 changes: 27 additions & 0 deletions .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# .github/workflows/chromatic.yml

# Workflow name
name: 'Chromatic'

# Event for the workflow
on:
push:
branches: [ storybook ]

# List of jobs
jobs:
chromatic-deployment:
# Operating System
runs-on: ubuntu-latest
# Job steps
steps:
- uses: actions/checkout@v1
- name: Install dependencies
run: yarn
# 👇 Adds Chromatic as a step in the workflow
- name: Publish to Chromatic
uses: chromaui/action@v1
# Chromatic GitHub Action options
with:
# 👇 Chromatic projectToken, refer to the manage page to obtain it.
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,6 @@ yarn-error.log*
.vercel

**/sitemap.xml
.vscode/settings.json

.yarnrc
10 changes: 10 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
module.exports = {
trailingComma: 'all',
singleQuote: true,
bracketSpacing: true,
printWidth: 120,
tabWidth: 4,
useTabs: true,
parser: 'typescript',
semi: false,
}
23 changes: 0 additions & 23 deletions .prettierrc.json

This file was deleted.

61 changes: 51 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,54 @@
# Gamedao Haiku
# GameDAO
(!(Commitizen friendly]<https://img.shields.io/badge/commitizen-friendly-brightgreen.svg]]<http://commitizen.github.io/cz-cli/]

[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)
GameDAO is a community owned and governed DAO providing community centric protocols:

# greetings x credits x kudos
- building unstoppable organizations
- community shared ownership
- fundraising and project curation
- coordination to organize and prioritize and coordinate use of funds
- collectable based rewards, gamification and governance protocols.

- kilt.io
- rmrk.app
- substrate.io
- zero.io
- game3 foundation
- outlier ventures
- scytale ventures
These enable crowdfunding and governance protocols and aim at videogame creators and players, creators and eSports communities.

GameDAO as a dApp is running on [ZERO.IO]<https://zero.io], a substrate based multichain network for the Metaverse featuring unique, decentralised protocols for the videogames industry.

## 1. development

### requirements
- node lts
- yarn lts
- docker, docker-compose

### installation
- setup `yarn setup && yarn build:graphql`
- run development environment `yarn dev`
- tests `yarn build`
- storybook `yarn sb`
- commit `yarn commit`

## 2. stack, styles + conventions

- monorepo
- app
- prisma
- squid
- translations

- next / typescript / graphql
- mui 5 / atomic design / storybook
- prettier / husky / commitlint

## 2. stack, styles + conventions

- eslint / prettier to normalize codebase
- sort imports from outside to inside

## 3. license
© Copyright 2019-2023 GameDAO, GameDAO.co, GameDAO AG

## 4. greetings, credits and kudos

- [ZERO Network](https://zero.io)
- [GAME3 Foundation](https://game3.foundation)
- [Substrate Framework](https://substrate.io)
7 changes: 7 additions & 0 deletions docs/utils.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# type instrospection

curl 'https://graph.dev.sub.zero.io/' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--compressed \
--data-binary '{"query":"{\n\t__schema{\n queryType {\n fields{\n name\n }\n }\n }\n}"}'
28 changes: 22 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "gamedao-haiku",
"description": "a monorepo for gamedao dapps",
"version": "1.0.0",
"private": true,
"engines": {
"node": ">=16"
Expand All @@ -16,11 +17,16 @@
"release": "yarn build && yarn changeset publish",
"format": "prettier --parser babel-ts --write --check pkg/**/*.{ts,tsx}",
"format:verify": "prettier --parser babel-ts --check pkg/**/*.{ts,tsx}",
"format:staged": "pretty-quick --staged --pattern 'pkg/**/*.{ts,tsx}'",
"lint": "yarn lint:app",
"lint:app": "yarn eslint 'pkg/app/src'",
"build:graphql": "yarn workspace @gamedao-haiku/app generate",
"build:frontend": "yarn workspace @gamedao-haiku/app build",
"prod:frontend": "yarn npm-run-all -s build:graphql build:frontend",
"commit": "git-cz",
"analyze": "ANALYZE=true wsrun -p @gamedao-haiku/app -c build"
"analyze": "ANALYZE=true wsrun -p @gamedao-haiku/app -c build",
"sb": "wsrun -p @gamedao-haiku/app -c storybook",
"reset": "rm -rf node_modules && rm -rf **/node_modules"
},
"publishConfig": {
"access": "public"
Expand All @@ -30,35 +36,45 @@
"@commitlint/cli": "^17.0.2",
"@commitlint/config-conventional": "^17.0.2",
"@commitlint/cz-commitlint": "^17.1.2",
"@commitlint/prompt-cli": "^17.0.0",
"@picgo/bump-version": "^1.0.3",
"@trivago/prettier-plugin-sort-imports": "^3.3.0",
"commitizen": "^4.2.5",
"concurrently": "^7.3.0",
"conventional-changelog": "^3.1.24",
"cz-conventional-changelog": "^3.3.0",
"cz-customizable": "^6.9.1",
"eslint": "^8.27.0",
"eslint-plugin-graphql": "^4.0.0",
"eslint-plugin-storybook": "^0.6.7",
"husky": "^8.0.1",
"lint-staged": "^13.0.2",
"npm-run-all": "^4.1.5",
"prettier": "^2.7.1",
"pretty-quick": "^3.1.3",
"rimraf": "^3.0.2",
"wsrun": "^5.2.1"
},
"config": {
"commitizen": {
"path": "@commitlint/cz-commitlint"
"path": "cz-conventional-changelog"
}
},
"husky": {
"hooks": {
"prepare-commit-msg": "exec < /dev/tty && npx cz --hook || true",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "yarn format:verify"
"pre-commit": "yarn lint-staged"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": "yarn format"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"eslintConfig": {
"rules": {
"@next/next/no-img-element": "off"
}
}
}
3 changes: 0 additions & 3 deletions pkg/app/.env

This file was deleted.

Empty file removed pkg/app/.env.development
Empty file.
16 changes: 16 additions & 0 deletions pkg/app/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
module.exports = {
extends: 'next/core-web-vitals',
plugins: ['unused-imports'],
rules: {
'no-unused-vars': 'off', // or "@typescript-eslint/no-unused-vars": "off",
'unused-imports/no-unused-imports': 0,
// "unused-imports/no-unused-vars": [
// "warn",
// { "vars": "all", "varsIgnorePattern": "^_", "args": "after-used", "argsIgnorePattern": "^_" }
// ]
'import/no-anonymous-default-export': 0,
'react-hooks/exhaustive-deps': 0,
'@next/next/no-img-element': 0,
'jsx-a11y/alt-text': 0,
},
}
3 changes: 0 additions & 3 deletions pkg/app/.eslintrc.json

This file was deleted.

10 changes: 5 additions & 5 deletions pkg/app/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ npm-debug.log*
yarn-debug.log*
yarn-error.log*

# local env files
.env.development.local
.env.test.local
.env.production.local

# vercel
.vercel

**/sitemap.xml

# local env files
.env
**/*.local
*.production
14 changes: 0 additions & 14 deletions pkg/app/.graphqlconfig

This file was deleted.

20 changes: 20 additions & 0 deletions pkg/app/.storybook/main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
module.exports = {
staticDirs: [
"../public",
],
"stories": [
"../src/**/*.stories.mdx",
"../src/**/*.stories.@(js|jsx|ts|tsx)",
"../src/(containers|components)/**/*.stories.@(js|jsx|ts|tsx)"
],
"addons": [
'storybook-addon-next',
'@storybook/addon-links',
'@storybook/addon-essentials',
'@storybook/addon-interactions',
],
"framework": "@storybook/react",
"core": {
"builder": "@storybook/builder-webpack5"
}
}
9 changes: 9 additions & 0 deletions pkg/app/.storybook/preview.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
export const parameters = {
actions: { argTypesRegex: "^on[A-Z].*" },
controls: {
matchers: {
color: /(background|color)$/i,
date: /Date$/,
},
},
}
4 changes: 3 additions & 1 deletion pkg/app/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
#
# GameDAO Haiku

GameDAO Haiku is the frontend stack for the GameDAO dApp.
33 changes: 33 additions & 0 deletions pkg/app/codegen.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
module.exports = {
overwrite: true,
generates: {
'./src/queries/index.ts': {
schema: [
{
'https://graph.dev.sub.zero.io/v1/graphql': {
headers: {
// "x-hasura-role": "admin",
// "x-hasura-admin-secret": "IfRf0ERh7iK4YoZXIr1enMOmVnC2I3fcerldPGck5Q93qwdl7LmP1zCzUyAjKnRy"
},
},
},
],
documents: ['./src/queries/**/*.graphql'],
plugins: ['typescript', 'typescript-operations', 'typescript-react-apollo'],
config: {
preResolveTypes: true,
noSchemaStitching: false,
immutableTypes: true,
useIndexSignature: true,

// skipTypename: false,
// withHooks: true,
// withHOC: false,
// withComponent: false,
// enumsAsTypes: true,
// constEnums: true,
// reactApolloVersion: 3,
},
},
},
}
15 changes: 0 additions & 15 deletions pkg/app/codegen.yml

This file was deleted.

Loading

1 comment on commit 7a86c67

@vercel
Copy link

@vercel vercel bot commented on 7a86c67 Mar 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.