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.master
parent
4fcb100b24
commit
3d10dc9745
|
|
@ -18,3 +18,4 @@
|
||||||
0.16: Correct date for all day events in negative timezones, improve locale display
|
0.16: Correct date for all day events in negative timezones, improve locale display
|
||||||
0.17: Fixed "Today" and "Tomorrow" labels displaying in non-current weeks
|
0.17: Fixed "Today" and "Tomorrow" labels displaying in non-current weeks
|
||||||
0.18: Correct date in clockinfo for all-day events in negative timezones
|
0.18: Correct date in clockinfo for all-day events in negative timezones
|
||||||
|
0.19: Show full title in clockinfo instead of truncated
|
||||||
|
|
|
||||||
|
|
@ -64,7 +64,7 @@
|
||||||
|
|
||||||
agenda.forEach((entry, i) => {
|
agenda.forEach((entry, i) => {
|
||||||
|
|
||||||
var title = entry.title.slice(0,12);
|
var title = entry.title;
|
||||||
// All day events are always in UTC and always start at 00:00:00, so we
|
// All day events are always in UTC and always start at 00:00:00, so we
|
||||||
// need to "undo" the timezone offsetting to make sure that the day is
|
// need to "undo" the timezone offsetting to make sure that the day is
|
||||||
// correct.
|
// correct.
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"id": "agenda",
|
"id": "agenda",
|
||||||
"name": "Agenda",
|
"name": "Agenda",
|
||||||
"version": "0.18",
|
"version": "0.19",
|
||||||
"description": "Simple agenda",
|
"description": "Simple agenda",
|
||||||
"icon": "agenda.png",
|
"icon": "agenda.png",
|
||||||
"screenshots": [{"url":"screenshot_agenda_overview.png"}, {"url":"screenshot_agenda_event1.png"}, {"url":"screenshot_agenda_event2.png"}],
|
"screenshots": [{"url":"screenshot_agenda_overview.png"}, {"url":"screenshot_agenda_event1.png"}, {"url":"screenshot_agenda_event2.png"}],
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue