Skip to content

fix: limit guild membership display to 3 on player cards#1795

Closed
Ai-chan-0411 wants to merge 2 commits intoMetaFam:developfrom
Ai-chan-0411:fix/guild-membership-display-limit-1629
Closed

fix: limit guild membership display to 3 on player cards#1795
Ai-chan-0411 wants to merge 2 commits intoMetaFam:developfrom
Ai-chan-0411:fix/guild-membership-display-limit-1629

Conversation

@Ai-chan-0411
Copy link
Copy Markdown

Fixes #1629

Changes

  • Reduced default guild membership display limit from 12 to 3 on player cards
  • Updated dynamic resize calculation to cap at 3 memberships (was minimum 8)
  • Excess memberships now show "+X" indicator as designed

This prevents guild memberships from breaking into multiple rows and keeps player cards visually consistent.

Issue MetaFam#1774: When users connect their wallet and try to edit their profile,
they receive confusing 'No wallet connected' error even though wallet is connected.

Root cause: useSaveToComposeDB was only checking if user object was loaded,
not distinguishing between 'wallet not connected' vs 'user data not loaded yet'.

Fixes:
- Add isConnected check from wagmi hook for clear wallet connection state
- Improve error messages to distinguish between different failure scenarios
- Add validation for user.address to catch incomplete profile data
- Include isConnected in useCallback dependency array

This ensures users get appropriate feedback when wallet is actually disconnected
vs when user data is still loading after wallet connection.

Closes MetaFam#1774
@codesandbox
Copy link
Copy Markdown

codesandbox bot commented Apr 11, 2026

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 11, 2026

@aoi-dev-0411 is attempting to deploy a commit to the MetaFamily Team on Vercel.

A member of the Team first needs to authorize it.

@Ai-chan-0411
Copy link
Copy Markdown
Author

Closing due to no review activity. Thank you for the opportunity!

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.

Guilds display on player cards not working (properly 😂)

1 participant