nextbox-ui-plugin icon indicating copy to clipboard operation
nextbox-ui-plugin copied to clipboard

Possibility to save a view

Open astruwe opened this issue 5 years ago • 10 comments

Hello,

not really an issue, but would be possible to save a view once you've manually organized the devices connected together? I think at the moment it is only saved until next login into netbox.

So far I love the plugin and I am looking forward to any further improvement :).

Thx a lot for it!

astruwe avatar Jun 28 '20 16:06 astruwe

+, now it is saved till I reload the page. Would be great to have ability to save position for devices. Of cause, in this case we will need to create an additional table in the DB, to keep coordinates for devices.

snatch2013 avatar Aug 03 '20 14:08 snatch2013

I would also like this option.

nomad-cyanide avatar Dec 10 '20 09:12 nomad-cyanide

Hi all. This is now implemented on the Topology Viewer page (plugins/nextbox-ui/topology/) in #46. I will probably adapt this feature for a view on a Site page as well. The feature is available in the latest v0.8.0 plugin release. Feel free to upgrade and give it a try. You feedback would be helpful.

iDebugAll avatar Feb 20 '21 20:02 iDebugAll

Wow, this is great :)!

Thx a lot! We are testing it right now.

Thanks for your job!

astruwe avatar Feb 23 '21 13:02 astruwe

Hello!

  1. How save view at the same name?
  2. How delete saved view?

Genzo4 avatar Mar 04 '21 23:03 Genzo4

Hi @Genzo4

How save view at the same name?

Duplicate names are currently allowed and considered as a separate entities. A possibility to pick an existing saved name for rewrite/update is a matter of further development.

How delete saved view?

It is currently available under Django Admin › NextBox UI › Saved topologys.

iDebugAll avatar Mar 12 '21 21:03 iDebugAll

It is currently available under Django Admin › NextBox UI › Saved topologys.

Thank you!

Genzo4 avatar Mar 15 '21 23:03 Genzo4

hello, first of all, thank you for the plugin got a tiny problem with the save view feature So, when I type the name and then push save - nothing happened any ideas where I am wrong and what I need to check in settings? (version 0.8.0 which was installed via pip) thank you

zkiroel avatar Mar 18 '21 07:03 zkiroel

Thanks for the implementation. Unfortunately the options are not honored, which is:

  • Hide Unconnected
  • Display passive Devices
  • Select Layers

Please implement these ones as it is really annoying to uncheck ~40 Layers after loading a saved view.

@zkiroel You have to reload the page in order to see saved views. This should be improved also imo.

dreng avatar Apr 06 '21 08:04 dreng

Another thing that won't be saved are x/y-coordinates of devices. You have to reorder everything after loading a saved state.

dreng avatar Apr 13 '21 07:04 dreng