Skip to content

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

amrro added 5 commits April 19, 2023 23:31
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
@amrro amrro requested a review from jonathanprozzi 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.

3 participants