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 Guild Import Modal #499

Open
wants to merge 7 commits into
base: staging
Choose a base branch
from
Open

Add Guild Import Modal #499

wants to merge 7 commits into from

Conversation

amrro
Copy link
Collaborator

@amrro amrro commented Apr 19, 2023

Linear Ticket

Description

This PR adds a Guild Import modal that loads associated joined guilds using the user's signed-in address. Unfortunately, as of this PR, the @guild/sdk does not support fetching guilds joined by the user, so an alternative approach has been taken.

Considerations:

There is an ongoing discussion regarding whether we should continue using NATS servers or switch to a Database SQL approach. This decision requires a collective assessment of the costs and benefits of continuing with NATS or opting for a readily conventional method.

It's recommended to monitor PR #364 to ensure its alignment with this job addition.

Screencaptures

2023-04-20 01-48-03 2023-04-20 01_50_26

This commit introduces a new `useGuildXYZListGuilds` hook that makes two API calls to `api.guild.xyz`. The hook fetches a user's joined guilds and loads their respective guild information. As of this commit, this functionality is not yet supported by the `@guild/sdk`.
@amrro amrro marked this pull request as ready for review April 20, 2023 00:03
@jonathanprozzi
Copy link
Collaborator

This looks amazing at first glance. Going to test a bit further and do a more thorough review. Nice job @amrro !

@jonathanprozzi
Copy link
Collaborator

@amrro minor conflicts after we merged in a few other PRs.
I'm aiming to give this a full review today/tonight, but it looks good so far! Thanks for your patience

# Conflicts:
#	apps/protocol-frontend/src/contexts/OverlayContext.tsx
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.

2 participants