Skip to content

Commit

Permalink
Timeline date selection centering functionality (#1181)
Browse files Browse the repository at this point in the history
**Related Ticket:**
https://github.com/orgs/NASA-IMPACT/projects/17/views/6?pane=issue&itemId=74641280

### Description of Changes
_{Update with description of changes made in this pull request}_

### Notes & Questions About Changes
This ticket introduces `centerTimelineOnSelections` function. 

### Validation / Testing
Navigate to exploration and select a data set. This functionality should
only center when dates are selected from the date selector at the top.
No centering functionality should be visible when a date in the timeline
is selected via the click and drag interface.

**Single date selection:** Select a date that is outside of the current
timeline view from the date picker. The timeline should pan to have that
newly selected date now centered in the timeline.

**Comparison date selection:** Select a date that is outside of the
current timeline view from the date picker. The timeline should pan &
zoom to have that newly selected date range now centered in the
timeline.

Select an 'A' date that is later in time than the existing 'B' date and
then pan should still center around the 2 items.
  • Loading branch information
snmln authored Oct 7, 2024
2 parents 54947e0 + d5ec224 commit c432210
Showing 1 changed file with 287 additions and 100 deletions.
Loading

0 comments on commit c432210

Please sign in to comment.