feat: mail list font size, remove Termin toolbar, rename Flagge to Markierung with symbol picker

- Mail list: title and subject font text-xs -> text-sm
- Remove Termin (create-event) toolbar button
- Rename Flagge -> Markierung with select dropdown (star, flag, bookmark, important, question)
- Backend: add flag_type column to Mail model + migration 0006
- Backend: flag_type in MailFlagsUpdate schema, update_flags route, mail_to_response
- Frontend: flag_type in Mail interface, FlagUpdatePayload, MailList symbol display
This commit is contained in:
Agent Zero
2026-07-20 10:39:16 +02:00
parent 5fa3f0540b
commit 9da04057b9
8 changed files with 53 additions and 27 deletions
+1
View File
@@ -130,6 +130,7 @@ class Mail(Base, TenantMixin):
body_html_sanitized: Mapped[str] = mapped_column(Text, nullable=False, default="")
is_seen: Mapped[bool] = mapped_column(Boolean, nullable=False, default=False)
is_flagged: Mapped[bool] = mapped_column(Boolean, nullable=False, default=False)
flag_type: Mapped[str | None] = mapped_column(String(32), nullable=True, default=None)
is_draft: Mapped[bool] = mapped_column(Boolean, nullable=False, default=False)
is_answered: Mapped[bool] = mapped_column(Boolean, nullable=False, default=False)
is_forwarded: Mapped[bool] = mapped_column(Boolean, nullable=False, default=False)