-
Notifications
You must be signed in to change notification settings - Fork 687
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
Better Configuration UX #342
Conversation
…aN RenderService values
8976055
to
c897f2f
Compare
419fcfb
to
a76e700
Compare
1cd0797
to
8b3c7d4
Compare
Interesting to note: typescript/eslint-plugin 2.5.0 is no longer available from npm and only available through yarn. |
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.
I'm curious to know the reasoning behind using an iframe rather than adding to the main page?
@@ -1,7 +1,7 @@ | |||
import _ from 'lodash'; | |||
|
|||
export function loadOptions(): object { | |||
const defaultOptions = { fontSize: 14 }; | |||
export function loadOptions(): any { |
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.
Why switch from object
to any
?
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.
I believe TS didn't like me indexing/using properties from type object, however changing it back to object now does not bring that error up. Will revert.
To have a hard boundary for CSS and JS since it's neither using SCSS nor bundled TS. |
I plan on embedding wetty in a project of mine and looked into changing the color theme. While the previous editor allowed changing the color theme, it was very clunky to use, needing to ready XTerm documentation to find property names and then painfully edit a tiny JSON window on my phone. I've replaced it with a simple field-value editor and copied over all of the options listed in XTerm's documentation. It looks like you have this project set up in a very specific way, so I've done my best to keep it isolated in the assets folder using vanilla HTML, CSS, and JS.