linuxmint / cinnamon-spices-applets

Applets for the Cinnamon desktop
http://cinnamon-spices.linuxmint.com
590 stars 504 forks source link

calendar@ccprog: Multiple holidays #3316

Open sphh opened 3 years ago

sphh commented 3 years ago
 * Applet version/Build date: 1.1.3 (2020-11-16 20:54:10)
 * Cinnamon version: Cinnamon 4.6.7
 * Distribution: Linux Mint 20

Notify author of applet @ccprog

Issue I tried to add a second (or third) holiday calendar to the applet, but could not find a way to do so.

Is it possible to extend the input for public holidays to a list?

Other information Why would this be needed? Consider you are living in one country, but the headquarter of the company you are working for is based in a different country. Obviously you are interested in your own holidays, but also in the holidays of your HQ, because you would not be able to reach anybody there.

How should these additional holidays be displayed? I would prefer the following:

  1. Holidays for the first entry in the list are bold.
  2. Additional holidays are in italics.
  3. If a holiday of the first entry and any other entry are on the same day, it will be displayed in bold italics.

Alternatively each entry in the list of holidays could have a checkbox. If checked they are displayed in bold, if not checked they are displayed in italics.

It is really similar to the idea behind the World Clocks … (Should this feature be named "World Holidays"?)

ccprog commented 3 years ago

Having different styles for different holiday lists is not feasable. There is only one CSS class calendar-nonwork-day that can be realistically used to mark week end days and holidays. Everything else would not work across different themes. If different lists are implemented, double holidays would show up in tooltips.

sphh commented 3 years ago

Is it possible to ask for another CSS class to be included to the themes?

Re double holidays in tooltips: Well, I think they should show up. If you consider my example, I would like to know, if the guys at HQ have a holiday, too.

ccprog commented 3 years ago

Only classes used in Cinnamon's own applets will be included in the Cinnamon theme template. Only classes in the theme template will find their way into themes by other authors.

If the class was exclusive to this applet, I would have to provide styling for it myself. The styling then might clash with some theme without my knowledge.

Possible, yes. Realistic, no.