Skip to content

Conversation

amycatgirl
Copy link
Contributor

Please make sure to check the following tasks before opening and submitting a PR

  • I understand and have followed the contribution guide
  • I have tested my changes locally and they are working as intended

Brief overview of the changes

  • Added a new context menu entry, FileContextMenu (filename differs from the component name, should be renamed)

Nobody filed an issue, so this PR doesn't close anything.

Amy added 3 commits October 2, 2025 10:06
Works on Images, Videos and Audio files. I decided to leave out text
files is because preferably we would use the browser's context menu for
text selection.

Signed-off-by: Amy <[email protected]>
Copy link
Contributor

@insertish insertish 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 wondering whether the context menu should instead be implemented by extending the message context menu and adding the additional file property when right clicking on files only.

This will likely be more intuitive.
One change suggested, I think the above should be implemented instead as well.

Amy added 4 commits October 10, 2025 11:57
So we can display the message context menu + the attachment options
The reason why is because Attachment is inside of TextEmbed, and passing
the parent message through two components doesn't seem too efficient and
might make merge conflicts. So we only show message options when message
is passed to the context menu.

Signed-off-by: Amy <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants