-
Notifications
You must be signed in to change notification settings - Fork 952
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
Conversation
✅ Deploy Preview for remixproject ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
There was a problem hiding this 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) |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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.
This add section in the file explorer context menu (right click on files or folder).