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

Line numbers on online validator #82

Open
johnmorrell opened this issue Jul 27, 2022 · 1 comment
Open

Line numbers on online validator #82

johnmorrell opened this issue Jul 27, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@johnmorrell
Copy link

When using the online validator (https://validator.fhir.org) it would be useful if line numbers were visible alongside the code (similar to a GitHub diff), so reported errors can easily be identified.

@dotasek dotasek added the enhancement New feature or request label Aug 4, 2022
@dotasek dotasek assigned dotasek and unassigned dotasek Aug 4, 2022
@dotasek
Copy link
Collaborator

dotasek commented Aug 4, 2022

This is a feature we've wanted to include for some time.

Line numbers are currently available when you use the Upload Resources tab, as a current workaround.

To implement this feature, the UI for the Enter Resource needs to be redesigned to work with Ace editor. Since Validation is too slow for 'live' editing, we'll need two modes: one for editing, and one for viewing validation results.

I was envisioning something similar to GitHub's Write / Preview tabs but am leery of nesting too many tabs in the UI, as we already have Enter Resource / Upload Resources

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants