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

Action menu on envelope and threads is broken #9282

Closed
GretaD opened this issue Jan 30, 2024 · 11 comments · Fixed by nextcloud-libraries/nextcloud-vue#5196
Closed

Action menu on envelope and threads is broken #9282

GretaD opened this issue Jan 30, 2024 · 11 comments · Fixed by nextcloud-libraries/nextcloud-vue#5196
Assignees
Milestone

Comments

@GretaD
Copy link
Contributor

GretaD commented Jan 30, 2024

Steps to reproduce

  1. Go to mail app
  2. Click the action menu of ann envelope or thread
  3. Try to find create tasks for example, you will see the right icon, but move thread text
  4. Click more actions on threads

Expected behavior

I have the order correctly

Actual behavior

Screenshot from 2024-01-30 18-44-45
Screenshot from 2024-01-30 18-44-13

Mail app version

main

Mailserver or service

No response

Operating system

No response

PHP engine version

None

Web server

None

Database

None

Additional info

This must be the nc/vue 8 migration. I probably tested it before rebase and squash, and something happened there. I dont see any other reason what could have happened.

@st3iny when you found this bug: #9279 were you on nc/vue 8? While bisecting this bug with action menu, i found out that your bug was shown for the first time on 0d9e4a8 commit.

@st3iny
Copy link
Member

st3iny commented Jan 30, 2024

I tested this on main before after the nc/vue 8 update.

EDIT: I didn't see that we already merged the update.

@st3iny
Copy link
Member

st3iny commented Jan 30, 2024

The icons and descriptions seem to be off but I have no idea why.

I only found this: nextcloud-libraries/nextcloud-vue#5178

@st3iny
Copy link
Member

st3iny commented Jan 30, 2024

@st3iny when you found this bug: #9279 were you on nc/vue 8? While bisecting this bug with action menu, i found out that your bug was shown for the first time on 0d9e4a8 commit.

I also tested the linked issue with nc/vue v8 applied.

@GretaD
Copy link
Contributor Author

GretaD commented Jan 30, 2024

The icons and descriptions seem to be off but I have no idea why.

I only found this: nextcloud-libraries/nextcloud-vue#5178

thats on 8.6.0, we are on 8.5.0

@st3iny
Copy link
Member

st3iny commented Jan 30, 2024

Right, I even tried to update to 8.6.0 locally and it's still broken so it must be something else.

@ShGKme
Copy link

ShGKme commented Jan 30, 2024

I didn't understand from the screenshot, is the only issue - error in the console, or something is working incorrectly?

@ShGKme
Copy link

ShGKme commented Jan 30, 2024

The error in the console says, that you are passing incorrect type to NcActionButton.

Unlike NcButton where type is design variant like primary or secondary, in NcActionButton type represents the role and could be: button, submit, reset and radio, checkbox for toggle buttons.

@st3iny
Copy link
Member

st3iny commented Jan 31, 2024

I didn't understand from the screenshot, is the only issue - error in the console, or something is working incorrectly?

The icons and button labels are rendered incorrectly and mixed up. It seems like the action buttons in the menu are not updated correctly.

For example

  • "Move thread" should be "Create task"
  • "Archive thread" should be "Create event"
  • "Delete thread" has a plus icon
  • etc.

@st3iny
Copy link
Member

st3iny commented Jan 31, 2024

2024-01-30.19-40-05.mp4

@ShGKme
Copy link

ShGKme commented Jan 31, 2024

Hmm, I cannot reproduce on master...

@ShGKme
Copy link

ShGKme commented Jan 31, 2024

I can reproduce

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging a pull request may close this issue.

4 participants