Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Program links #478

Open
japsu opened this issue Apr 15, 2024 · 0 comments
Open

Program links #478

japsu opened this issue Apr 15, 2024 · 0 comments
Assignees
Labels
guide-v2-embedded Program Guide V2 Embedded guide-v2-light Program Guide V2 Light
Milestone

Comments

@japsu
Copy link
Contributor

japsu commented Apr 15, 2024

Currently in the GraphQL API there is the signupLink attribute that provides the undecorated URL to sign up to the program item, if any.

However, we also have other forms of program linkage. At the time of writing the following ones have been recognized:

  • SIGNUP: Sign up
  • RESERVATION: Reserve seats
  • TICKETS: Buy tickets
  • RECORDING: Watch recording
  • FEEDBACK: Give feedback

There may be others as well.

What is proposed is adding an attribute to ProgramType called links(types: [LinkType!]) that would be an object type with fields type, title(lang: String) and href, where type is an enum of the above and others strings. If types is not provided, links of all types are returned. There may be 0…N links of each type. They could be visualized eg. like this:

Links:
Sign up (Konsti)
Recording (YouTube)

Slack discussion
Further slack discussion (as part of the #474 discussion)

@japsu japsu added guide-v2-embedded Program Guide V2 Embedded guide-v2-light Program Guide V2 Light labels Apr 15, 2024
@japsu japsu added this to the Ropecon 2024 milestone Apr 15, 2024
@japsu japsu self-assigned this Apr 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
guide-v2-embedded Program Guide V2 Embedded guide-v2-light Program Guide V2 Light
Projects
Status: Done
Development

No branches or pull requests

1 participant