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

Fix write config feedback and validation #303

Merged
merged 3 commits into from
Sep 2, 2020

Conversation

srggrs
Copy link
Contributor

@srggrs srggrs commented Sep 1, 2020

Fix #273 feedback on writing pipeline run config to file and small bug. Implementation of PrismJS seems not working great (at least I didn't managed to make that works nice) close #292

@srggrs srggrs requested a review from ajstewart September 1, 2020 10:14
@ajstewart
Copy link
Contributor

Implementation of PrismJS seems not working great (at least I didn't managed to make that works nice)

What is meant by this bit?

@srggrs
Copy link
Contributor Author

srggrs commented Sep 1, 2020

Implementation of PrismJS seems not working great (at least I didn't managed to make that works nice)

What is meant by this bit?

I tried to implement it but is a bit buggy to use with the toggle on/off and when you type, the line numbers are completely messed up

@ajstewart
Copy link
Contributor

Implementation of PrismJS seems not working great (at least I didn't managed to make that works nice)

What is meant by this bit?

I tried to implement it but is a bit buggy to use with the toggle on/off and when you type, the line numbers are completely messed up

Is this still better than what we already have? At the moment we don't have feedback right, but does everything else work ok (I think I remember Daniele pointing out an issue)? I'm just trying to gain what this PR achieves apart from the feedback - and whether gaining the feedback is at the detriment of the functionality.

@srggrs
Copy link
Contributor Author

srggrs commented Sep 2, 2020

Is this still better than what we already have? At the moment we don't have feedback right, but does everything else work ok (I think I remember Daniele pointing out an issue)? I'm just trying to gain what this PR achieves apart from the feedback - and whether gaining the feedback is at the detriment of the functionality.

this PR leave the functionality as it was, just add feedback on the config writing and fix a small bug on the new sources nr displayed on the run detail page. Daniele issue was that it did write a wrong config as he missed a bracket, but the Python syntax error was not very helpful in point that out, though by looking at it I can immediately see that a bracket was missing (see pic below: missing closing bracket on SELAVY list). In conclusion this does not remove functionality at all.
image

@ajstewart
Copy link
Contributor

Ah ok so the PrismJS Live is being closed as you couldn't get it working correctly and is not implemented?

@srggrs
Copy link
Contributor Author

srggrs commented Sep 2, 2020

Ah ok so the PrismJS Live is being closed as you couldn't get it working correctly and is not implemented?

yes, and it should eventually be given another try in the future

@srggrs srggrs merged commit 4422713 into master Sep 2, 2020
@srggrs srggrs deleted the fix-write-config-feedback-and-validation branch September 2, 2020 08:38
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.

Improve run config editor with PrismJS Live Missing feedback on writing the config file in Run detail page
2 participants