Updated help entries

This commit is contained in:
l_samenv
2024-09-11 09:37:30 +02:00
parent ba118ab56e
commit cbfc1c1de7

View File

@ -317,13 +317,17 @@ function loadGraphicsMenu(panel){
);
let historicalDataHelpEntry = new HelpEntry("Look for historical data", "Clicking on the date displayed at the top of the curves opens a popup."+
"You can then select the date you want to jump to, and the time at which you want the available curves. You can also go to now. The date displayed will be the one corresponding "
+ "to the lower bound of the viewing window.");
+ "to the lower bound of the viewing window. On wide screens, a jump will close the right part, and going to now will display it back.");
let aboutCurvesSettingsHelpEntry = new HelpEntry("About curves settings", "To indicate a variable, you need to type the SECOP module name (case sensitive) of the variable you want to act on. " +
"Leaving the parameter empty means that you will act on the value parameter (but you can still write 'value'). For the category, '-' means that this curve will be hidden. To display a curve which is not displayed yet, the category has to be filled. "
+ "The character '*' means that the curve will be displayed in the block of its unit. If one of the fields are filled (for the category, other than '*') but not the variable, an error will be thrown. "
+ "If nothing is set for the category (except '*'), the color and the unit, the row will be ignored. Closing the popup via the cross or the 'Apply' button will save your configuration and reload the curves. "
+ "You can discard your changes via the 'Cancel' button.")
let aboutTopRightHandCornerCrossHelpEntry = new HelpEntry("About top right hand corner cross", "On wide screens, this cross toggles the right part visibility when control is enabled for this instrument. "
+ "On small screens (mobile phones for example), it allows you to switch to the next section of the app (from graphs block to main block to console block)."
);
menuGraphicsPopup.addEntry(exportActionEntry)
menuGraphicsPopup.addEntry(curvesSettingsActionEntry);
menuGraphicsPopup.addHorizontalDivider();
@ -334,6 +338,7 @@ function loadGraphicsMenu(panel){
menuGraphicsPopup.addEntry(showMoreCurvesHelpEntry);
menuGraphicsPopup.addEntry(historicalDataHelpEntry);
menuGraphicsPopup.addEntry(aboutCurvesSettingsHelpEntry);
menuGraphicsPopup.addEntry(aboutTopRightHandCornerCrossHelpEntry);
let graphicsMenuControl = new Control("res/menu_white_wide.png", "res/menu_white_wide.png", "Menu", () => {
datesPopup.hide();