MCMic / workflow_kitinerary

Nextcloud application to automatically convert travel documents into calendar events using KDE itinerary project
GNU Affero General Public License v3.0
5 stars 1 forks source link

Detect type of imported ticket #17

Closed MCMic closed 1 year ago

MCMic commented 1 year ago

When importing an event, it should be possible to look into kitinerary json data to see which kind of ticket it is, hotel, train, plane, …

Depending on the type, the activity icon could be adapted. Maybe other stuff?

MCMic commented 1 year ago

Reference: https://invent.kde.org/pim/itinerary/-/blob/master/src/app/calendarimportmodel.cpp#L126 -> which icon for which type https://invent.kde.org/pim/itinerary/-/blob/master/src/app/publictransport.cpp#L113 -> fine grained icons, only available if fetching transport APIs, so not usable in our case Icons are in https://invent.kde.org/pim/itinerary/-/tree/master/src/app/images