Git Product home page Git Product logo

dorf's People

Contributors

arbizen avatar colenh avatar matheins avatar shaikrehan123 avatar sohaibman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

dorf's Issues

bug: updating a fields type is not working

Provide environment information

System:
OS: macOS 13.3
CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
Memory: 1.14 GB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 19.8.1 - ~/.nvm/versions/node/v19.8.1/bin/node
npm: 9.5.1 - ~/.nvm/versions/node/v19.8.1/bin/npm

Describe the bug

You cannot submit the form when updating a field. It seems as the form is not valid for some reason.

Video:
https://twitter.com/i/status/1673347480744779778

Link to reproduction

https://github.com/matheins/Dorf

To reproduce

  1. Create a form field
  2. Try to update it

Additional information

No response

feat: conditional field

Describe the feature you'd like to request

It would be nice to have a feature that allows you to add conditions to the field whether it should be visible or not.

Describe the solution you'd like to see

For example, field_2 is visible when field_1 value (is|less than|more than|...).

Additional information

No response

oauth callback handler error

When I try to configure it locally, generates this error. How to fix it? I just tried to log in by using GitHub.

[next-auth][error][adapter_error_getUserByAccount] 
https://next-auth.js.org/errors#adapter_error_getuserbyaccount fetch failed {
  message: 'fetch failed',
  stack: 'TypeError: fetch failed\n' +
    '    at Object.fetch (node:internal/deps/undici/undici:11576:11)\n' +
    '    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n' +       
    '    at async postJSON (file:///D:/mypractice/form/Dorf/node_modules/.pnpm/@[email protected]/node_modules/@planetscale/database/dist/index.js:115:22)\n' +
    '    at async Connection.execute (file:///D:/mypractice/form/Dorf/node_modules/.pnpm/@[email protected]/node_modules/@planetscale/database/dist/index.js:75:23)\n' +
    '    at async PlanetScalePreparedQuery.execute (D:\\mypractice\\form\\Dorf\\node_modules\\.pnpm\\[email protected]_@[email protected]\\node_modules\\drizzle-orm\\planetscale-serverless\\index.cjs:27:26)\n' +
    '    at async getUserByAccount (webpack-internal:///(api)/./src/lib/db/lib/drizzle-adapter.ts:68:31)',
  name: 'TypeError'
}
[next-auth][error][OAUTH_CALLBACK_HANDLER_ERROR] 
https://next-auth.js.org/errors#oauth_callback_handler_error fetch failed TypeError: fetch failed 
    at Object.fetch (node:internal/deps/undici/undici:11576:11)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async postJSON (file:///D:/mypractice/form/Dorf/node_modules/.pnpm/@[email protected]/node_modules/@planetscale/database/dist/index.js:115:22)
    at async Connection.execute (file:///D:/mypractice/form/Dorf/node_modules/.pnpm/@[email protected]/node_modules/@planetscale/database/dist/index.js:75:23)
    at async PlanetScalePreparedQuery.execute (D:\mypractice\form\Dorf\node_modules\.pnpm\[email protected]_@[email protected]\node_modules\drizzle-orm\planetscale-serverless\index.cjs:27:26)
    at async getUserByAccount (webpack-internal:///(api)/./src/lib/db/lib/drizzle-adapter.ts:68:31) {
  name: 'GetUserByAccountError',
  code: undefined
}

Viewer concerns after testing demoform.

Hi! Thanks for opensourcing your project! I'll keep this short, here are my concerns:

  • Doubleclick needed to select an option from a select dialog on phone (tested Firefox for Android), this likely has to do with the rendering
  • Additionally the email field in the demo form is marked as optional but is however required. Please make it actually optional.

Thanks for your time,
Jonte

feat: fullscreen form template

Describe the feature you'd like to request

Creators want to choose between the (current) standard form layout or the typical "Typeform" layout where you get one question per page.

Describe the solution you'd like to see

Add option for the forms template.
When choosing the fullscreen option, the user should get one question per page. There are back and forward buttons to paginate. Also we need an optional progress indicator.

Additional information

No response

bug: Warning: React does not recognize the `userId` prop on a DOM element

Provide environment information

Warning: React does not recognize the userId prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase userid instead. If you accidentally passed it from a parent component, remove it from the DOM element.

Describe the bug

This is because of destructuring props that has a userID property and pass them to a button,which pass it down to the dom

Link to reproduction

No response

To reproduce

just run the app and go the dashboard

Additional information

I've fixed it , I'll Submit a PR for that

feat: file upload

Describe the feature you'd like to request

Add a field type wich allows the user to upload one or multiple files. The forms creator needs a way to see the submitted files. Upload should be limited to specific file types (images, docs, pdfs) and a max upload size (5mb).

Describe the solution you'd like to see

A new field type that displays a file picker.
The creator sees the files as a url in the submission table.

Additional information

No response

feat: add the ability to edit basic form options

Describe the feature you'd like to request

We need a way to update the forms title, description and submit text after the form was created.

Describe the solution you'd like to see

Adding a card on the top position of the editor would be a good place to edit the title and the description. The submit button could be edited on the bottom of the editor.

Additional information

No response

feat: payment integration (stripe)

Describe the feature you'd like to request

Add a form field wich allows the user to submit payment details.
The creator should be able to setup stripe with his own api credentials.

Describe the solution you'd like to see

  1. Creator adds connects account
  2. Creator adds stripe field to form and defines price
  3. User fills out stripe payment element
  4. User confirms payment by submitting form

Additional information

  • Use stripe connect
  • Use stripe payment element

Stripe doc

feat: Add some missing steps in the documentation

Describe the feature you'd like to request

I'm new to this project and have followed the documented steps to run it. However, I've noticed a couple of crucial missing steps: migrating the database and installing the necessary dependencies

Describe the solution you'd like to see

just more steps in the docs, I'll submit a pr for that

Additional information

No response

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.