-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
ip address - interface assignment section - object selector - usability adjustments #12751
Comments
+1, the new ui is a huge loss of time compared to the previous one. The process of attributing an IP adress to an interface was
it's now
That's 4 steps more, if you can do something it would be great, |
I don't see aadding the device back as a step forward to be honest. However, one option might be to find a way to incorporate device information into the display name for interfaces (this would also fix some other issues with things like vlans if we included some limited parent information). This still leaves searching an issue. Perhaps depending on the model, have some "default" forms pre-populated might be helpful. |
This is a confusing take, no, it's not a step forward but, the current implementation is a step backwards and having a popup will never be a step forward for covering two fields. So, probably should just get back to baseline and then figure out a forward plan. Rollback #10757 OR make it only applicable to editing an already assigned device/interface which is probably what should have happened in the first place. |
I disagree with rolling back. the popup has search advantages, it just needs to be utilised better with better defaults/context |
I've had to rewrite this a few times, I guess what my complaint is. Is that for new assignment this feels like it should have been in a Beta, not in a main release as it is very broken / confusing / laggy. |
It was in the beta: beta1 and beta2 From beta1:
From beta2:
It was available for comment on, and we did get some feedback. Yes it was only added to IP Address form recently, but that is to fix another problem
100%, I think some sane defaults will go a long way to helping out |
As @DanSheps points out, this was in the beta. We run a month-long public beta period prior to each minor release specifically to gather feedback on changes such as this one. Unfortunately we can only act on the feedback of people who opt to participate. |
Just to clarify, Im 100% for keeping the selector, just with some sane context additions to make it quicker to use |
How about trying out the following two changes:
This would cut down interactions for interface assignment to:
|
I think these changes would greatly improve the workflow. Another thing that would help is making the selector button more visible. Users in my team did not recognize it as a button at first. Also, if I might add this here: The UI of the overlay seems a bit out of place. Especially the list of selectable fields seems "broken" as it misses rounded corners and margins that seem to be used in other UI elements. Maybe there is room for improvement here as well. |
I looked at it a little, but unfortunately it will require a fair bit of rewriting to get it to display a preset list of fields, as it currently just hardcoded with a magic number to show the first two fields of the form. {% for field in form.visible_fields %}
<div class="collapse{% if forloop.counter < 3 %} show{% endif %}" id="selector{{ forloop.counter }}">{% render_field field %}</div>
{% endfor %} I'll try to get a PoC working, it should be doable. |
I have made progress re item 1 on my list. It shows the device name after the interface name in the dropdown list on the ip assignment interface field. |
I have a PR ready, please assign this to me. Changes: develop...kkthxbye-code:12751-usability-improvements
This wont solve all the issues, it's still confusing for users that clicking the filter without using the selector shows all objects, but I thinks it's a net improvement that saves several clicks. Before:
After:
|
* Usability improvements for object selector: * Adds preselected filters * Applies the filter on selection instead of requiring the search button to be pushed * Declare selector_fields on base form class --------- Co-authored-by: Jeremy Stretch <[email protected]>
While PR #14387 does not address every suggestion proposed in this FR, it makes several improvements. The original FR is too broad to be actionable as a single task, so if there are additional improvements anyone would like to propose, please open one or more new issues to do so. (When submitting a new feature request, please be sure to explain your proposed changes in great detail and to clearly capture your use case.) |
NetBox version
v3.5.2
Feature type
Change to existing functionality
Proposed functionality
re the change in #10757.
There are a few changes that could make this more usable / less cumbersome (as mentioned in #12669 )
1: display the name of the device/vm along with the interface name in the list. this would remove some confusion as to what device/interface pair is currently assigned. it would also make directly selecting a new interface from the list (it is a dropdown selection box after all) easier
2: when clicking the "Open Selector" box:
3: in the selector view, the related device/virtual machine name should be displayed with each interface name in the interface list. by default it
4: consider not having any interfaces returned until a user triggers a search, otherwise there are objects to select at random and it can cause confusion (like thinking these are interfaces from the device of the existing assigned interface)
Use case
re the above:
1: we have seen a user change an assignment from eth0 to eth1 in the dropdown list without using the selector, however this ending up being eth1 on a different device, it is not possible to tell from this viewpoint what device an interface is assigned to, but its possible to search for interfaces without using the new selector modal. simply combining the device/vm name with the interface name would solve this.
2: preselecting device / virtual machine filters removes a click and confusion with the new selector
3: the list of interfaces returned does not show the name of the related device/vm. if your searching based on a filter like virtual chassis or similar you will get a list of interfaces likely with matching names, but no idea which device they relate to.
4: having objects show up for assignment without any search criteria is a bit odd
Database changes
No response
External dependencies
No response
The text was updated successfully, but these errors were encountered: