Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new Zukunftsanalyse-Form #18

Closed
14 tasks done
vaupunkt opened this issue Jul 10, 2023 · 1 comment · Fixed by #34
Closed
14 tasks done

new Zukunftsanalyse-Form #18

vaupunkt opened this issue Jul 10, 2023 · 1 comment · Fixed by #34

Comments

@vaupunkt
Copy link
Owner

vaupunkt commented Jul 10, 2023

New Zukunftsanalyse-Form

Value proposition

As an User
I want to click on "Zukunftsanalyse"
So that I can start filling out everything for a new Zukunftsanalyse/FutureAnalysis

Description

Image

Acceptance criteria

  • have the fields to be required so i can not submit an empty form
  • take at least 1 interpretation
  • have a max. amount of symbols on the input fields
  • have the max. amount set to 500 for tall fields and to 200 for shorter inputs
  • on submit save the files to an array "entries" with an unique id and the type="FutureAnalysis"
  • redirect the user after the click to the page with the entry

Tasks

  • create the if-case to render the form by click on the radio-button "zukunftsanalyse"
  • render the form for the zukunftsanalyse by using descriptions and headlines according to the analysis-type
  • create input-fields and give them the prop long or short
  • give the long-input-fields the maxlength 500
  • give the short-input-fields the maxlength 200
  • create a submit-function
  • add the data to allEntries with destructuring and setAllEntries
  • redirect in the submit-function to the entry-page by using the [id].js-dynamic-route
@Dariastep
Copy link

SAme here, very detailed and good US!😀

@vaupunkt vaupunkt linked a pull request Jul 17, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants