surveyjs / survey-creator

Scalable open-source survey software to generate dynamic JSON-driven forms within your JavaScript application. The form builder features a drag-and-drop UI, CSS Theme Editor, and GUI for conditional logic and form branching.
https://surveyjs.io/open-source
Other
923 stars 377 forks source link

Add Errors section into JSON Editor tab #4313

Closed andrewtelnov closed 1 year ago

andrewtelnov commented 1 year ago

We need to show the list of errors similar to Error tabs in Code IDEs. There should be a fix button and ability to navigate to an error in text editor.

mikeamelin commented 1 year ago

Error panel design — https://www.figma.com/file/jcuAUsN02n2yJerx39mqf9/Previews?type=design&node-id=162-230729&mode=design

andrewtelnov commented 1 year ago

@dk981234 I have implemented the "survey-creator-core", "survey-creator-react" & "survey-creator-knockout", I have modified two functional tests in json.ts: "Check show/hide errors list visibility" & "Goto line from error". We need implementation in "survey-creator-angular" + design. We should not forget about removing old errors implementation in "survey-creator-core". I left this code for now, to make sure "survey-creator-angular" can be compiled.

Thank you, Andrew