Closed natalialuzuriaga closed 6 months ago
We also might want to add the generated .xlsx
file to the .gitignore
to make development easier
@natalialuzuriaga Looks amazing! I did run into an issue downloading the excel spreadsheet however it might be a platform difference since I ran the frontend on my linux machine.
It looks like it created a file called frontenddeduped_record_mapping.xlsx
in the root of the repository
@IsaacMilarky Ahhhh super cool to see it working in a different OS! Made a fix to this file path issue, hopefully it works now
Dedupe-Data: Deduplication & Downloading Results
Problem
Our features for the alpha version consist of:
This PR implements step 2 and step 3 of above.
Solution
Configured python virtual environment to be created in the project
Use Python-Shell to run
dedupe-data
command on backend. Loading indicator is shown while processing (loading.html
)If deduplication is successful, user can download results spreadsheet through save file dialog. Alert notes whether file download is successful or error. (
renderer-success.js
success.html
)If deduplication fails, user is redirected back to landing page (
error.html
)Updated eslint ecmaVersion to 8 to support async functions
Test Plan
TODO: Ask Pat about testing, leaning towards Jest