nerocui / gabydavis Goto Github PK
View Code? Open in Web Editor NEWCRM for Gaby Davis Fundation
License: MIT License
CRM for Gaby Davis Fundation
License: MIT License
The current method use xlsx.utils.sheet_to_json()
which misses data when the cell is empty.
The new parseSheet
function accept a csv variable and returns rich data about the result. Using it also makes the ProfilePage
more loosely coupled with parser logic.
In order to use it, have loadData
call sheet_to_csv
instead and pass the csv to parseSheet
in recordParser.js
. The result will be returned and should be passed to this.props.importRecords()
to push to redux. Then navigate to '/preview'
.
Helper methods will also needed to be implemented. parseHeader
and parseCell
in recordParser.js
After admin drop a file. It will be parsed and pushed to redux. Then the user will be navigated to '/preview'
to view the result. Fields that are invalid should be marked red with suggestion to change/replace/reparse. Schema is available in feature-import-preview
branch.
Currently the people in each family are not editable. As an admin, I should be able to remove a user, edit a user or add more.
Let's also turn the person card into a editable card. Clicking or double clicking should reveal the editable card just like the inputs.
Currently importing depends on the excel being in the correct format. While that's still required, we should validate the values before importing them into the backend.
Let's have a validate page to show the admin what's going to be insert. And let's only insert if the admin click "confirm import".
The validate page should show a editable grid, so if any of the fields are invalid, the admin can just change them inline.
The date picker should be dismissable.
Special fields like email, phone number, postal code, etc need to be in the correct format. All fields should have default value to avoid being null.
The map control does not show a pin. As an admin, I would like to see a pin on the map to help me see where the address is on the map
pitfall: adding pin require longitude and latitude, but we only have address.
possible solution: use some service to get the center longitude and latitude of the address.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.