charity-base-form

1.9.0 • Public • Published

charity-base-form

Travis npm package Coveralls

Describe charity-base-form here.

Issues

  • do proper error handling in methods that destructure charity object (handle errors gracefully)

    • done for finances - do same for rest
  • display issue with date input. change to reg year only? or make type='text' when unfocussed & empty?

  • "Basic" section title shows even if no children are specified in renderFields prop

  • should charity-base-search be a peer dependency? or should we just export charity-base-search as named export?

  • polyfills:

    • fetch

Gotchas

  • not recommended to change gqlFields if using renderFields?

Done

  • prevent stale updates in charity-base-search: use the effect cleanup function to either ignore or cancel stale requests
  • displays 'no results' error message prematurely
  • added prefix icon to cbs
  • added acknowledgement to cbs
  • replace fb & twitter favicons with svgs
  • need to add a prompt when select a charity: "please check the info below is correct and fill in the blanks. help. (button to open modal with charitybase ref.)"
  • actually, maybe put the 'are you a charity' toggle logic inside the component i.e. above search input? <-- i think this would increase uptake by funders
  • "Cannot read property 'split' of null" error - maybe financialyear.end is empty?
  • add error boundary as last resort
  • onChange callback triggered on render (charity-base-search issue)
  • use material-components and debug invalid inputs
  • when no api key provided spinner just spins? (witnessed in widgets) [maybe this was a previous preact issue]

Package Sidebar

Install

npm i charity-base-form

Homepage

http:

Weekly Downloads

2

Version

1.9.0

License

MIT

Unpacked Size

1.45 MB

Total Files

55

Last publish

Collaborators

  • dan-kwiat