Skip to content

Feature/sources show on click#1933

Draft
danieleguido wants to merge 8 commits intodevelopfrom
feature/sources-show-on-click
Draft

Feature/sources show on click#1933
danieleguido wants to merge 8 commits intodevelopfrom
feature/sources-show-on-click

Conversation

@danieleguido
Copy link
Copy Markdown
Contributor

No description provided.

Show a minimal tooltip when hovering dates with no data by rendering the year and a 0 content-items message. Add an idx property to TooltipPosition and the tooltip state to track vertical position, return idx from getDataValuesAtPosition, and propagate it in emitTooltipEvent. Also adjust formatting of translation calls for readability.
Replace a console.log in SourcesOverviewDateValueItem.vue with an 'itemClick' emit and forward item clicks to the timeline. In SourcesOverviewTimeline.vue add container click handling and an on-data-item click handler that compute visual coordinates, reuse the tooltip payload shape, and emit a new 'tooltipClick' event. Also add the corresponding emit signature and helper emitClickEvent. Wire up the new 'tooltipClick' handler in SourcesOverviewPage.vue to log the click payload. These changes unify click + hover interactions and expose click events with the same interaction payload as tooltipMove for consumers.
Move the pointerdown listener onto the draggable handle and update styles so the grab/grabbing cursor and hover/active feedback apply only to the handle. Fix prop usage in SourceOverviewNavigator to reference props.* (including tooltipPosition) and remove an unused destructure. Emit a 'tooltipOut' event on container click in SourcesOverviewTimeline. Wire up selectionMonitorStore in SourcesOverviewPage and show the selected item when a tooltip is clicked (also add more informative console logging). These changes improve UX and ensure correct prop/state flow for tooltip and selection handling.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant