Skip to content

Conversation

@tzi
Copy link
Contributor

@tzi tzi commented Nov 11, 2025

Description

UX-300

Fix period selection with keyboard navigation

It was impossible to open the period selection form.

before after after in use
period-focus-before period-focus-after period-selection-after

Checklist

  • [NA] I have understood, reviewed, and tested all AI outputs before use
  • [NA] All AI instructions respect security, IP, and privacy rules

Review

@tzi tzi force-pushed the ux-300 branch 3 times, most recently from c9eab06 to cf6189f Compare November 11, 2025 15:26
@tzi tzi added the Pull Request WIP Indicates the current pull request is still work in progress and not ready yet for a review. label Nov 11, 2025
@tzi tzi force-pushed the ux-300 branch 2 times, most recently from 7fa9098 to c6a3a02 Compare November 12, 2025 01:18
Base automatically changed from ux-300 to 5.x-dev November 14, 2025 04:38
@tzi tzi force-pushed the ux-300b branch 4 times, most recently from 73144e6 to 909c0c6 Compare November 18, 2025 16:39
@tzi tzi requested a review from a team November 18, 2025 17:39
@tzi tzi added Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. Needs Review PRs that need a code review c: Accessibility When something is not usable for a certain group (eg missing contrast) or devices (eg smartphones). and removed Pull Request WIP Indicates the current pull request is still work in progress and not ready yet for a review. labels Nov 18, 2025
event: MouseEvent|KeyboardEvent,
) {
if (element.classList.contains('expanded')) {
close(element, binding, event);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ℹ️ Restructure this part because onExpand triggered a toggle, so it was also used to close without user event triggered.

binding.value.isMouseDown = false;
binding.value.hasScrolled = false;
element.classList.remove('expanded');
close(element, binding, event);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ℹ️ There was no onClosed event triggered either here.

@tzi tzi marked this pull request as ready for review November 24, 2025 11:00
@tzi tzi changed the title Fix and Improve period selection via keyboard navigation, UX-300 Fix and Improve period selection via keyboard navigation Nov 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c: Accessibility When something is not usable for a certain group (eg missing contrast) or devices (eg smartphones). Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. Needs Review PRs that need a code review

Development

Successfully merging this pull request may close these issues.

2 participants