Skip to content

simplified validation with filter#307

Merged
fdiblen merged 29 commits intomainfrom
165-new-validation-filter
Oct 27, 2021
Merged

simplified validation with filter#307
fdiblen merged 29 commits intomainfrom
165-new-validation-filter

Conversation

@fdiblen
Copy link
Copy Markdown
Member

@fdiblen fdiblen commented Oct 19, 2021

Pull request details

List of related issues or pull requests

  • Implements field level, object level and screen level validation for Start and Author screens
  • Adds a banner if there is an error on object level or screen level
  • Modifies color and the icon of stepper if there is an error
  • Filters out entity errors for authors screen
  • Changes state of the error model
  • Changes initialization of cff store
  • Add red border around author item when there is an error

Refs:

Describe the changes made in this pull request

Simplify validation implementation.

Instructions to review the pull request

See preview of the PR here: https://deploy-preview-307--cffinit.netlify.app/#/

@fdiblen fdiblen changed the title 165 new validation with filter new validation with filter Oct 19, 2021
@netlify
Copy link
Copy Markdown

netlify Bot commented Oct 20, 2021

✔️ Deploy Preview for cffinit ready!

🔨 Explore the source changes: 503f754

🔍 Inspect the deploy log: https://app.netlify.com/sites/cffinit/deploys/61794b55673bd4000700c851

😎 Browse the preview: https://deploy-preview-307--cffinit.netlify.app

@fdiblen fdiblen changed the title new validation with filter simplified validation with filter Oct 20, 2021
Comment thread src/components/AuthorCardEditing.vue Outdated
fdiblen and others added 10 commits October 20, 2021 15:24
Implement validation for start screen.
Clean up the validation on all screens except start screen.
replace keys with empty strings with undefined
state of the app and state of the generated cff are more similar
simplify deep-filter function by only filtering undefined objects/keys
implement validation for authors and start screens
fix the indexing problem for authors screen
add error message banner
change initial and reset states of cff object
Comment thread src/components/Stepper.vue Outdated
Show object level errors for each author
Add red border to AuthorCardEditing and AuthorCardViewing when there is an error
Add 'minItems' check to validator
Remove duplicate error messages
Hide error messages related to entity author entries
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants