Similar to Issue #684, the people section on the dev page of the ACM Website needs to be manually updated through the .../data/dev.js file. This process is cumbersome and error-prone.
Proposed Solution
Automate with existing script:
There already exists the .../officer-parser.mjs script that retrieves data from the directory spreadsheet and writes it to the offoutput.json file.
We would need to modify the .../OfficerCard.js component and the .../pages/dev.js page so that the data from the said generated json file is used instead of the hard-coded data.
This would be similar to how .../CommitteeSectionOfficers/js and .../officers.js do it but the styling would be different and a smaller subset of the data would be displayed which would be dictated by the currently displayed dev page.
Issue
Similar to Issue #684, the people section on the dev page of the ACM Website needs to be manually updated through the
.../data/dev.js
file. This process is cumbersome and error-prone.Proposed Solution
Automate with existing script:
.../officer-parser.mjs
script that retrieves data from the directory spreadsheet and writes it to theoffoutput.json
file..../OfficerCard.js
component and the.../pages/dev.js
page so that the data from the said generated json file is used instead of the hard-coded data..../CommitteeSectionOfficers/js
and.../officers.js
do it but the styling would be different and a smaller subset of the data would be displayed which would be dictated by the currently displayed dev page.