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

refactor: cleanup lot of grapqhl fragments #2977

Merged
merged 3 commits into from
May 31, 2023
Merged

refactor: cleanup lot of grapqhl fragments #2977

merged 3 commits into from
May 31, 2023

Conversation

bigint
Copy link
Member

@bigint bigint commented May 31, 2023

What does this PR do?

🤖 Generated by Copilot at ccfead9

This pull request refactors the GraphQL queries and fragments for the profile data and mutual followers list. It uses the ProfileFields fragment to simplify the queries and avoid duplication of fields. It also adds more fields to the profile data and the pagination information to the mutual followers list.

Related issues

Fixes # (issue)

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Enhancement (non-breaking small changes to existing functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Explanation of the changes

🤖 Generated by Copilot at ccfead9

  • Refactor the GraphQL queries and fragments related to the profile data and mutual followers list (link, link, link, link, link, link, link, link, link)
  • Add a console log statement to the Profile component to debug the profile data fetched from the GraphQL query (link)

Emoji

🐛🚀♻️

@vercel
Copy link

vercel bot commented May 31, 2023

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

Name Status Preview Updated (UTC)
prerender ✅ Ready (Inspect) Visit Preview May 31, 2023 10:24am
web ✅ Ready (Inspect) Visit Preview May 31, 2023 10:24am

@vercel vercel bot temporarily deployed to Preview – prerender May 31, 2023 08:21 Inactive
@bigint bigint enabled auto-merge (squash) May 31, 2023 10:22
@vercel vercel bot temporarily deployed to Preview – prerender May 31, 2023 10:22 Inactive
@bigint bigint merged commit 17b322a into main May 31, 2023
@bigint bigint deleted the fix-2956 branch May 31, 2023 10:30
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.

1 participant