diff --git a/apps/client/src/features/app-settings/panel-utils/PanelUtils.module.scss b/apps/client/src/features/app-settings/panel-utils/PanelUtils.module.scss index e077f4f93..0efe9563a 100644 --- a/apps/client/src/features/app-settings/panel-utils/PanelUtils.module.scss +++ b/apps/client/src/features/app-settings/panel-utils/PanelUtils.module.scss @@ -49,6 +49,18 @@ $inner-padding: 1rem; border-radius: 3px; } +.highlight { + font-size: calc(1rem - 2px); + color: $orange-500; + padding-inline: 0.25rem; +} + +.blockquote { + padding-left: 0.5rem; + border-left: 2px solid $gray-100; + background-color: $white-3; +} + .error { font-size: $inner-section-text-size; display: block; diff --git a/apps/client/src/features/app-settings/panel-utils/PanelUtils.tsx b/apps/client/src/features/app-settings/panel-utils/PanelUtils.tsx index 6e844a523..67e4a4422 100644 --- a/apps/client/src/features/app-settings/panel-utils/PanelUtils.tsx +++ b/apps/client/src/features/app-settings/panel-utils/PanelUtils.tsx @@ -74,6 +74,14 @@ export function Description({ children }: { children: ReactNode }) { return
{children}
; } +export function Highlight({ children }: { children: ReactNode }) { + return {children}; +} + +export function BlockQuote({ children }: { children: ReactNode }) { + return
{children}
; +} + export function Error({ children }: { children: ReactNode }) { return
{children}
; } diff --git a/apps/client/src/features/app-settings/panel/feature-settings-panel/UrlPresetsForm.tsx b/apps/client/src/features/app-settings/panel/feature-settings-panel/UrlPresetsForm.tsx index 49505ec8f..a5427e9bd 100644 --- a/apps/client/src/features/app-settings/panel/feature-settings-panel/UrlPresetsForm.tsx +++ b/apps/client/src/features/app-settings/panel/feature-settings-panel/UrlPresetsForm.tsx @@ -105,12 +105,25 @@ export default function UrlPresetsForm() { - URL Presets + URL presets are user defined aliases to Ontime URLs

- Custom presets allow providing a short name for any ontime URL.
- - Providing dynamic URLs for automation or unattended screens
- Simplifying complex URLs + Preset Name
+ The alias for the URL. This will be the URL you will be calling. eg:
+ + Preset name cam3 called as{' '} + http://localhost:4001/cam3 +
+ URL Segment
+ The corresponding alias path and configuration parameters. eg:
+ + URL segment backstage?hidePast=true&stopCycle=true corresponds to + complete URL + http://localhost:4001/backstage?hidePast=true&stopCycle=true + +
+ You will need to save the changes before the presets are functional.
See the docs
@@ -130,8 +143,8 @@ export default function UrlPresetsForm() { Active - Preset - URL + Preset name + URL segment