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

Use dynamic agenda based on sessionize GridSmart response for 2021 agenda #441

Open
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

bplowry
Copy link
Contributor

@bplowry bplowry commented Jun 22, 2022

Changes:

  • Agenda updates will be replacing a file in Azure Blob Storage, rather than PR to update IDs + a deployment
    • Will probably need to review who can update the file, or perhaps change the API to call Sessionize API with some caching
  • Session groups will also come from Sessionize data, which simplifies updates
  • Allow overrides to customize parts of the agenda, e.g. changing room names
    • Typically in Sessionize, lunch is listed as being in the Theatre, but we want to display "Riverside Foyer", etc.
    • We can add livestream URLs, change sessions around, etc
  • Add /agenda/2022 page (uses updated file so that I could check that it worked)

Other changes required (no permission):

  • Update environment variable in pipeline
  • Update sessionize file in Blob Storage

@bplowry bplowry marked this pull request as ready for review July 4, 2022 09:22
@@ -2,6 +2,7 @@ NEXT_PUBLIC_APPINSIGHTS_INSTRUMENTATIONKEY=2f1d6a9c-1b88-4f3d-bba1-64b11ffd2362
NEXT_PUBLIC_GET_SUBMISSIONS_URL=https://dddperth-functions-test.azurewebsites.net/api/GetSubmissions
NEXT_PUBLIC_SUBMIT_VOTE_URL=https://dddperth-functions-test.azurewebsites.net/api/SubmitVote
NEXT_PUBLIC_GET_AGENDA_URL=https://dddperth-functions-test.azurewebsites.net/api/GetAgenda
NEXT_PUBLIC_GET_AGENDA_SCHEDULE_URL=https://dddperth-functions-test.azurewebsites.net/api/GetAgendaSchedule
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need someone to add this to the pipeline ... I don't have permission.
@mzaatar

@bplowry bplowry marked this pull request as draft July 6, 2022 10:37
// we return an array because we could have multiple sessions per slot,
// however sessionize will treat them as different slots
// we will call another function to merge the two slots, on a per-conference basis
// (which will also allow other changes like fudging room names)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For an example of this, see pages/agenda/2022tsx > with2022Overrides

import AllAgendas from 'components/allAgendas'

import data from 'public/static/agenda/2022.json'
import sessionizeGridSmart from 'public/static/agenda/2022_gridsmart.json'
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Considering changing this so that the static file is the AgendaForDisplay type, but I'll do that after the API returns updated date

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doing so means finding a better spot for the with2022Overrides function

@bplowry bplowry marked this pull request as ready for review September 24, 2022 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants