datatracker
datatracker copied to clipboard
Several pages show ical icons for meetings that have not yet been scheduled
Once the object for a IETF meeting exists, and a session request has been made, creating a Session object for a group for that meeting, but before even a preliminary meeting agenda has been created, an ical icon shows up on the related meeting pages for the session even though it hasn't been scheduled, and has no times to include in the ical.
The presentation of the link should be gated with there being something relevant to actually provide.
Possible counterargument - if the view that provides the ics simply returns an empty calendar until something is available, people can add sessions to their calendar subscriptions and they will just show up once the session is scheduled.
However, having a link that returns an empty calendar probably violates the principle of least surprise.
@jennifer-richards Have the recent changes affected this?
This seems to have been fixed on group meetings pages (https://datatracker.ietf.org/wg/<acro>/meetings/), where only future "sched" meetings have an ical link.
On the individual session pages (https://datatracker.ietf.org/meeting/<num>/session/<acro>), ical links are shown regardless.
On the individual session pages (https://datatracker.ietf.org/meeting/
/session/ ), ical links are shown regardless.
We should be consistent, and "no link when unscheduled" seems to be winning, so the above should have an if statement added.