Thursday, June 10, 2021¶
Sharif and I had a brainstorming about what we can do to improve Lino’s calendar functionality.
TODO:
The lino_xl.lib.calview
plugin still has some quite visible issues :
Fix the minimum column width: when rendering the columns for the weekdays, the calendar view switches to quickly into the mode “There is not enough width to display all columns, so I must add a horizontal wrapper”
The
navigation_panel
should be collapsible.The navigation buttons are kind of duplicated. But which one to remove? User can skip by day and by month, but not by year.
Google API:
rename
googleapi_people
togoogle
and have it collaborate also with cal and albums.Have
lino_xl.lib.contacts.Person
andlino_xl.lib.cal.Event
inherit fromGooglePeopleSynchronized
.GooglePeopleSynchronized
to a separatemixins.py
module and add a testif dd.is_installed('google'):
so that the mixin can be used also when the plugin is not installed (and doesn’t add anything in that case).
DONE:
Rename GooglePeople to GoogleSynchronized
google_resourceName
becomes a class attribute. For eachresource
we will have a subclass: GooglePeopleSynchronized GoogleCalendarSynchronized GoogleImagesSynchronized