GithubHelp home page GithubHelp logo

nerocui / gabydavis Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 260 KB

CRM for Gaby Davis Fundation

License: MIT License

HTML 0.27% JavaScript 94.15% CSS 5.58%
algolia bingmaps-api meteor mongodb react redux

gabydavis's People

Contributors

barryki avatar breyannebb avatar darren5231 avatar nerocui avatar

Watchers

 avatar  avatar  avatar  avatar

gabydavis's Issues

Map has no pin

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.

Implement the preview page ui with the ability to edit

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.

Replace loadData from ProfilePage with new parser

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

People are not editable

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.

Importing needs validation

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.