Commit Graph

12 Commits (1e78c6a339f6cdee132ab1d57f55429e2861acf9)

Author SHA1 Message Date
Randy Heydon e2971e538e agenda: Change clockinfo title truncation to preserve images.
The previous commit to remove truncation caused long titles that were not well
handled by some clocks.  This commit instead uses truncation based on string
wrapping, which maintains limited-length titles, but now preserves images
(e.g. emojis) embedded in the titles.
2025-06-19 15:29:05 -04:00
Randy Heydon 3d10dc9745 agenda: Show full title in clockinfo instead of truncated
Previously, all event titles would be truncated to 12 characters when displayed
in a clock info.  This hides some information, and completely breaks event
titles containing embedded images (i.e. converted emojis).  This change simply
removes the truncation, allowing the full title and full images to be shown.
2025-06-10 20:54:12 -04:00
Randy Heydon 5a253983ed agenda: fix all-day event offsets in clock info.
All-day events synchronized from Gadgetbridge always start at midnight UTC,
which causes them to display as different days depending on time zone offset
(specifically negative offsets display the date as one day early).  This was
previously fixed in the agenda app in pull request #3695 (commit bcf88c3).
This commit replicates that fix in the clockinfo that agenda provides.
2025-04-09 20:52:22 -04:00
Gabriele Monaco f0a66dc177 agenda: added color field and updating clkinfo periodically (running events) 2023-01-20 15:00:45 +01:00
Gabriele Monaco 4a47b49c1c agenda: added dynamic, short and range fields to clkinfo 2022-12-19 23:03:10 +03:00
Gordon Williams 8425f0b50a Update clock_info to avoid a redraw/general tidyups 2022-12-16 15:40:58 +00:00
Gordon Williams 99065debc7 Ensure Agenda supplies an image for clkinfo items (fix #2397) 2022-12-14 14:52:04 +00:00
Gordon Williams 602689ed28 Fix clkinfo icon 2022-11-25 16:26:38 +00:00
Gordon Williams 639d9b7dc5 agenda 0.08: Fix error in clkinfo (didn't require Storage & locale) 2022-11-25 16:08:26 +00:00
David Peer f54cdd2025 Almost finished a first version 2022-09-29 21:05:19 +02:00
David Peer ceaae5614d Minor changes 2022-09-20 18:53:46 +02:00
David Peer 24972e3128 Refactored into clkinfo.js files 2022-09-19 17:23:37 +02:00