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

Note more options #318

Merged
merged 3 commits into from
Sep 26, 2024
Merged

Note more options #318

merged 3 commits into from
Sep 26, 2024

Conversation

kernelkind
Copy link
Contributor

@kernelkind kernelkind commented Sep 19, 2024

Adds three dots 'more options' button to each note. When clicked, it shows a more options context menu. Right now there are three options, each of which copy things to the system's clipboard

image

egui doesn't support custom buttons so
`stationary_arbitrary_menu_button` had to be hacked together

Signed-off-by: kernelkind <[email protected]>
forgot to add this part

Signed-off-by: kernelkind <[email protected]>
jb55 added a commit that referenced this pull request Sep 26, 2024
This merges kernel's note context menu with a bunch of refactorings on
top, closing #328 and #318

William Casarin (7):
      refactor: remove processs_note_selection
      refactor: make options_button a NoteOptions
      note: switch to muted menu_options_button color
      context: move note context button to its own file
      context: fix hitbox, float on far right
      context: set cursor icon on hover

kernelkind (3):
      Add 'more options' to each note
      can left click note more options button
      process 'more options' for previews
@jb55 jb55 merged commit 171889b into damus-io:master Sep 26, 2024
3 of 4 checks passed
@jb55
Copy link
Contributor

jb55 commented Sep 26, 2024

Merged with fixes at 13d6873

@jb55 jb55 mentioned this pull request Sep 26, 2024
4 tasks
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