θΏ™ζ˜―indexlocζδΎ›ηš„ζœεŠ‘οΌŒδΈθ¦θΎ“ε…₯任何密码
Skip to content

Conversation

@MrSimonC
Copy link
Contributor

@MrSimonC MrSimonC commented Sep 4, 2024

Pull Request Type

  • ✨ feat
  • πŸ› fix
  • ♻️ refactor
  • πŸ’„ style
  • πŸ”¨ chore
  • πŸ“ docs

Relevant Issues

resolves #2220

What is in this change?

This pull request adds the ability to close the modal dialogue for selecting documents in workspaces using the Escape key on the keyboard. Specifically, the changes include:

  • Adding an event listener to the modal dialogue to listen for the Escape key press event.
  • Closing the modal dialogue when the Escape key is pressed.

This change provides an additional option for users to dismiss the modal, improving the overall user experience and efficiency.

Additional Information

This change addresses a feature request to improve the workflow for users who work with multiple workspaces and need to quickly switch between them. By allowing the Escape key to close the modal, users can reduce mouse movement and streamline their workflow. This change does not introduce any breaking changes or affect existing functionality.

Developer Validations

  • I ran yarn lint from the root of the repo & committed changes
  • Relevant documentation has been updated
  • I have tested my code functionality
  • Docker build succeeds locally

@timothycarambat timothycarambat self-assigned this Sep 4, 2024
@timothycarambat
Copy link
Member

timothycarambat commented Sep 4, 2024

Made a small change: #2222

Its a fork of this PR, so you'll still be credits for it πŸ‘

@MrSimonC
Copy link
Contributor Author

MrSimonC commented Sep 5, 2024

Thanks very much!

@MrSimonC MrSimonC deleted the feature/use-escape-key-to-close-documents-modal branch September 8, 2024 09:49
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.

[FEAT]: Add Escape Key to Close Workspace Document Modal Dialogue

2 participants