Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Codemirror blob: enable dy default#45514

Merged
taras-yemets merged 6 commits into
mainfrom
taras-yemets/enable-cm-blob-view-by-default
Feb 13, 2023
Merged

Codemirror blob: enable dy default#45514
taras-yemets merged 6 commits into
mainfrom
taras-yemets/enable-cm-blob-view-by-default

Conversation

@taras-yemets

@taras-yemets taras-yemets commented Dec 12, 2022

Copy link
Copy Markdown
Contributor

Enables CodeMirror blob view by default.

Test plan

CI passes

App preview:

Check out the client app preview documentation to learn more.

@cla-bot cla-bot Bot added the cla-signed label Dec 12, 2022
@taras-yemets taras-yemets marked this pull request as ready for review December 15, 2022 17:22
@taras-yemets taras-yemets requested a review from a team December 16, 2022 16:42
@taras-yemets taras-yemets removed the request for review from a team December 16, 2022 16:48
@taras-yemets taras-yemets reopened this Jan 3, 2023
@taras-yemets taras-yemets marked this pull request as draft January 3, 2023 16:01
@philipp-spiess

Copy link
Copy Markdown
Contributor

@taras-yemets What's the status on this PR?

@taras-yemets

Copy link
Copy Markdown
Contributor Author

@taras-yemets What's the status on this PR?

Now the CodeMirror blob view is enabled for Sourcegraph org users on dotcom. We are going to enable it by default in the next release if there are no outstanding blockers.
I'll audit the existing issues list and update the PR status.

@philipp-spiess

Copy link
Copy Markdown
Contributor

@taras-yemets Makes sense! I vividly remembered that we already shipped this so I got confused 😅

@philipp-spiess philipp-spiess left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Let's do this!

@taras-yemets taras-yemets marked this pull request as ready for review February 13, 2023 11:31
Comment on lines +47 to +53
...createViewerSettingsGraphQLOverride({
user: {
experimentalFeatures: {
enableCodeMirrorFileView: false,
},
},
}),

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

We should instead fix the tests to work with CodeMirror 😅

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

We have a similar test for the CodeMirror blob viewer.

@taras-yemets taras-yemets merged commit 7f3532c into main Feb 13, 2023
@taras-yemets taras-yemets deleted the taras-yemets/enable-cm-blob-view-by-default branch February 13, 2023 12:00
burmudar added a commit that referenced this pull request Feb 13, 2023
burmudar added a commit that referenced this pull request Feb 13, 2023
This reverts commit 7f3532c.

## Test plan
None - this is a revert
<!-- All pull requests REQUIRE a test plan:
https://docs.sourcegraph.com/dev/background-information/testing_principles
-->
taras-yemets added a commit that referenced this pull request Feb 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants