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

Display VRMS data on Events and Project Meetings pages #3833

Merged
merged 1 commit into from
Jan 18, 2023

Conversation

jyaymie
Copy link
Member

@jyaymie jyaymie commented Jan 17, 2023

Fixes #3701

What changes did you make and why did you make them?

  • I added 'if' statements in the insertEventSchedule and display_object functions in assets/js/utility/api-events.js, which fixed TypeErrors caused by incompatible or missing values in the data. Rather than combing through the VRMS data to find what caused these errors, I thought this was a more efficient solution that safeguards against similar issues in the future.

Screenshots of Proposed Changes Of The Website (if any, please do not screen shot code changes)

Visuals before changes are applied Screen Shot 2023-01-16 at 10 20 21 PM Screen Shot 2023-01-16 at 10 21 56 PM
Visuals after changes are applied Screen Shot 2023-01-16 at 10 21 00 PM Screen Shot 2023-01-16 at 10 21 30 PM

@github-actions
Copy link

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.

git checkout -b jyaymie-display-vrms-data-3701 gh-pages
git pull https://github.com/jyaymie/website.git display-vrms-data-3701

@github-actions github-actions bot added Bug Something isn't working P-Feature: Events https://www.hackforla.org/events/ role: back end/devOps Tasks for back-end developers Complexity: Large time sensitive Needs to be worked on by a particular timeframe labels Jan 17, 2023
@t-will-gillis t-will-gillis self-requested a review January 17, 2023 19:03
@MattPereira MattPereira self-requested a review January 17, 2023 20:59
@MattPereira
Copy link
Contributor

Review ETA: End of Day 1/17/23
Availability: 6-10 PM Tuesday

Copy link
Member

@t-will-gillis t-will-gillis left a comment

Choose a reason for hiding this comment

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

Hi jyaymie – Looks good- the /events and /project-meetings pages both seem to be displaying the meeting times correctly, and the individual project pages do not seem to break. I started a tedious exercise comparing the before and after vrms_data.json files. As Matt already pointed out, there are a couple dozen lines of code that were deleted in ‘testy test Team Meeting’ that were previously included in project: and now are null, which may have been the breakpoint.
I am marking my review as ‘approved’ - I have nothing to add to Matt’s or your insights, but I will be following along to see how the two of you resolve this.
Great job moving this forward.
Screenshot 2023-01-17 150550

@MattPereira
Copy link
Contributor

MattPereira commented Jan 18, 2023

Moving this bug discovery log out of "resolved conversation" for future reference:

After console.logging the responseData and using a try...catch block around the rv_object instantiation, it appears that the very last meeting time is a test that was breaking everything because the project property is set to null.

Error

Copy link
Contributor

@MattPereira MattPereira left a comment

Choose a reason for hiding this comment

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

@jyaymie nice work knocking down a large time-sensitive issue so quickly! 💪

Appreciate your explanation of the proposed changes and the quality screenshots.

My only tiny suggestion is to use the check boxes provided under the issue action items, but I have seen lots of other developers here not using them so maybe I just have a weird thing for check marks 🤔

@MattPereira MattPereira merged commit 254c39b into hackforla:gh-pages Jan 18, 2023
@jyaymie
Copy link
Member Author

jyaymie commented Jan 18, 2023

My only tiny suggestion is to use the check boxes provided under the issue action items, but I have seen lots of other developers here not using them so maybe I just have a weird thing for check marks 🤔

Good call, @MattPereira. Those boxes are there for a reason!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Complexity: Large P-Feature: Events https://www.hackforla.org/events/ role: back end/devOps Tasks for back-end developers time sensitive Needs to be worked on by a particular timeframe
Projects
Development

Successfully merging this pull request may close these issues.

Fix Events page bug with VRMS data not displaying
3 participants