nextcloud / nextcloud/calendar
Default to next rounded hour when today's event is switched from all day to hour
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.2k
- Forks
- 332
- Avg merge
- 16h 13m
- Merged PRs (30d)
- 137
Description
I'm not sure if the behaviour should be different for one particular day.
My use case was when you have an all day event on today's date and uncheck the all day checkbox, it's odd to default to an already passed time. It's not that important though, so I'm fine with ignoring it for now.
But my idea for #1021 was that when you click "New event" it will automatically open the new event on today and round up to the next hour.
Does that make sense?
Yes.
Originally posted by @tcitworld in https://github.com/nextcloud/calendar/pull/1563#issuecomment-544958212
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the case described: switch an event on today's date from all-day to timed and observe the default time. Compare that behavior with the expected next rounded hour when creating a new event, then identify the relevant calendar UI entry point and add coverage for both flows.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100