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

Better arrangement of "new" menu (files plugin) #5932

Closed
susnux opened this issue Jun 20, 2024 · 0 comments · Fixed by #5988
Closed

Better arrangement of "new" menu (files plugin) #5932

susnux opened this issue Jun 20, 2024 · 0 comments · Fixed by #5988
Assignees
Labels
1. to develop bug Something isn't working

Comments

@susnux
Copy link
Contributor

susnux commented Jun 20, 2024

The "new" menu entry should have the proper placement, all you need to do is to ad category: NewMenuEntryCategory.Other here:

text/src/helpers/files.js

Lines 118 to 120 in c2b25db

addNewFileMenuEntry({
id: 'rich-workspace-init',
displayName: t('text', 'Add folder description'),

with:

import { NewMenuEntryCategory } from '@nextcloud/files'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1. to develop bug Something isn't working
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants