Skip to content

Fix broken Teleterm stories#22657

Merged
gzdunek merged 2 commits intomasterfrom
gzdunek/fix-broken-teleterm-stories
Mar 6, 2023
Merged

Fix broken Teleterm stories#22657
gzdunek merged 2 commits intomasterfrom
gzdunek/fix-broken-teleterm-stories

Conversation

@gzdunek
Copy link
Copy Markdown
Contributor

@gzdunek gzdunek commented Mar 6, 2023

This PR has switched Teleterm's ThemeProvider to use the named export. Unfortunately, I missed the storybook config, so it stopped working.

@ravicious
Copy link
Copy Markdown
Member

We could probably refactor Storybook files to use TypeScript instead to avoid similar mistakes in the future.

https://stackoverflow.com/a/69040674/742872

@ravicious
Copy link
Copy Markdown
Member

However, the caveat here is that you cannot use {"target": "ESNext"} in your typical tsconfig.json because node doesn't support ES module natively, yet.

😖

@gzdunek
Copy link
Copy Markdown
Contributor Author

gzdunek commented Mar 6, 2023

We could probably refactor Storybook files to use TypeScript

I just tried it and it seems to work, I will play with later and create a separate PR.

@public-teleport-github-review-bot public-teleport-github-review-bot Bot removed the request for review from avatus March 6, 2023 11:28
@gzdunek gzdunek added this pull request to the merge queue Mar 6, 2023
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Mar 6, 2023
@gzdunek gzdunek added this pull request to the merge queue Mar 6, 2023
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Mar 6, 2023
@gzdunek gzdunek enabled auto-merge March 6, 2023 14:54
@gzdunek gzdunek added this pull request to the merge queue Mar 6, 2023
Merged via the queue into master with commit 793210e Mar 6, 2023
@public-teleport-github-review-bot
Copy link
Copy Markdown

@gzdunek See the table below for backport results.

Branch Result
branch/v12 Create PR

@gzdunek gzdunek deleted the gzdunek/fix-broken-teleterm-stories branch March 20, 2023 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants