-
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
When adding a new cable, default to the properties of the last added cable #3180
Comments
This sounds like a template function for creating connections. |
I think that's a separate idea. A template would be pretty much a "Cable Type" - in which case you could define cable types and select between them, with the most recently used ones at the top of the list. There is something to be said for this - e.g. if I receive a delivery of 3m blue CAT5e cables, then I could add them as a cable type. But Netbox doesn't have cable types at the moment; everything is just an attribute of the cable. |
#648 is open to address improvements to the "create and add another" function.
This would require introducing an entirely new concept (session-based preferences) similar to #492 and #1426. We don't have the development bandwidth to undertake something like that currently, but it may be worth revisiting once support for one or both of those features has been addressed. |
It's not exactly session-based preferences, just a question of defaults based on the last accessed cable. Actually there are two basic workflows I find particularly painful at the moment:
If the page for creation of a cable were to default to the parameters of the most recently created/edited/deleted cable, then this would smooth things a bit, at least until a more sophisticated UI for adding cables can be made. |
Environment
Proposed Functionality
When adding a new cable, there are a number of cable properties which can be selected: Status, Type, Label, Color, Length, Units.
I propose that all the values of these settings apart from Label are retained in the session and used as defaults for the next cable you create.
(Optionally can have a "clear" button to reset them all to empty)
Use Case
I am adding a bunch of cables one by one. When doing this they are often the same type of cable each time: so for example, for each one I need to set Type=Singlemode Fibre, Color=Yellow, Length=100, Units=Centimeters.
Having these default to the value of the previous cable would save a lot of mousing around.
Database Changes
None
External Dependencies
None
The text was updated successfully, but these errors were encountered: