-
Notifications
You must be signed in to change notification settings - Fork 5
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
Added themes to IsIdentifiableReviewer #797
Conversation
Looks good! If the default theme doesn't display properly on Guacamole, would it make sense to define base values for these in the services yaml, so that users can always see correct colours by default but override with their own theme if they choose? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add a short test for the TerminalGuiTheme deserialization from yaml?
I think it's more complicated than that sadly. The colors worked fine with 1.0.0 of Terminal.Gui but there seems to be an issue since 1.1.1 with Guacamole only. I know there was work done in the Terminal.Gui library on color handling in the NCurses driver. The colours still work fine with the NetDriver (although that has its own issues with Guacamole). Which you can access by using the flag This PR is just to give us more control within the environment on what colours to use so we can debug or tinker with what works without having to recompile. Especially with regressions if a subsequent update to the library introduces new issues or there are changes to Guacamole. I agree we should add this to the yaml file but I would do that later with a similar PR to #795 and do it for all the yaml settings in the reviewer at once (not just theme on it's own). More Info: When RDMP boots up in Guacamole it also had color issues (with 1.1.1 Terminal.Gui library) but changing to the green color scheme fixed the problem but it might be that the very act of creating a new |
Proposed Changes
Added option to specify a theme. Run with
--theme ./mytheme.yaml
Types of changes
What types of changes does your code introduce? Tick all that apply.
[skip ci]
Checklist
By opening this PR, I confirm that I have:
Issues
If relevant, tag any issues that are expected to be resolved with this PR. E.g.: