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

FR: Support middle click to open new tabs #3475

Open
hashworks opened this issue Nov 21, 2024 · 1 comment
Open

FR: Support middle click to open new tabs #3475

hashworks opened this issue Nov 21, 2024 · 1 comment
Labels
community UI User Interface

Comments

@hashworks
Copy link

This is a feature request about middle/scroll-wheel click support in the MinIO Console UI.

Expected Behavior

In web browsers the standard behavior of middle-click on a link is to open a new tab. In MinIO Console this should work for every button that links to something accessible by URL only (not by state). At the very least it should work for every element of the collapsible menu on the left.

Current Behavior

Middle click does nothing for all existing UI buttons, only <a> elements support middle click.

Possible Solution

Adjust the onclick event handler for buttons to open a new tab when event.button is 1 and the target is a whole new UI state.

Context

In MinIO I often start to create something (bucket/policy/user) and then need to look at the configuration of other things for reference. To do this I currently need to manually open a new tab and navigate to the MinIO console. With middle click support this would be a more streamlined process.

Your Environment

  • MinIO version used: 2024-10-13T13:34:11Z
  • Browser: Firefox 132.0.2
@cesnietor
Copy link
Collaborator

Right now is not a priority for us. PRs are welcome. We'd need to consider it in a generic way so that all onclicks are caught and behave as expected, even after adding a new component we'd need to make sure we don't forget adding it.

@cesnietor cesnietor added UI User Interface and removed triage labels Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community UI User Interface
Projects
None yet
Development

No branches or pull requests

2 participants