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

Fix the overlapping of primary menu with recipient #8232

Merged
merged 1 commit into from
May 30, 2023

Conversation

GretaD
Copy link
Contributor

@GretaD GretaD commented Mar 15, 2023

fixes #8191

Im trying to adapt text logic for mail: https://github.com/nextcloud/text/blob/8a17046aa440df841fe9182205d80ce937068c1a/src/components/Menu/MenuBar.vue

and also using inline prop that NcActions uses

Screencast.from.08.05.2023.19.06.28.webm

Comment on lines 168 to 170
@delete="$emit('delete',envelope.databaseId)" />
<NcActions />
</ncactions>
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
@delete="$emit('delete',envelope.databaseId)" />
<NcActions />
</ncactions>
@delete="$emit('delete',envelope.databaseId)" />
</NcActions>

@GretaD GretaD force-pushed the fix/primary-menu-threadEnvelope branch 2 times, most recently from 8fdcd5b to 41bd86e Compare May 8, 2023 19:03
:size="20" />
</template>
<Fragment>
<template v-if="!moreActionsOpen">
Copy link
Member

Choose a reason for hiding this comment

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

You still need the actions component wrapping the action items!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

this will just duplicate the primary actions outside the action menu, i have the actions on threadenvelope. And it was working fine, till i did the rebase and pulled on server.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

so the mystery is resolved thanks to Max, he figured it out that the problem was my rebase and a typo. I applied the wrong changes on my rebase attempt and my actions were not closed, thats why the stuff were floating around. All good now :)

@GretaD GretaD force-pushed the fix/primary-menu-threadEnvelope branch 2 times, most recently from 2e35d9c to ade0fb9 Compare May 11, 2023 13:58
@GretaD GretaD marked this pull request as ready for review May 11, 2023 14:03
@JohannesGGE
Copy link
Contributor

I would remove at least one more action, particularly if there is an "unsubscribe" option.

current calculation (current calculation) -1 action
Screenshot from 2023-05-11 21-05-25 Screenshot from 2023-05-11 21-08-22
Screenshot from 2023-05-11 21-07-12 Screenshot from 2023-05-11 21-07-43
image Screenshot from 2023-05-11 21-09-26

@GretaD GretaD force-pushed the fix/primary-menu-threadEnvelope branch from ade0fb9 to 8af0fb6 Compare May 24, 2023 13:31
@GretaD
Copy link
Contributor Author

GretaD commented May 24, 2023

I would remove at least one more action, particularly if there is an "unsubscribe" option.

Changed it, please have another look :)

Copy link
Contributor

@JohannesGGE JohannesGGE left a comment

Choose a reason for hiding this comment

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

👍

@GretaD GretaD force-pushed the fix/primary-menu-threadEnvelope branch from 8af0fb6 to 19fbd4d Compare May 30, 2023 14:31
@ChristophWurst ChristophWurst merged commit 16c8eef into main May 30, 2023
@ChristophWurst ChristophWurst deleted the fix/primary-menu-threadEnvelope branch May 30, 2023 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Primary action menu overlaps with recipient on small screen
5 participants