Idea: Remove need for ?view= part of Home View

Discussions related to the 1.36.x series of ZoneMinder
Post Reply
wayneoutthere
Posts: 2
Joined: Mon Mar 13, 2023 3:12 pm

Idea: Remove need for ?view= part of Home View

Post by wayneoutthere »

Good day

As a re-newed user to Zone Minder I was testing a lot in the Options / User section of Zone Minder for the "Home View' field.

It strikes me that very few administrators would be able to figure out quickly to add

Code: Select all

?view=
before their desired view. I assumed (as did another nice video creator for Zone Minder on youtube) that you would enter the simple name as it appears in the top menu such as simply 'montage' or "Montage' perhaps.

Finally I figured out that in fact you do need the

Code: Select all

?view=
part

Is it possible to have the back end coding force that part for the user?

Further you could force (I remember doing this once in some programming language...) that whatever the user enters in terms of upper or lower case, the field data payload is forced into lowercase.

That way, the user needs to only enter the name as it appears in the Menu such as:

* Console / console
* Options / options
* Log / log
* Groups / groups
* Filters / filters
* Cycle / cycle
* Montage / montage
* Montage Review / montage review
* Audit Events Report / audit events report

and then automatically redirects the user to

Code: Select all

?view=<whatever they entered>
I hope that idea makes sense and the way I explained it was clear

Thanks again for a great project!
User avatar
iconnor
Posts: 2862
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Idea: Remove need for ?view= part of Home View

Post by iconnor »

Already done in master.

More work to do... should offer a dropdown of available options and restrict it to that.
pat2
Posts: 156
Joined: Fri Sep 16, 2016 6:35 pm

Re: Idea: Remove need for ?view= part of Home View

Post by pat2 »

the as is functionality is very useful.
in my case I put Home View = ?view=montage

after I discovered the functionality I remember i worked a little bit to find the right syntax... :D

Isaac, only for curiosity, current version is ok for me, when the new .34 version?
---------------------------------------------------------------------------
ZM 1.36.34 - 14 cameras on Orange Pi 5 (arm64) - Ubuntu Jammy 22.04
dougmccrary
Posts: 1150
Joined: Sat Aug 31, 2019 7:35 am
Location: San Diego

Re: Idea: Remove need for ?view= part of Home View

Post by dougmccrary »

current version is ok for me, when the new .34 version?
Same here.
It's sorta out 2023-06-29, but for some reason it's not seen as a viable upgrade by my focal install, and apparently your jammy.
If you don't look for it, you don't know it's there. I was hoping isaac would fix soon, but gave up.
Magic919
Posts: 1381
Joined: Wed Sep 18, 2013 6:56 am

Re: Idea: Remove need for ?view= part of Home View

Post by Magic919 »

It's not released. You could switch to the proposed PPA to get .34.
-
pat2
Posts: 156
Joined: Fri Sep 16, 2016 6:35 pm

Re: Idea: Remove need for ?view= part of Home View

Post by pat2 »

Hi Magic,
as stated by Doug, I added the proposed repo and tried (in August and recently today). But it seems not available for Jammy / ARM64 in "proposed" repo too...there is a red cross for jammy/arm64 on the build report and if I ask for an upgrade/dist-upgrade the result is null for zoneminder.
Attachments
Cattura.JPG
Cattura.JPG (134.86 KiB) Viewed 2508 times
---------------------------------------------------------------------------
ZM 1.36.34 - 14 cameras on Orange Pi 5 (arm64) - Ubuntu Jammy 22.04
Post Reply