Skip to content

fix(menu): fix labels for new file actions#8295

Merged
mejo- merged 4 commits intomainfrom
fix/create_attachment_labels
Mar 3, 2026
Merged

fix(menu): fix labels for new file actions#8295
mejo- merged 4 commits intomainfrom
fix/create_attachment_labels

Conversation

@mejo-
Copy link
Member

@mejo- mejo- commented Mar 2, 2026

Fixes: #8035

Also removes "New text file" from the menu as it doesn't make much sense to create a markdown attachment inside a markdown file in most cases and the option rather confuses users.

Together with nextcloud/collectives#2309 also brings this menu to the editor in Collectives.

🖼️ Screenshots

🏚️ Before 🏡 After
image image

🏁 Checklist

  • Code is properly formatted (npm run lint / npm run stylelint / composer run cs:check)
  • Sign-off message is added to all commits
  • Tests (unit, integration and/or end-to-end) passing and the changes are covered with tests

mejo- added 2 commits March 2, 2026 20:22
Fixes: #8035

Signed-off-by: Jonas <jonas@freesources.org>
Signed-off-by: Jonas <jonas@freesources.org>
@mejo- mejo- self-assigned this Mar 2, 2026
@mejo- mejo- added bug Something isn't working 3. to review regression labels Mar 2, 2026
mejo- added a commit to nextcloud/collectives that referenced this pull request Mar 2, 2026
Fixes: #2223

Requires nextcloud/text#8295

Signed-off-by: Jonas <jonas@freesources.org>
@codecov
Copy link

codecov bot commented Mar 2, 2026

Codecov Report

❌ Patch coverage is 0% with 5 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/components/Menu/ActionAttachmentUpload.vue 0.00% 3 Missing and 2 partials ⚠️

📢 Thoughts on this report? Let us know!

Copy link
Collaborator

@max-nextcloud max-nextcloud left a comment

Choose a reason for hiding this comment

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

I'm not super happy with the collectives specific code in text - but since it's following the structure used by the files specific code and everything else would be a lot of work this seems like the best option.

Signed-off-by: Jonas <jonas@freesources.org>
@mejo- mejo- force-pushed the fix/create_attachment_labels branch from cfd4fb5 to 0c01399 Compare March 3, 2026 08:41
Signed-off-by: Jonas <jonas@freesources.org>
@mejo- mejo- force-pushed the fix/create_attachment_labels branch from 8ffec24 to f1cf770 Compare March 3, 2026 11:26
@mejo-
Copy link
Member Author

mejo- commented Mar 3, 2026

All remaining failing Cypress tests are unrelated.

@mejo- mejo- merged commit 33fdf1e into main Mar 3, 2026
64 of 70 checks passed
@mejo- mejo- deleted the fix/create_attachment_labels branch March 3, 2026 11:41
@mejo-
Copy link
Member Author

mejo- commented Mar 3, 2026

/backport to stable33

@mejo-
Copy link
Member Author

mejo- commented Mar 3, 2026

/backport b75b6f9,0c013990e525dbbda9df5f1b5d0b0e7c678022af,f1cf7702ab2fc00415a71b8719731f98eea73896 to stable32

@mejo-
Copy link
Member Author

mejo- commented Mar 3, 2026

/backport b75b6f9 to stable32

mejo- added a commit to nextcloud/collectives that referenced this pull request Mar 5, 2026
Fixes: #2223

Requires nextcloud/text#8295

Signed-off-by: Jonas <jonas@freesources.org>
mejo- added a commit to nextcloud/collectives that referenced this pull request Mar 5, 2026
Fixes: #2223

Requires nextcloud/text#8295

Signed-off-by: Jonas <jonas@freesources.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review bug Something isn't working regression

Projects

None yet

Development

Successfully merging this pull request may close these issues.

New file icons and labels for attachments are missing

3 participants