Skip to content

feat(calendar): mark priority with flag and stripe, not fill - #29

Merged
MegaBadCoder merged 2 commits into
mainfrom
fix/calendar-priority-flag
Aug 15, 2026
Merged

feat(calendar): mark priority with flag and stripe, not fill#29
MegaBadCoder merged 2 commits into
mainfrom
fix/calendar-priority-flag

Conversation

@MegaBadCoder

@MegaBadCoder MegaBadCoder commented Aug 14, 2026

Copy link
Copy Markdown
Owner

Summary

  • Calendar events no longer tint the whole card by priority
  • Active tasks with priority get a colored flag and left stripe (high/medium/low)
  • Completed stay green, overdue stay red; no priority marks on those
  • Clearing priority sends null so it actually persists (undefined was stripped from JSON)

Test plan

  • Active high/medium/low task in calendar — flag + stripe, default fill
  • No priority — no flag, no stripe
  • Completed / overdue — own fill, no flag/stripe
  • Open task → Убрать приоритет → reload — priority is gone
  • All-day chips match timed events

Made with Cursor

i.seliverstov and others added 2 commits August 14, 2026 22:27
Active events show a colored flag and left stripe instead of a tinted
card. Completed and overdue keep their own fill. Clearing priority now
PATCHes null so JSON no longer drops the field.

Co-authored-by: Cursor <cursoragent@cursor.com>
UpdateTaskDto.priority | null was not assignable to Partial<CreateTaskDto>,
and spreading TaskPatch onto Task broke vue-tsc on dueDate.

Co-authored-by: Cursor <cursoragent@cursor.com>
@MegaBadCoder
MegaBadCoder merged commit e41be29 into main Aug 15, 2026
3 checks passed
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.

1 participant