开云体育

PanelPro New Feature - Panel Swipe Navigation on Tablet


 

Team, I have about 70 control panels and I navigate them using buttons with links. While this works fine, I can see my panel count only growing with time. The thought occurred to me of the possibilty of adding a swipe function to navigate from Panel to Panel from a web view (tablet). For example, if you could assign a Panel to a SWIPE GROUP then swiping right or left would take you to the next panel in the group. Does this sound like it would be useful to others?
--

Many thanks in advance!

Vinny DeRobertis ~ Apex, NC
New York & Hudson Valley RR

Windows 7 Pro / Java 11 / JMRI v5.10
Command Station: Digikeijs DR5000.
Booster: Digikeijs DR5033
(4) Samsung A7 10.4" Tablets
Fully Kiosk/Engine Driver v2.37.187
DCC/DMX Gateway: Pricom LLS.
LocoNet Input Modules: Digikeijs DR4088LN
DCC Output Modules:
Digikeijs DR4018 / Yamorc YD8116.
Sensors: Model Train Technology: DETECTOR-HO.
Turnout Motors: MTB MP1


 

We use tablets with our panels on it?

lloyd 310 951-9097

On Wed, Mar 26, 2025, 11:33?AM Vinny DeRobertis via <vinny.derobertis=[email protected]> wrote:

Team, I have about 70 control panels and I navigate them using buttons with links. While this works fine, I can see my panel count only growing with time. The thought occurred to me of the possibilty of adding a swipe function to navigate from Panel to Panel from a web view (tablet). For example, if you could assign a Panel to a SWIPE GROUP then swiping right or left would take you to the next panel in the group. Does this sound like it would be useful to others?
--

Many thanks in advance!

Vinny DeRobertis ~ Apex, NC
New York & Hudson Valley RR

Windows 7 Pro / Java 11 / JMRI v5.10
Command Station: Digikeijs DR5000.
Booster: Digikeijs DR5033
(4) Samsung A7 10.4" Tablets
Fully Kiosk/Engine Driver v2.37.187
DCC/DMX Gateway: Pricom LLS.
LocoNet Input Modules: Digikeijs DR4088LN
DCC Output Modules:
Digikeijs DR4018 / Yamorc YD8116.
Sensors: Model Train Technology: DETECTOR-HO.
Turnout Motors: MTB MP1


 

开云体育

Vinny,

?

The concept sounds reasonable. But checking? that that the swipe action is available via the Java look and feel for our three platforms would be the first thing to check. Sometimes there are things that the libraries don’t support. I’m saying this as I don’t know of any code in JMRI that uses swipes. It may be your idea is just the first or maybe it isn’t supported. I don’t know.

?

-Ken Cameron, Member JMRI Dev Team

?

?


 

Ken,
I believe he is asking about swiping the web panels in a browser, not JMRI panels on a computer.
?
Vinny,
It seems unlikely you really want the swipe to randomly select the next panel to show. You're going to want to put them in some sort of sequence A <> B <> C, etc.
I'd recommend using the linking labels to do that. Place a linking label on the right and left edges of each panel, linked to the desired panel in that "direction".
--SteveT


 

I do not want to randomly navigate. My existing linking labels work fine however I am proposing that attributes be added to the panel, let's call them "Swipe_R" and "Swipe_L". If panel1 Swipe_R = panelA and panel1 Swipe_L = panelB then when I'm on panel1 and I swipe right then panelA will be on top and if I'm on panel1 and I swipe left then panelB will be on top. Linking labels would not be needed to navigate. Is this feasible?


 

Vinny,
While I guess anything is possible, I would see it as a lot of work for little benefit, as the linking labels are already in place and provide the same functionality, except with a click instead of a swipe.
--SteveT?


 

Ok thanks Steve, I wasn't sure how complicated it would be.?


 

开云体育

Only benefit I could think of is a swipe doesn’t take up space on the display like a button does. Granted that’s not a great UI that you’d have to know that behavior is expected. But at least with a layout, you have a clear concept what’s to the left and right of your current position. Maybe just a colored edge or something as a visible clue, I don’t know.

?

-Ken Cameron, Member JMRI Dev Team

?

?


 

How do you add a linking label to a panel?

Daniel


 

Daniel,

Linking labels are a CPE feature. When adding a Text item from the Palette, scroll to the bottom.

Dave Sand

----- Original message -----
From: danielb987 <jmri@...>
To: [email protected]
Subject: Re: [jmriusers] PanelPro New Feature - Panel Swipe Navigation on Tablet
Date: Saturday, March 29, 2025 5:54 PM

How do you add a linking label to a panel?

Daniel


 

Vinny,
?
I am also using Fully Kiosk and using multiple tablets on my layout.?

How are you currently navigating from one layout to another? Do you have a sensor button that loads another webpage?
?
I would also be interested in seeing more about your layout if you have a webpage or YT channel.?
--

Heath @ Human[c]ity