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

Create Actions menu and render on right-click #140

Open
2 tasks
tyler-dane opened this issue Oct 1, 2024 · 0 comments
Open
2 tasks

Create Actions menu and render on right-click #140

tyler-dane opened this issue Oct 1, 2024 · 0 comments
Labels
enhancement New feature or request needs more info Not ready for coding just yet

Comments

@tyler-dane
Copy link
Contributor

tyler-dane commented Oct 1, 2024

As a user, I want to be able to right-click on an event and change its priority, so that I don't have to spend extra time doing so by opening the full event form.

Designs

Actions Menu

Implementation

  • Prevent default r-click context menu.
    • A few ways to do this:
      • use preventDefault() when the event is of type contextmenu (reference this example)
      • Check for the code on the button property of a MouseEvent
        • 0 for the primary button (usually the left button).
        • 1 for the middle button (usually the wheel button).
        • 2 for the secondary button (usually the right button).
        • Confirm how a11y this approach is first
  • Render custom Actions menu
@tyler-dane tyler-dane added the enhancement New feature or request label Oct 1, 2024
@tyler-dane tyler-dane added the needs more info Not ready for coding just yet label Oct 1, 2024
@tyler-dane tyler-dane changed the title 🚧 Create Actions menu and render on right-click [WIP] 🚧 Create Actions menu and render on right-click Oct 1, 2024
@tyler-dane tyler-dane removed the needs more info Not ready for coding just yet label Oct 1, 2024
@tyler-dane tyler-dane changed the title 🚧 Create Actions menu and render on right-click Create Actions menu and render on right-click Oct 1, 2024
@tyler-dane tyler-dane added the needs more info Not ready for coding just yet label Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs more info Not ready for coding just yet
Projects
Development

No branches or pull requests

1 participant