-
-
Notifications
You must be signed in to change notification settings - Fork 778
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
Refactored JavaScript files so that Events page sources meeting data from vrms_data.json #6815
Refactored JavaScript files so that Events page sources meeting data from vrms_data.json #6815
Conversation
…t file and call appendMeetingTimes from vrms-events now
…rmatted and inserted in right-col-content.js
…content.js to sort vrmsData but lives on vrmsEvents.js
…on stored in vrms-events.js
…refactor-js-events-page-6023
Want to review this pull request? Take a look at this documentation for a step by step guide! From your project repository, check out a new branch and test the changes.
|
Review ETA: EOD 5/7/24 |
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.
Hi @irais-valenzuela , great job so far, the meeting data on the "events" page matches the live site exactly.
However, the meeting data is blank on the "events-check" page, which I believe is because you commented out the code in api-events.js . To maintain the behavior of the original events page, you should revert api-events.js back to its original code.
@aadilahmed Thanks for catching that! I just restored the code. Let me know if everything else is good. |
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.
Everything works as expected, great job @irais-valenzuela !
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.
Great job @irais-valenzuela on this Complexity: Large
issue!
- Code changes are clean, correct and achieve the desired refactoring
- Pull Request is well-formed with proper branching and description of work
- The description could be improved slightly by replacing both of the "Visual changes" detail-summary blocks with a single line "no visual changes"
- Local testing of
/events-check
shows that event list is consistent with the live/events
page - Local testing of
/projects/civic-tech-jobs
shows that event list is consistent with the live/projects/civic-tech-jobs
page - Local testing of
/events
shows that event list is consistent with the live/projects/civic-tech-jobs
page
Unfortunately in the process of checking events, I discovered discrepancies between the events on pages sourcing data from the API calls versus pages sourcing data from the vrms-data.json
file,
- Those will be addressed in ER: discrepancies in meeting data sourced from API calls to VRMS vs.
vrms-data.json
#6838
Thank you @irais-valenzuela for this contribution to Hack for LA!
Fixes #6023
What changes did you make?
Why did you make the changes (we will use this info to test)?
Screenshots of Proposed Changes Of The Website (if any, please do not screen shot code changes)
Visuals before changes are applied
No changes to website.Visuals after changes are applied
No changes to website.