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

Feature/add async validation and some improvements to xml upload #19

Merged
merged 15 commits into from
Jul 13, 2020

Conversation

otahontas
Copy link
Contributor

@otahontas otahontas commented Jul 13, 2020

Description

Adding some improvements to xml uploads.

Related issues

Fixes #16 #14

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Changes Made

  • Make form to validate file before submitting via backends /validate -endpoint
  • DIsable saving when there are errors in xml file
  • Add better error messages, unify all error messages to Formik stata
  • Notify user after 5 seconds, if saving to database takes time.
  • Some other small fixes

Testings

Tested manually, but needs unit tests and end-to-end tests at some point.

  • Needs testing (start an issue or do a follow up PR about it)

@otahontas otahontas changed the base branch from develop to master July 13, 2020 06:25
@otahontas otahontas changed the base branch from master to develop July 13, 2020 06:25
@otahontas otahontas requested a review from blankdots July 13, 2020 06:27
@otahontas otahontas self-assigned this Jul 13, 2020
Copy link
Contributor

@blankdots blankdots left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM and seems much nicer. Just one small note from my vs-code:
image
also there are some typescript imports ... are we going typescript ?

@otahontas
Copy link
Contributor Author

otahontas commented Jul 13, 2020

LGTM and seems much nicer. Just one small note from my vs-code:
image
also there are some typescript imports ... are we going typescript ?

Flow also supports interfaces. I believe that notification is caused by vscodes internal typescript checker.

Probably related: https://stackoverflow.com/questions/48859169/js-types-can-only-be-used-in-a-ts-file-visual-studio-code-using-ts-check

This approach still has some rough edges, adding issue about that.
@blankdots blankdots merged commit 8a3be04 into develop Jul 13, 2020
@blankdots blankdots deleted the feature/add-async-validation branch July 13, 2020 09:15
@otahontas otahontas mentioned this pull request Aug 13, 2020
5 tasks
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.

2 participants