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 14:09 Inactive
@bigint bigint enabled auto-merge (squash) June 7, 2023 14:10
@bigint bigint merged commit fbcbf07 into main Jun 7, 2023
7 checks passed
@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.

None yet

1 participant