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

Feature request: Move graphs around by dragging the mouse #18025

Closed
ChristianCiach opened this issue Apr 30, 2024 · 0 comments · Fixed by #20009
Closed

Feature request: Move graphs around by dragging the mouse #18025

ChristianCiach opened this issue Apr 30, 2024 · 0 comments · Fixed by #20009
Labels
component:ui User interfaces bugs and enhancements enhancement New feature or request

Comments

@ChristianCiach
Copy link
Contributor

ChristianCiach commented Apr 30, 2024

Summary

Allow moving/scrolling the "Tree" and "Network" views by dragging the mouse while holding down a mouse button (drag and drop style).

Motivation

We are new to ArgoCD and our developers greatly enjoy the UI to monitor their applications.

However, if an application gets large, the "Tree" and "Network" views will quickly overflow horizontally. While scrolling vertically is easily done with the mouse wheel, scrolling horizontally is much more cumbersome (most people don't know that holding the shift-key changes to horizontally scrolling).

Most of our developers (me included) instinctively tried to move the the graph view by holding down the left or middle mouse button and then moving the mouse around, but unfortunately this isn't currently supported. You have to use the browser native controls (scrollbars) to move the view, which feels very outdated.

There are tons of precedences for tools that allow scrolling by drag-and-drop, for example:

Proposal

I would suggest to allow moving the views while holding down the left mouse button. At first I was worried that this could conflict with text-selection, but actually, selecting text inside the "Tree" and "Network" views is currently annoying anyway. While you currently can select text using the left mouse button, this will immediately open the details-view of the selected element on button release. Holding the left mouse button to move the views around would probably feel most intuitive for most users.

@ChristianCiach ChristianCiach added the enhancement New feature or request label Apr 30, 2024
@ChristianCiach ChristianCiach changed the title Move graphs by dragging the mouse Move graphs around by dragging the mouse Apr 30, 2024
@ChristianCiach ChristianCiach changed the title Move graphs around by dragging the mouse Request: Move graphs around by dragging the mouse Apr 30, 2024
@ChristianCiach ChristianCiach changed the title Request: Move graphs around by dragging the mouse Feature request: Move graphs around by dragging the mouse Jun 7, 2024
@reggie-k reggie-k added the component:ui User interfaces bugs and enhancements label Sep 15, 2024
agaudreault pushed a commit that referenced this issue Sep 23, 2024
ratulbasak pushed a commit to ratulbasak/argo-cd that referenced this issue Sep 25, 2024
…goproj#18025) (argoproj#20009)

Signed-off-by: linghaoSu <linghao.su@daocloud.io>
Signed-off-by: ratulbasak <ratulbasak93@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:ui User interfaces bugs and enhancements enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants