Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: Syntax highlighting with long lines and untar content with emojis#5098

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
BrunoQuaresma merged 3 commits intomainfrombq/fix-syntax-highlight
Nov 15, 2022

Conversation

BrunoQuaresma
Copy link
Collaborator

Before:
Screen Shot 2022-11-15 at 16 27 03

Now:
Screen Shot 2022-11-15 at 16 26 38

Unfortunately there is a bug with "wrapping long lines" with thereact-syntax-highlither.react-syntax-highlighter/react-syntax-highlighter#483

@BrunoQuaresmaBrunoQuaresma requested a review froma team as acode ownerNovember 15, 2022 19:28
@BrunoQuaresmaBrunoQuaresma self-assigned thisNov 15, 2022
@BrunoQuaresmaBrunoQuaresma requested review frompresleyp and removed request fora teamNovember 15, 2022 19:28
@@ -38,10 +36,9 @@ const setup = async () => {
describe("TemplateVersionPage", () => {
beforeEach(setup)

it("shows the tf and md files only", () => {
it("shows files", () => {
expect(screen.queryByText(TERRAFORM_FILENAME)).toBeInTheDocument()
expect(screen.queryByText(README_FILENAME)).toBeInTheDocument()
Copy link
Member

Choose a reason for hiding this comment

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

Why did we end up changing this test?

Copy link
CollaboratorAuthor

Choose a reason for hiding this comment

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

Because now, the filtering happens inside of the "parsing" function. I made it to not have to parse 100 files to only get 2 of them after.

@BrunoQuaresmaBrunoQuaresmaenabled auto-merge (squash)November 15, 2022 20:05
@BrunoQuaresmaBrunoQuaresma merged commit2a46702 intomainNov 15, 2022
@BrunoQuaresmaBrunoQuaresma deleted the bq/fix-syntax-highlight branchNovember 15, 2022 20:09
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsNov 15, 2022
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@Kira-PilotKira-PilotKira-Pilot approved these changes

@bpmctbpmctbpmct approved these changes

@presleyppresleypAwaiting requested review from presleyppresleyp was automatically assigned from coder/ts

@kylecarbskylecarbsAwaiting requested review from kylecarbs

Assignees

@BrunoQuaresmaBrunoQuaresma

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@BrunoQuaresma@Kira-Pilot@bpmct

[8]ページ先頭

©2009-2025 Movatter.jp