Skip to content

feat: support configurable web terminal rendering #10095

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

Merged
merged 5 commits into from
Oct 10, 2023
Merged

Conversation

sreya
Copy link
Collaborator

@sreya sreya commented Oct 6, 2023

  • Added a deployment option for configuring web terminal rendering. Valid values are 'webgl', 'canvas', and 'dom'.

fixes #10082

@sreya sreya requested a review from code-asher October 6, 2023 01:03
@sreya sreya force-pushed the jon/webglterminal branch 2 times, most recently from 14aae39 to b996c04 Compare October 6, 2023 02:24
Copy link
Member

@code-asher code-asher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried it out and it works perfectly. I think all we have to do is tweak the e2e test startup flags to use the dom renderer.

}>;

const TerminalPage: FC<TerminalPageProps> = ({ renderer }) => {
const TerminalPage: FC = () => {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we are getting a test failure because the test looks for HTML elements so it relies on the dom renderer being used (see webTerminal.spec.ts). Maybe we can start the e2e tests with dom set as the renderer? Looks like we would do that in playwright.config.ts if I understand correctly.

sreya added 4 commits October 10, 2023 17:57
- Added a deployment option for configuring web terminal rendering.
  Valid values are 'webgl', 'canvas', and 'dom'.
@sreya sreya force-pushed the jon/webglterminal branch from 0679c29 to 199bde3 Compare October 10, 2023 17:57
@sreya sreya merged commit 91555c3 into main Oct 10, 2023
@sreya sreya deleted the jon/webglterminal branch October 10, 2023 18:18
@github-actions github-actions bot locked and limited conversation to collaborators Oct 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

web terminal characters are not rendering in v2.1.5+
4 participants