Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@tomasr8
Copy link
Member

@tomasr8 tomasr8 commented Mar 24, 2025

More context in INC4379609

This is the component in question (e.g. on /rooms/calendar):
image

Currently, when changing e.g. from the day mode to a week mode, the date changes as well. If the date is in the middle of the week and we select the 'week' mode, the date is changed to the start date of the week.

This means that for example selecting 'day' ->
'week' -> 'day' will not return to the same date which is surprising.

This PR makes it so that the date does not change when the view changes. This means that 'day' -> 'week' -> 'day' returns to the same date.

Currently, when changing e.g. from the day mode to a
week mode, the date changes as well. If the date is
in the middle of the week and we select the 'week' mode,
the date is changed to the start date of the week.

This means that for example selecting 'day' ->
'week' -> 'day' will not return to the same date which
is surprising.

This PR makes it so that the date does not change when
the view changes. This means that 'day' -> 'week' ->
'day' returns to the same date.
@ThiefMaster ThiefMaster added this to the v3.3 milestone Mar 26, 2025
@ThiefMaster ThiefMaster merged commit 0e4771e into indico:master Mar 26, 2025
10 checks passed
@ThiefMaster ThiefMaster deleted the rb-keep-day branch March 26, 2025 10:19
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.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.