Skip to content

Added descending order to CalendarList#2257

Open
biddano wants to merge 4 commits intowix:masterfrom
biddano:master
Open

Added descending order to CalendarList#2257
biddano wants to merge 4 commits intowix:masterfrom
biddano:master

Conversation

@biddano
Copy link
Copy Markdown

@biddano biddano commented Jun 17, 2023

This PR will allow users the flexibility to view CalendarList months in descending order rather than ascending order (current functionality). Added an optional descendingOrder prop to CalendarList for this (defaults to false).

@stale
Copy link
Copy Markdown

stale Bot commented Oct 15, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale Bot added the stale label Oct 15, 2023
@stale stale Bot removed the stale label Nov 28, 2023
@ozhuk-hacken
Copy link
Copy Markdown

@yakirza17 Could I ask you to check this and approve it pls?

}
return months;
return descendingOrder ? months.reverse() : months;
}, [pastScrollRange, futureScrollRange]);
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

}, [descendingOrder, pastScrollRange, futureScrollRange]);

@Inbal-Tish
Copy link
Copy Markdown
Collaborator

@biddano Sorry for the late review. This feature looks great and I would like to review it if you can fix the PR please

@jcedborger
Copy link
Copy Markdown

This is a needed feature. Can you please merge it?

Copy link
Copy Markdown

@jcedborger jcedborger left a comment

Choose a reason for hiding this comment

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

Please see @ozhuk-hacken's comment. After that, please merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants