Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow full range startup configuration for timeline #8766

Closed
6 of 11 tasks
offtherailz opened this issue Nov 3, 2022 · 3 comments · Fixed by #8788
Closed
6 of 11 tasks

Allow full range startup configuration for timeline #8766

offtherailz opened this issue Nov 3, 2022 · 3 comments · Fixed by #8788

Comments

@offtherailz
Copy link
Member

offtherailz commented Nov 3, 2022

Description

The timeline plugin can be configured to have different initial setups. Now by default it snaps to a single time, the nearest to now. We should allow to start with range, instead of single time, and to automatically include the whole interval on startup.

What kind of improvement you want to add? (check one with "x", remove the others)

  • Minor changes to existing features
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Other... Please describe:

Acceptance criteria

  • As an administrator I can configure the timeline plugin to start as a range, instead of a single value (name the config property and the values accordingly with the name of the variable used for it. E.g. if it is mode, set "initialMode": "range").
  • As an adminsitrator I can configure the timeline plugin to snap on startup to the full size of the guide layer, if any. the property is "initialSnap": "now"|"fullRange" (second makes sense only if initialMode: "range".
  • As an adminsitrator, I can configure the timeline plugin display a reset to the initial state, that means to snap to full range or now, depending on the plugin configuration.
    • By default the button is not pesent, and it will appear only if I add the configuration "resetButton" true.
  • Properly document the new options of the timeline plugin
@offtherailz
Copy link
Member Author

@tdipisa I'm assigning release 2023.01.00, hope it is good

@dsuren1
Copy link
Contributor

dsuren1 commented Nov 3, 2022

Mockup here

@dsuren1
Copy link
Contributor

dsuren1 commented Nov 15, 2022

Updated reset button feature here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants