Giter VIP home page Giter VIP logo

requester-app's People

Contributors

kieranoreilly avatar sslava avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

requester-app's Issues

Some modules state doesn't change on task form.

Some modules in the task form page work when you click them example instructions or video multi select, while others dont like image tiles or rules. We should be consistent on their clickability.

bugfixes

  • payments - fix undefined
  • publish - confirmed email condition

Data upload - remove type

I think we should remove the type from the data upload for now because we would have to handle bool, do validation on them and get the type from the backend. We can re-add at a later date

Dropdown + button adds to wrong spot

In the dropdown + it adds options to the 'content' selector, but it should add to the 'options' selector.
Example:

{"modules": [{"name": "richText-5673", "type": "richText", "content": "<h1 class=\"align-center\"><u><strong>Task</strong></u></h1>\n<p class=\"align-center\"><br></p>\n<h2>Step 1: Download this App for Iphone or Android at&nbsp;https://theq.live</h2>\n<p><br></p>\n<h2>Step 2: Rate the app 5 stars and write a positive review</h2>\n<h2><br></h2>\n<h2>Step 3: Enter your username you used to rate, and whice device you used</h2>"}, {"name": "input-9543", "type": "input", "label": "Username:", "initial": "", "validation": {"isRequired": true}, "placeholder": "Enter Username"}, {"name": "dropdown-57b5", "type": "dropdown", "content": ["Iphone", "Android"], "options": ["Option 1", "Option 2", "Option 3", "Option 4"], "validation": {"isRequired": true}, "placeholder": "Select one"}, {"name": "submit", "type": "submit", "caption": "Submit", "justify": "center"}]}

wizard: back/next actions styles

need to fix back/next actions positioning
I think it should always be located on bottom right corner.
Also need to fix resize behavior on template list page

form editor: form validation

form should be validated before save

  • all required params for all modules are set
  • submit button is presented
  • all required props are set. name is uniq

Crashing when navigating in requester portal

Uncaught Error: Cannot have two HTML5 backends at the same time.
    at HTML5Backend.setup (webpack-internal:///../node_modules/react-dnd-html5-backend/lib/HTML5Backend.js:297)
    at DragDropManagerImpl.handleRefCountChange (webpack-internal:///../node_modules/dnd-core/lib/DragDropManagerImpl.js:30)
    at Object.dispatch (webpack-internal:///../node_modules/redux/es/redux.js:222)
    at HandlerRegistryImpl.addTarget (webpack-internal:///../node_modules/dnd-core/lib/HandlerRegistryImpl.js:62)
    at registerTarget (webpack-internal:///../node_modules/react-dnd/lib/registerTarget.js:5)
    at ProxyComponent.DragDropContainer.receiveType (webpack-internal:///../node_modules/react-dnd/lib/decorateHandler.js:104)
    at ProxyComponent.eval (webpack-internal:///../node_modules/react-hot-loader/dist/react-hot-loader.development.js:587)
    at ProxyComponent.DragDropContainer.receiveProps (webpack-internal:///../node_modules/react-dnd/lib/decorateHandler.js:94)
    at ProxyComponent.eval (webpack-internal:///../node_modules/react-hot-loader/dist/react-hot-loader.development.js:587)
    at ProxyComponent.DragDropContainer.componentDidMount (webpack-internal:///../node_modules/react-dnd/lib/decorateHandler.js:76)
webpack-internal:///../node_modules/react-dom/cjs/react-dom.development.js:15749 The above error occurred in the <DropTarget(DragSource(Step))> component:
    in DropTarget(DragSource(Step)) (created by StepsForm)
    in div (created by StepsForm)
    in div (created by StepsForm)
    in StepsForm (created by Steps)
    in Steps (created by Context.Consumer)
    in Connect(Steps) (created by CreateTask)
    in div (created by CreateTask)
    in div (created by CreateTask)
    in form (created by Form)
    in Form (created by CreateTask)
    in CreateTask (created by DraftWizard)
    in div (created by DraftWizard)
    in LoadIndicator (created by DraftWizard)
    in div (created by Content)
    in div (created by Content)
    in DocumentTitle (created by SideEffect(DocumentTitle))
    in SideEffect(DocumentTitle) (created by Content)
    in Content (created by DraftWizard)
    in Component (created by DraftWizard)
    in DraftWizard (created by Draft)
    in Draft (created by Context.Consumer)
    in Connect(Draft) (created by AuthWrapper)
    in AuthWrapper (created by Context.Consumer)
    in Connect(AuthWrapper) (created by Route)
    in Route (created by withRouter(Connect(AuthWrapper)))
    in withRouter(Connect(AuthWrapper)) (created by Route)
    in Route (created by App)
    in Switch (created by App)
    in Router (created by BrowserRouter)
    in BrowserRouter (created by App)
    in Provider (created by App)
    in ServiceProvider (created by App)
    in App (created by HotExportedApp)
    in AppContainer (created by HotExportedApp)
    in HotExportedApp

React will try to recreate this component tree from scratch using the error boundary you provided, AppContainer.
logCapturedError @ webpack-internal:///../node_modules/react-dom/cjs/react-dom.development.js:15749
webpack-internal:///../node_modules/react-hot-loader/dist/react-hot-loader.development.js:188 Error: A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://fb.me/react-crossorigin-error for more information.
    at Object.invokeGuardedCallbackDev (webpack-internal:///../node_modules/react-dom/cjs/react-dom.development.js:210)
    at invokeGuardedCallback (webpack-internal:///../node_modules/react-dom/cjs/react-dom.development.js:256)
    at commitRoot (webpack-internal:///../node_modules/react-dom/cjs/react-dom.development.js:17458)
    at completeRoot (webpack-internal:///../node_modules/react-dom/cjs/react-dom.development.js:18912)
    at performWorkOnRoot (webpack-internal:///../node_modules/react-dom/cjs/react-dom.development.js:18841)
    at performWork (webpack-internal:///../node_modules/react-dom/cjs/react-dom.development.js:18749)
    at performSyncWork (webpack-internal:///../node_modules/react-dom/cjs/react-dom.development.js:18723)
    at interactiveUpdates$1 (webpack-internal:///../node_modules/react-dom/cjs/react-dom.development.js:18992)
    at interactiveUpdates (webpack-internal:///../node_modules/react-dom/cjs/react-dom.development.js:2169)
    at dispatchInteractiveEvent (webpack-internal:///../node_modules/react-dom/cjs/react-dom.development.js:4876)

When I run yarn run local-mocks and add an onboarding screen it takes me back to 'Upload data' screen. If I then click the task form, save, and click the task form again the application crashes

Onboarding: Success message

We need to make the success / failure message of onboarding optional / customizable. Potentially it should be its own screen that could be deleted.

deposit/withdraw

extract from frontend and reuse deposit/withdraw functionality

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.