geem-lab / seminars

GEEM lab group seminars
https://geem-lab.github.io/seminars
MIT License
5 stars 0 forks source link

Display calendar #11

Closed Leticia-maria closed 1 year ago

Leticia-maria commented 2 years ago

Some ideas to implement here:

schneiderfelipe commented 2 years ago

This might be useful.

Leticia-maria commented 2 years ago

Almost there, @schneiderfelipe :

I have already updated poetry.lock and the TOML file (2a46317db3c2474786dd959b42eb24c9772b2781)

Leticia-maria commented 2 years ago

Now I will display the calendar and highlight the dates with seminars.

schneiderfelipe commented 2 years ago

IPython seems overkill, as it's not meant for that. Why are you using this? I seems to me that generating a .ics file using some library and a simple JS widget would do the trick just fine. We need an .ics file anyway if we ever want to import to Google Calendar. And they have a widget.

Leticia-maria commented 2 years ago

Thank you for your comments, @schneiderfelipe.

  1. I have solved the dependency with IPython (the calendar is being displayed now by using markdown, since it is an HTML code):
    • 21f7c9585f120402414ce23749c14bddb4ba2228

(I have used this solution because it is quite simple, and the design is according to the rest of the web page)

  1. Today's date is highlighted: https://github.com/geem-lab/seminars/blob/9fcc17cc136e1385f551185668658c76619403a4/scripts/update-seminars.py#L170-L178
Leticia-maria commented 2 years ago

I have removed the markdown method of line 174, since the calendar is in HTML, calling it is not necessary

Leticia-maria commented 2 years ago
stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had any recent activity. It will be closed soon if no further activity occurs.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had any recent activity. It will be closed soon if no further activity occurs.

stale[bot] commented 1 year ago

Closing due to inactivity.