-
Notifications
You must be signed in to change notification settings - Fork 595
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
Calendar: Improve aria-label in Multiple mode #28106
base: 24_2
Are you sure you want to change the base?
Calendar: Improve aria-label in Multiple mode #28106
Conversation
packages/devextreme/js/__internal/ui/calendar/m_calendar.base_view.ts
Outdated
Show resolved
Hide resolved
packages/devextreme/js/__internal/ui/calendar/m_calendar.base_view.ts
Outdated
Show resolved
Hide resolved
packages/devextreme/js/__internal/ui/calendar/m_calendar.base_view.ts
Outdated
Show resolved
Hide resolved
packages/devextreme/testing/tests/DevExpress.ui.widgets.editors/calendar.markup.tests.js
Outdated
Show resolved
Hide resolved
packages/devextreme/js/__internal/ui/calendar/m_calendar.multiple.selection.strategy.ts
Outdated
Show resolved
Hide resolved
packages/devextreme/js/__internal/ui/calendar/m_calendar.multiple.selection.strategy.ts
Outdated
Show resolved
Hide resolved
packages/devextreme/js/__internal/ui/calendar/m_calendar.multiple.selection.strategy.ts
Outdated
Show resolved
Hide resolved
packages/devextreme/js/__internal/ui/calendar/m_calendar.multiple.selection.strategy.ts
Outdated
Show resolved
Hide resolved
packages/devextreme/js/__internal/ui/calendar/m_calendar.multiple.selection.strategy.ts
Outdated
Show resolved
Hide resolved
9b54698
to
251e725
Compare
@@ -689,6 +689,45 @@ const getMachineTimezoneName = () => { | |||
: null; | |||
}; | |||
|
|||
const getRangesByDates = (dates) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We calculate the same value for area-label three times: once for the visible view and twice for the invisible ones. Is there any way to optimize this and calculate the value only once?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think it's important, anyway we have O(n) time complexity
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can, but for that I would introduce a new ranges option at the calendar level.
packages/devextreme/js/__internal/ui/calendar/m_calendar.base_view.ts
Outdated
Show resolved
Hide resolved
…d localization && PG && Improve multiple mode label
bef67c2
to
10a380d
Compare
No description provided.