Skip to content

Custom events sorting in month view #2699

@Vity01

Description

@Vity01

Clear and concise description of the problem

At this moment, the order of the events in the month view is hard coded by @cutterbl (#2502) - multiple days events are prioritized. But it is not always wanted. I would like to also prioritize events by type. Consider events of my vacation and vacation of my colleagues. I want to see my vacation days prioritized as first. Or the holidays should be above the regular events.

Suggested solution

There are several options:
Don't change order of the events in the list - let developer decide its priorities
or
Introduce comparator option to be able to do custom sort.

Alternative

No response

Additional context

No response

Validations

  • Read the docs.
  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

Would you like to open a PR for this feature?

  • I'm willing to open a PR

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions