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

NetBox 3.5 beta via mobile is overly challenging due draggable function #12108

Closed
ryanmerolle opened this issue Mar 31, 2023 · 4 comments
Closed
Assignees
Labels
beta Concerns a bug/feature in a beta release status: accepted This issue has been accepted for implementation topic: UI/UX User interface or user experience related work type: bug A confirmed report of unexpected behavior in the application

Comments

@ryanmerolle
Copy link
Contributor

NetBox version

v3.5.0-dev

Python version

3.8

Steps to Reproduce

  1. Open NetBox via mobile.
  2. Draggable widgets and touchscreen scrolling do not mix well. You scroll and accidentally move widgets.

You have 2 options to tackle this issue. You can start with 1 or apply both:

  1. Seems like we can override the draggable parameter in gridstack.js to just work with the widget heading
  2. Set a dashboard lock option that is enabled by default. Users can select edit and the "draggability" of the dashboard is enabled.

Expected Behavior

Be able to scroll

Observed Behavior

Draggable widgets and touchscreen scrolling do not mix well. You scroll and accidentally move widgets.

@ryanmerolle ryanmerolle added type: bug A confirmed report of unexpected behavior in the application beta Concerns a bug/feature in a beta release topic: UI/UX User interface or user experience related work labels Mar 31, 2023
@jeremystretch
Copy link
Member

FWIW I don't think those options are mutually exclusive. I think it's worth doing both.

@PieterL75
Copy link
Contributor

PieterL75 commented Mar 31, 2023

I would suggest that the all is locked by default.. and that you get an 'Edit Dashboard' button at the bottom. Once clicked it is replaced with 'Save Dashboard' and 'Cancel', while all widgets are draggable/editable..
In both Mobile and Desktop

@ryanmerolle
Copy link
Contributor Author

FWIW I don't think those options are mutually exclusive. I think it's worth doing both.

Yep that was what I was trying to articulate. I think you apply both options, but I did not want to fully prescribe the approach if there were better ideas.

@jeremystretch jeremystretch self-assigned this Mar 31, 2023
@jeremystretch
Copy link
Member

I've opened #12119 to track the lock toggling separately as an enhancement, but will use this issue to address limiting the draggable area of a widget.

@jeremystretch jeremystretch added the status: accepted This issue has been accepted for implementation label Mar 31, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 30, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
beta Concerns a bug/feature in a beta release status: accepted This issue has been accepted for implementation topic: UI/UX User interface or user experience related work type: bug A confirmed report of unexpected behavior in the application
Projects
None yet
Development

No branches or pull requests

3 participants