Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add pass and subcription to /create-profile #1453

Draft
wants to merge 102 commits into
base: main
Choose a base branch
from

Conversation

dominik-stumpf
Copy link
Contributor

This reverts commit 887722b.

dominik-stumpf and others added 27 commits August 8, 2024 19:51
* feat: add models to scene

* refactor: use backend schemas

* chore: compress guild pass models
* feat: add chart and start profile page

* chore: build up profile main section

* chore: adjust css to design

* chore: add mobile view

* feat: add contribution card

* chore: position xp radial chart correctly

* feat: improve contribution card view

* chore: add RecentActivity

* chore: replace xp by badge

* chore: move PageContainer into Layout

* chore: add customizability to Layout components

* test: update stories

* chore: remove lucide-react dep

* feat: add bg to circle xp bar

* feat: try filling user data

* chore: remove providers and account

* chore: fine tune CircularProgressBar

* feat: try adding compoundVariants to Toggle

* feat: add LevelPolygon

* chore: add back profile fetching

* chore: finish toggle color config

* fix: address toggle type errors

* Revert "fix: address toggle type errors"

This reverts commit e82fbc8.

* Revert "chore: finish toggle color config"

This reverts commit 913e436.

* feat: improve toggle variants

* chore: adjust spacing and remove placeholder desc

* feat: add LevelBadge

* feat: start editprofile

* refactor(css): redo profile summary

* refactor(css): improve contribution cards

* Revert "chore: remove providers and account"

This reverts commit 2c28453.

* feat: add OperatedGuildCard

* chore: add EditProfile

* feat: finish EditProfile presentation

* chore: adjust spacing in EditProfile

* fix: spread props

* feat: add delete profile view

* feat: add EditContributions

* refactor: remove cartesian grid from ActivityChart

* refactor: reduce spacing on CheckMark

* feat(LayoutFooter): accept children

* fix: remove shadow from LevelBadge

* fix(css): adjust styles

* fix(css): add padding to OperatedGuildCard

* fix(css): adjust styles to design

* chore: move profile to csr only temporarily

* UI(EditContributions): smaller button

* UI(EditProfile): adjust borders

* UI(Dialog): default footer styles

* cleanup: move const out of render function

* remove rechart & Experience section

* UI: make borders muted

* OperatedGuildCard components

* chore: remove xp metagame related components

* implement contribution container (#1430)

* feat: add useContribution

* feat: update contribution card

* chore: add EditContribution

* feat: add select contribution

* feat: add edit contribution

* chore: try adding EditContributionCard container

* feat: add image to select items

* chore: align select item padding with input

* chore: start adding swr smaller fetches

* feat: add delete update and create contribution

* feat: add create new contribution

* feat: cover contribution CRUD

* chore: remove revalidation from swr fetches

* feat: add delete loader and validation

* refactor: select placeholder fix, remove comments

* refactor: remove useAllUserRoles.tsx

* chore: use GuildLabel on ContributionCardView

* UI(OperatedGuildCard): light mode

* Implement `EditProfile` container (#1427)

* feat: add delete profile hook

* feat: add profile editing

* fix: update Header import

* chore: remove sfx from confetti

* fix: update jotai type

* chore: add comment to assertion

* chore: add ts path alias for @app dir

* refactor: apply write-check

* feat: remove profile atom and add swr hooks

* feat: add ssr to page

* feat: add profile owner guard

* feat: add ssr with swr fallback

* feat: add ssr with swr fallback for guild and role

* chore: add note why use constant api url

* chore: resolve schema errors in profile update

* refactor: revalidate on profile deletion

* UI(Avatar): smaller more count text

* add FeaturedIcon to OperatedGuildCard

* chore: break profile name and remove caretdown

* fix(CardWithGuildLabel): label in light mode

* chore: add card behind edit profile

* feat: add not found page

* feat: add color picker

* refactor: redirect to error and fetch per guild

* add optimistic update for edit contributions and profile (#1438)

* refactor: redirect to error and fetch per guild

* feat: add optimistic update to contributions

* feat: finish update contribution and polish

* feat: add optimistic update to profile

* chore: rename revalidateContribution and fix type error

* feat: memoize profile guard

* static banner style base

* UI: layout & responsivity impros

* SectionTitle component & md size on mobile

* UI(OperatedGuildCard): responsivity impros

* chore: add bg to CardWithGuildLabel

* UI(ContributionCard): responsivity impros

* update to new types package & change profileId to userId

* UI(EditProfile): subtle border for images too

* update to new types package

* feat: working color theming

* fix(ProfileColorPicker): dynamic icon color

* UI(EditProfile): inside scroll in modal

* refactor(EditProfile): batch components

* feat: background image

* fix: address client side error and remove type assertions

* feat: add referred users

* chore: switch to dev backend, cache activities

* cleanup chart colors

* refactor: use backend schemas

* fix: broken banner styles

---------

Co-authored-by: BrickheadJohnny <[email protected]>
Co-authored-by: valid <[email protected]>
* feat: add referred users to claim pass

* fix: prevent render loop

* chore: try adding wizard form with history

* feat: add auth wall

* feat: add onboarding flow restrictions

* chore: remove subscription logic

* chore: clean up comments and unused file

* chore: remove unused comments in ClaimPass

* chore: add margin top to form description

* chore: remove unused variables

* fix: omit referredUserId from schema

* chore: exclude subscription features

* chore: improve auth wall page design

* chore: add short profile intro

* Revert "chore: exclude subscription features" (#1446)

This reverts commit 56e64e8.

* UI impros, use layout from create-guild

* chore: add select component back

* chore: remove auth guard paragraph

* chore: add todo to profile creation

* fix(css): move card compound layout into create-profile

* Revert "chore: remove auth guard paragraph"

This reverts commit 8fd993d.

* chore: adjust spacing on auth guard

* feat: add username validation onBlur

* fix: add default referrer to submit

* fix: avoid error retry for invite link

* fix: prevent invalid user submit

* refactor: rename chain to createProfile

* fix: put router call into useEffect

* feat: sustain invite link on AuthWall

* fix: add Suspense to searchParams calls

* Revert "fix: add Suspense to searchParams calls"

This reverts commit 2fc759b.

* chore: move suspense out to layout

---------

Co-authored-by: valid <[email protected]>
* feat: implement account modal for profile

* chore: center align CheckMark

* chore: replace account name placeholder

* separate NetworkIndicator component and add to profile popover too

* UI(AccountModal): profile section refinements

* chore: remove xp and payment feature

---------

Co-authored-by: valid <[email protected]>
Copy link

vercel bot commented Aug 23, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
guild-xyz ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 23, 2024 1:04pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants