fix: replace 2h timeslot with 20min option

Timeslot options are now 15min (4/hr), 20min (3/hr), 30min (2/hr),
and 1h (1/hr). Removed the 2h option which didn't make sense.

v1.51.5

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
mARTin 2026-03-19 10:14:08 +01:00
parent b20591108e
commit a1f6166eb5
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "my-weekly-todo-list", "name": "my-weekly-todo-list",
"version": "1.51.4", "version": "1.51.5",
"description": "A web-based weekly task management application that organizes to-dos and calendar events in a single, intuitive weekly view", "description": "A web-based weekly task management application that organizes to-dos and calendar events in a single, intuitive weekly view",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {

View File

@ -177,7 +177,7 @@ interface SomedayList {
} }
// Time grid configuration options // Time grid configuration options
type CellDuration = 15 | 30 | 60 | 120; type CellDuration = 15 | 20 | 30 | 60;
const DEFAULT_SOMEDAY_SLOT_COUNT = 5; const DEFAULT_SOMEDAY_SLOT_COUNT = 5;
const getSomedaySlotCount = (tasks: Task[]) => { const getSomedaySlotCount = (tasks: Task[]) => {
@ -11032,9 +11032,9 @@ function SettingsSidebar({
style={{ width: "100%", padding: "8px", border: "1px solid #ddd", borderRadius: "4px" }} style={{ width: "100%", padding: "8px", border: "1px solid #ddd", borderRadius: "4px" }}
> >
<option value={15}>15 min</option> <option value={15}>15 min</option>
<option value={20}>20 min</option>
<option value={30}>30 min</option> <option value={30}>30 min</option>
<option value={60}>1 hour</option> <option value={60}>1 hour</option>
<option value={120}>2 hours</option>
</select> </select>
</div> </div>