OPNsense Forum

English Forums => General Discussion => Topic started by: arvidj on June 08, 2023, 05:56:42 PM

Title: Is there a way to be warned about unsaved changes before leaving a page?
Post by: arvidj on June 08, 2023, 05:56:42 PM
Yes, a NOOB with OPNsense.

I'm converting from an EdgeRouter to OPNsense and am therefore wandering around the OPNsense UI somewhat aimlessly. I believe that I am losing configuration settings as I 'set them and then am "distracted" to another page to set something else' and then come back to the original page to find the settings have disappeared.

I can understand the original page not automatically persisting the changes, but I am wondering if I am missing a setting somewhere that would warn me that I have unsaved changes before I leave the original page?

Various searches ... like 'unsaved' ... came up empty so I thought I would ask.

Or is it just common knowledge that "MUST SAVE BEFORE WANDERING(tm) :)" is the mantra?

Thanks,
Arvid
Title: Re: Is there a way to be warned about unsaved changes before leaving a page?
Post by: cookiemonster on June 08, 2023, 10:45:36 PM
you definitively need to save on the page to commit the changes before going to another page.
Title: Re: Is there a way to be warned about unsaved changes before leaving a page?
Post by: franco on June 09, 2023, 07:57:07 AM
I think I'm actually relying on the part where it doesn't store something if not saved. I can see the utility behind the idea but I don't think adding another layer here makes sense (especially work wise it would require a lot of JavaScript).


Cheers,
Franco
Title: Re: Is there a way to be warned about unsaved changes before leaving a page?
Post by: arvidj on June 09, 2023, 03:05:06 PM
Quote from: franco on June 09, 2023, 07:57:07 AM
I think I'm actually relying on the part where it doesn't store something if not saved. I can see the utility behind the idea but I don't think adding another layer here makes sense (especially work wise it would require a lot of JavaScript).


Cheers,
Franco

I'm not suggesting it store something when I leave a page. That would be a dangerous 'do something without the users consent' behavior. I was just hoping for a 'You made changes to the page, were probably distracted, and are now leaving the page without having saved them. Are you sure this is what you want to do?"

But at least I now know that I didn't miss a 'help the user fall into the pit of success' setting and will try to pay more attention to what I am doing.

Thanks very much,
Arvid