iDebugAll / nextbox-ui-plugin

Next-Gen Topology Visualization Plugin for NetBox Powered by topoSphere SDK
MIT License
547 stars 62 forks source link

Possibility to save a view #21

Open astruwe opened 4 years ago

astruwe commented 4 years ago

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!

snatch2013 commented 4 years ago

+, 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.

nomad-cyanide commented 3 years ago

I would also like this option.

iDebugAll commented 3 years ago

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.

astruwe commented 3 years ago

Wow, this is great :)!

Thx a lot! We are testing it right now.

Thanks for your job!

Genzo4 commented 3 years ago

Hello!

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

iDebugAll commented 3 years ago

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.

Genzo4 commented 3 years ago

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

Thank you!

zkiroel commented 3 years ago

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

dreng commented 3 years ago

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

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 commented 3 years ago

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