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

Add section file context menu #3751

Merged
merged 6 commits into from
May 31, 2023
Merged

Add section file context menu #3751

merged 6 commits into from
May 31, 2023

Conversation

yann300
Copy link
Contributor

@yann300 yann300 commented May 31, 2023

This add section in the file explorer context menu (right click on files or folder).

@netlify
Copy link

netlify bot commented May 31, 2023

Deploy Preview for remixproject ready!

Name Link
🔨 Latest commit 4d6c49a
🔍 Latest deploy log https://app.netlify.com/sites/remixproject/deploys/64774e534f6274000837e4b2
😎 Deploy Preview https://deploy-preview-3751--remixproject.netlify.app/
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

Copy link
Collaborator

@Aniket-Engg Aniket-Engg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think Rename, Delete, Download can come together for file context menu

acc[item.group].push(item)
return acc;
}, [])
console.log(groupedActions)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove logs

@@ -66,6 +66,15 @@ module.exports = class Filepanel extends ViewPlugin {

/**
* @param item { id: string, name: string, type?: string[], path?: string[], extension?: string[], pattern?: string[] }
* typically:
* group 0 for file manipulations
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can be improved to introduce group creations and these comments will serve as group descriptions. It will also allow plugins to create/register groups that other plugins can add items to.

@yann300 yann300 merged commit da7a4bb into master May 31, 2023
@yann300 yann300 deleted the ui_generator branch May 31, 2023 13:50
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.

4 participants