Skip to content

fix(forms): change perf issue (skipped char on IE)#524

Merged
jsomsanith-tlnd merged 22 commits intomasterfrom
jlame/-ie-lost-char-in-form
Jun 13, 2017
Merged

fix(forms): change perf issue (skipped char on IE)#524
jsomsanith-tlnd merged 22 commits intomasterfrom
jlame/-ie-lost-char-in-form

Conversation

@jlame
Copy link
Copy Markdown
Contributor

@jlame jlame commented Jun 8, 2017

What is the problem this PR is trying to solve?
Performance issue with object and array field managing state
rjsf-team/react-jsonschema-form#339

What is the chosen solution to this problem?
Make them stateless, an easier solution would have been to upgrade react-jsonschema-form version, but the 0.43 which contains the rework brings some breaking changes. And in addition of that, we also have some custom code in those files.

Report rjsf-team/react-jsonschema-form#480 on our ObjectField and ArrayField.

Please check if the PR fulfills these requirements

  • The PR commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • Related design / discussions / pages (not in jira), if any, are all linked or available in the PR

[ ] This PR introduces a breaking change

@build-travis-ci
Copy link
Copy Markdown
Collaborator

:octocat: Demo is available here

@jlame
Copy link
Copy Markdown
Contributor Author

jlame commented Jun 9, 2017

This need to be tested on all app using form in order to make sure that's there's no regression.

@build-travis-ci
Copy link
Copy Markdown
Collaborator

:octocat: Demo is available here

@build-travis-ci
Copy link
Copy Markdown
Collaborator

:octocat: Demo is available here

@charlesnguyen charlesnguyen self-requested a review June 12, 2017 12:10
@build-travis-ci
Copy link
Copy Markdown
Collaborator

:octocat: Demo is available here

@build-travis-ci
Copy link
Copy Markdown
Collaborator

:octocat: Demo is available here

@jsomsanith-tlnd jsomsanith-tlnd changed the title fix(forms): skipped char in IE fix(forms): fix perf issue (skipped char on IE) Jun 12, 2017
@jsomsanith-tlnd jsomsanith-tlnd changed the title fix(forms): fix perf issue (skipped char on IE) fix(forms): change perf issue (skipped char on IE) Jun 12, 2017
@build-travis-ci
Copy link
Copy Markdown
Collaborator

:octocat: Demo is available here

Copy link
Copy Markdown
Contributor

@charlesnguyen charlesnguyen left a comment

Choose a reason for hiding this comment

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

il works better except from 'Large' case of the storybook example. It is very slow when typing. It seems to be known issues (https://jira.talendforge.org/browse/TDS-2211)

@jlame
Copy link
Copy Markdown
Contributor Author

jlame commented Jun 12, 2017

@charlesnguyen sorry charles, thought you were talking about performance issue on the list component which is related to the known issue TDS-2211 indeed.
For the list example in form, let me double check.

@jlame
Copy link
Copy Markdown
Contributor Author

jlame commented Jun 12, 2017

seems to work fine on dqsee.

@build-travis-ci
Copy link
Copy Markdown
Collaborator

:octocat: Demo is available here

@build-travis-ci
Copy link
Copy Markdown
Collaborator

:octocat: Demo is available here

@jsomsanith-tlnd jsomsanith-tlnd merged commit 6d12e36 into master Jun 13, 2017
@jsomsanith-tlnd jsomsanith-tlnd deleted the jlame/-ie-lost-char-in-form branch June 13, 2017 09:14
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.

7 participants