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

Adding context to event and event series calendar #5110

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

Conversation

pacodelcastillolopez
Copy link
Collaborator

@pacodelcastillolopez pacodelcastillolopez commented Mar 6, 2025

When in the events show page, the reports calendar will know show the event as well as the reports.
When in the event series show page, the events calendar will also show all the events reports.

Closes AB#1269

User changes

  • When in the events show page, the reports calendar will know show the event as well as the reports.
  • When in the event series show page, the events calendar will also show all the events reports.

Superuser changes

  • None

Admin changes

  • None

System admin changes

  • application.yml or anet-dictionary.yml needs change
  • db needs migration
  • documentation has changed
  • graphql schema has changed

Checklist

  • described the user behavior in PR body
  • referenced/updated all related issues
  • commits follow a repo#issue: Title title format and these 7 rules
  • commits have a clean history, otherwise PR may be squash-merged
  • added and/or updated unit tests
  • added and/or updated e2e tests
  • added and/or updated data migrations
  • updated documentation
  • resolved all build errors and warnings
  • opened debt issues for anything not resolved here

}
.flatMap(event => {
return [createCalendarEventFromEvent(event)].concat(
reportsToEvents(event.reports, false, null)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should we allow the user here the choice between showing the advisorOrg and the interlocutorOrg as well, like in the ReportCalendar?
[If not, you're retrieving more report fields in EventCalendar.tsx than you actually need.]

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants