-
-
Notifications
You must be signed in to change notification settings - Fork 847
Closed
Labels
Complexity: LargeP-Feature: Eventshttps://www.hackforla.org/events/https://www.hackforla.org/events/role: front endTasks for front end developersTasks for front end developerssize: 2ptCan be done in 7-12 hoursCan be done in 7-12 hours
Milestone
Description
Overview
We need to refactor the JavaScript that generates the list of meetings on the Events page, so that it retrieves meeting data from the file data/external/vrms_data.json, in order to reduce the latency and improve the reliability of the Events page. For testing purposes, a new page events-check will be created that will maintain the behavior of the current events page.
Details
The project pages currently sources meeting data from data/external/vrms_data.json and so elements of that code can be refactored so that functions can be called from the Events page as well.
Action Items
- Copy
events.htmlthen rename the copy toevents-check.htmland change the permalink to/events-check - Copy
events.jsthen rename the copyevents-check.jsand updateevents-check.htmlto reference the renamed file - Copy
_includes/events-page/right-col-content.htmlthen rename the copy to_includes/events-page/right-col-content-check.htmland updateevents-check.htmlto reference the renamed file - Copy
assets/js/right-col-content.jsthen rename the copyassets/js/right-col-content-check.jsand modify_includes/events-page/right-col-content-check.htmlto reference the renamed file - Confirm that the appearance and meeting data on
/events-checkare identical to/events - Open the file
assets/js/project.jsin your IDE and understand the code used to display project meetings. If there is code that can be shared between the project and events pages, move those elements to a new fileassets/js/utility/vrms-events.js. - If code was moved to
assets/js/utility/vrms-events.js, refactor the code inassets/js/project.jsto reference function(s) in the new file, and perform testing to confirm that functionality on the Project page1 is unchanged. - Refactor the code in
assets/js/right-col-content.jsand_includes/events-page/right-col-content.htmlto reference the function(s) inassets/js/utility/vrms-events.jsand perform testing to confirm that functionality on the Event page2 is unchanged.
Resources/Instructions
Merge Team
- Release dependency on Refactor JavaScript so that Project Meetings page sources meeting data from vrms_data.json #6059, move that issue to New Issue Approval and apply "ready for dev lead" label
Footnotes
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Complexity: LargeP-Feature: Eventshttps://www.hackforla.org/events/https://www.hackforla.org/events/role: front endTasks for front end developersTasks for front end developerssize: 2ptCan be done in 7-12 hoursCan be done in 7-12 hours
Type
Projects
Status
QA