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

Form Builder/Form Runner development console #2169

Open
ebruchez opened this issue Apr 7, 2015 · 5 comments
Open

Form Builder/Form Runner development console #2169

ebruchez opened this issue Apr 7, 2015 · 5 comments

Comments

@ebruchez
Copy link
Collaborator

ebruchez commented Apr 7, 2015

When developing forms, it'd be great to have more visibility, for example on errors. Some errors happen as a matter of course, but some not.

Until Orbeon Forms 4.9, we used to show an error dialog in dev mode. But this is not ideal. Instead:

  • for errors, we should have a client-side console showing the errors
  • the console could also be used to log other useful information during development / testing
  • this should be independent of dev mode, maybe enabled directly from Form Builder

As a first approximation, a very simple console could be hooked up in the spot where we show the dynamic errors dialog.

See also #2161.

@bytesnz
Copy link

bytesnz commented Nov 14, 2016

Could you just use the javascript console and pipe errors to that?

@avernet
Copy link
Collaborator

avernet commented Nov 14, 2016

We were thinking of something slightly more high level, but I agree: doing something at the console level might be a first good step.

@ebruchez
Copy link
Collaborator Author

Either way a requirement is that the server should send to the client some of the information which otherwise goes to a log file on the server.

+1 for starting with something simple.

@ebruchez
Copy link
Collaborator Author

+1 from customer also to debug service calls/the send action. I added some doc about how to do it right now but it's not ideal.

@ebruchez ebruchez changed the title Development console for Form Builder/Form Runner/XForms Form Builder/Form Runner development console Jan 16, 2020
@ebruchez
Copy link
Collaborator Author

What the console should cover:

  • errors
  • logging/debugging actions
  • logging/debugging service calls
  • more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants