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

feat: add mirror dropdown #3017

Merged
merged 5 commits into from
Jun 7, 2023
Merged

feat: add mirror dropdown #3017

merged 5 commits into from
Jun 7, 2023

Conversation

bigint
Copy link
Member

@bigint bigint commented Jun 7, 2023

What does this PR do?

🤖 Generated by Copilot at e88a46f

Refactored the Mirror component to be part of a ShareMenu component that provides a dropdown menu for updating and viewing publication mirrors. Moved and renamed some files and components to improve the folder structure and code readability. Fixed some minor props ordering issues.

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 e88a46f

  • Create a ShareMenu component that wraps the Mirror component in a dropdown menu (link, link, link)
  • Move the Mirror component to a subfolder and refactor it to render a Menu.Item instead of a motion.button (link, link, link, link, link)
  • Update the mirrors field of the publication when creating a mirror (link)
  • Move the static prop of the Menu.Items component to the end of the props list in Attachment.tsx (link)

Emoji

🔀📁🖱️

@vercel
Copy link

vercel bot commented Jun 7, 2023

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

Name Status Preview Updated (UTC)
prerender ✅ Ready (Inspect) Visit Preview Jun 7, 2023 2:11pm
web ✅ Ready (Inspect) Visit Preview Jun 7, 2023 2:11pm

@vercel vercel bot temporarily deployed to Preview – prerender June 7, 2023 07:51 Inactive
@vercel vercel bot temporarily deployed to Preview – prerender June 7, 2023 07:57 Inactive
@vercel vercel bot temporarily deployed to Preview – web June 7, 2023 07:59 Inactive
@vercel vercel bot temporarily deployed to Preview – prerender June 7, 2023 14:09 Inactive
@bigint bigint enabled auto-merge (squash) June 7, 2023 14:10
@vercel vercel bot temporarily deployed to Preview – web June 7, 2023 14:11 Inactive
@bigint bigint merged commit fbcbf07 into main Jun 7, 2023
@bigint bigint deleted the quotes branch June 7, 2023 14:18
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