rcthomas / jupyterhub-announcement

Announcement service for JupyterHub with a UI
Other
22 stars 11 forks source link

Provide an RSS feed of announcements so they can show up in JupyterLab notifications #30

Open yuvipanda opened 4 months ago

yuvipanda commented 4 months ago

https://jupyterlab.readthedocs.io/en/stable/user/announcements.html#jupyter-news says you can set that to any arbitrary RSS feed and it would show up as a pop up in Jupyterlab.

maybe if announcements were made available as an RSS feed, we can hook that in here?

rcthomas commented 4 months ago

I remember looking into this when the JupyterLab announcements feature was announced (heh). But I think the feed only pops up the announcement when JupyterLab starts. I thought that wouldn't be too useful since the user would have just seen the announcement on the hub. Let me know if I've got that wrong. I remember making an RSS feed to test the functionality... Also things may have changed or I didn't test thoroughly enough.

But, if things could pop-up when the feed's updated, that would be cool. We made this thing for ourselves a few years ago before JupyterLab announcements: https://github.com/NERSC/nersc-refresh-announcements and it's worked OK, but it would be nicer if we could retire that and rely on something more baked into JupyterLab.