-
Notifications
You must be signed in to change notification settings - Fork 24
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
base: main
Are you sure you want to change the base?
Conversation
@@ -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 |
There was a problem hiding this comment.
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
c4aa14c
to
0f95fe1
Compare
// 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) |
There was a problem hiding this comment.
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' |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
Changes:
/agenda/2022
page (uses updated file so that I could check that it worked)Other changes required (no permission):