GithubHelp home page GithubHelp logo

caldera-file-field's People

Contributors

new0 avatar shelob9 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

caldera-file-field's Issues

Setup repo structure, with testing and CI.

@New0 I want you to do this so you can see how it works.

Copy from https://github.com/CalderaWP/processor-ui

Your goals (processor UI has all of this)

  1. Have the same basic structure and npm scripts.
  2. Generate docs with esdocs
  3. Tests running locally
  4. Travis config looks right.
  5. Linting with eslint
  6. Dev server
  7. Module export

I will need to:

  • Enable travis
  • Enable coveralls
  • Set coveralls token in Travis

RE: Setting up on npm.

I started a boilperlate for creating these types of modules here: https://github.com/CalderaWP/caldera-npm-module-boilerplate But I have gotten behind on back porting stuff there. Please read this: https://calderalabs.org/caldera-npm-module-boilerplate/manual/overview.html

RE: module export - I'm still working out best practice, but look how the main export for components here:
https://github.com/CalderaWP/caldera-components/blob/master/src/components/index.js

Which is covered by this test that just makes sure the exports are there and the right type:
https://github.com/CalderaWP/caldera-components/blob/master/src/components/export.test.js

But then part of the package, for example conditionals has its own export:
https://github.com/CalderaWP/caldera-components/blob/master/src/components/conditional-logic/index.js

And similar test:
https://github.com/CalderaWP/caldera-components/blob/master/src/components/conditional-logic/export.test.js

Admin interface for a file field

This is the configuration UI for 1 file field.

MUST have same settings as existing file fields.
https://calderaforms.com/doc/advanced-file-field/

Should be constructed using one RenderGroup component.

State management is NOT in scope. This component, should accept everything it needs, including change handlers as props, defined using prop-types. https://www.npmjs.com/package/prop-types

Processor UI is a good reference, but this is not a processor, so its UI goes here.

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.