Kalender-Sichtbarkeit persistent speichern + Sidebar-Overflow-Fix

- sidebar_hidden-Spalte zu calendars und google_calendars hinzugefügt
- Ausblenden-Button persistiert jetzt server-seitig (cross-device)
- Einblenden in Einstellungen schreibt sidebar_hidden=false zurück
- Sidebar: overflow-x hidden verhindert dass lange Namen den Button rausschieben
This commit is contained in:
2026-03-27 10:02:05 +01:00
parent f9f5d8c4cb
commit bad1ed500f
6 changed files with 35 additions and 12 deletions

View File

@@ -59,6 +59,7 @@ class Calendar(Base):
name = Column(String(100), nullable=False)
color = Column(String(7), nullable=True)
enabled = Column(Boolean, default=True)
sidebar_hidden = Column(Boolean, default=False)
account = relationship("CalDAVAccount", back_populates="calendars")
@@ -168,5 +169,6 @@ class GoogleCalendar(Base):
name = Column(String(255), nullable=False)
color = Column(String(7), nullable=True)
enabled = Column(Boolean, default=True)
sidebar_hidden = Column(Boolean, default=False)
account = relationship("GoogleAccount", back_populates="calendars")