Timeslider

Introduced in v2022.4 - August 2022

The Timeslider offers a new way to find available resources based on a specific time range.

  • This is an opt-in UI update.

  • Some experience with JSON is recommended but not required.
    If you require any assistance please contact our support team at helpdesk@qedas.com

How to test the Timeslider

To test the Timeslider before enabling it for all users you can add &timeslider to the end of the Map URL.

Navigate to the Map Profiles page via the Admin Dashboard, this can be accessed under the Administration Settings menu.

Find the Map profile that you want to test, then click the Preview icon ().
The map will be displayed in a popup window, copy the URL for this page.

Paste the URL into a new browser tab and append &timeslider to the end of the URL.

The Timeslider will now be available.

How to enable the Timeslider

By default the Timeslider is disabled, it can be enabled via the Stylesheet.

Navigate to the Stylesheets page, found under the Administration Settings menu.
Find the correct Stylesheet from the list and click the Edit icon ().

Navigate to the Map Profiles page via the Admin Dashboard, this can be accessed under the Administration Settings menu.

Find the Map profile that you want to update, then click the Edit icon () in the Action column.

Where to find the Stylesheet used by a Map

This is the Stylesheet that needs to be updated.

You will see the Stylesheet editor, it should look similar to the above image.

In the JSON text above the line /** LINE REQUIRED - CSS BELOW **/ add the below value after the first curly brace “{ … }”.

"timeslider": true,

The stylesheet should now look like this.

Ensure that the spelling & syntax is correct.

Click Save.

On the next refresh, the Timeslider will be available.

Additional Timeslider Configuration

All these additional options are configured via the Stylesheet.

Navigate to the Stylesheets page, found under the Administration Settings menu.
Find the correct Stylesheet from the list and click the Edit icon ().

Navigate to the Map Profiles page via the Admin Dashboard, this can be accessed under the Administration Settings menu.

Find the Map profile that you want to update, then click the Edit icon () in the Action column.

This is the Stylesheet that needs to be updated.

You will see the Stylesheet editor, it should look similar to the above image.

Open Timeslider on Load

By default, the Timeslider is hidden when viewing the current day.

Add the following parameter into the JSON section at the top of the Stylesheet.

"timeslider_default": true,

Custom After Working Day Slot

When the Timeslider is opened for the current day the start of the time range will default to the current time and the end of the time range will default to the end of the working day.

However, if the Map is being used after the working day has ended the end time cannot be selected.
Instead, the end time of the range will default to 1 hour from the current time.

This value can be modified to auto-select any number of hours into the future.

Add the following parameter into the JSON section at the top of the Stylesheet.

"after_wd_slot": 2,

Custom Button Text

The text for the Timeslider buttons can be modified.

The default values for the Timeslider are:

Default Text

Action

Default Text

Action

Timeslider

The action button to show/hide the Timeslider.

AM

Adjusts the Timeslider range to match the configured AM values.

PM

Adjusts the Timeslider range to match the configured PM values.

Working Day

Adjusts the Timeslider range to match the configured working day values.

End of Day

Adjusts the Timeslider range to the current time until midnight.

All Day

Adjusts the Timeslider range to the full day (24 hours).

 

All button text values are stored in a "timeslider" object nested in the "buttons" section of the JSON.

Use the below keys to update each text value.

Here is an example of how the above changes would look when viewed on the Map.

 

The following macros are not currently supported in the footer:
  • style