Code Monkey home page Code Monkey logo

formstamper's People

Contributors

choilmto avatar dependabot[bot] avatar jpetso avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

choilmto

formstamper's Issues

Spread operator not working as expected

The spread operator works for arrays but not for objects. The pattern we're currently using instead is Object.assign(), which is necessary to avoid mutations. The issue and the solution has been documented by others although I don't know what the best solution might be (1, 2, 3, 4, 5, 6).

Reconsider component architecture

VLAvailableFields is largely a layer containing layout logic and for mapping VLFieldMappings. The logic could be moved into App, and delete VLAvailableFields.

Write unit tests

Jest provides serialized snapshot testing and the ability to write assertions, which is useful especially in place of loading PDFs and CSVs.

Write a README.txt

-provide instructions for the end-user so that they can install and operate the software
-provide an overview for developers who wish to customize the software by:
-describing the stack
-describing the dataflow
-describing specific functionality

Stretch goal: If appropriate, keep some fieldMappings after file reload

After loading a PDF, then loading a CSV, and mapping at least one CSV column to one PDF field, the fieldMappings array is no longer empty. If you then reload a PDF, retain the mappings for PDF fields that are in both the previously loaded PDF file and the newly loaded PDF file. Meanwhile, when reloading a CSV, retain the mappings for CSV column headers that are in both the previously loaded CSV file and the newly loaded CSV file.

In the case where the user does not want to retain mappings after creating a batch of PDFs, there needs to be a reset button to clear fieldMappings.

Use the Linter

It is an industry standard and will help with consistent formatting style.

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.