Skip to content

Respect Markdown Viewer preference for Markdown file links#9483

Merged
kevinyang372 merged 4 commits into
warpdotdev:masterfrom
maro20066600:maro/fix-markdown-viewer-preference
May 14, 2026
Merged

Respect Markdown Viewer preference for Markdown file links#9483
kevinyang372 merged 4 commits into
warpdotdev:masterfrom
maro20066600:maro/fix-markdown-viewer-preference

Conversation

@maro20066600
Copy link
Copy Markdown
Contributor

cargo test -p warp --lib notebooks::link::tests::test_open_markdown_file --features local_fs --no-run

@cla-bot
Copy link
Copy Markdown

cla-bot Bot commented Apr 29, 2026

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have the users @maro20066600 on file. In order for us to review and merge your code, each contributor must visit https://cla.warp.dev to read and agree to our CLA. Once you have done so, please comment @cla-bot check to trigger another check.

@maro20066600
Copy link
Copy Markdown
Contributor Author

@cla-bot check

@cla-bot cla-bot Bot added the cla-signed label Apr 29, 2026
@cla-bot
Copy link
Copy Markdown

cla-bot Bot commented Apr 29, 2026

The cla-bot has been summoned, and re-checked this pull request!

@maro20066600
Copy link
Copy Markdown
Contributor Author

CLA is signed now. This is ready for CI approval when a maintainer has a chance.

Local note: I ran formatting successfully and attempted the targeted test build in Codespaces, but the environment terminated rustc with SIGTERM before completion. The regression test is included for CI validation.

@captainsafia captainsafia added the external-contributor Indicates that a PR has been opened by someone outside the Warp team. label Apr 30, 2026 — with Warp Dev Github Integration
@maro20066600 maro20066600 marked this pull request as ready for review May 10, 2026 21:00
@oz-for-oss
Copy link
Copy Markdown
Contributor

oz-for-oss Bot commented May 10, 2026

@maro20066600

I'm starting a first review of this pull request.

You can view the conversation on Warp.

I reviewed this pull request and requested human review from: @kevinyang372.

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

Copy link
Copy Markdown
Contributor

@oz-for-oss oz-for-oss Bot left a comment

Choose a reason for hiding this comment

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

Overview

This PR updates notebook Markdown file-link opening so the primary action respects the user's Markdown Viewer preference, falling back to the existing configured file target when the viewer is disabled. The tests initialize settings and cover both the default viewer-preferred path and the disabled-viewer path.

Concerns

  • No blocking correctness or security concerns found in the changed lines.

Verdict

Found: 0 critical, 0 important, 0 suggestions

Approve

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

@oz-for-oss oz-for-oss Bot requested a review from kevinyang372 May 10, 2026 21:03
Copy link
Copy Markdown
Member

@kevinyang372 kevinyang372 left a comment

Choose a reason for hiding this comment

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

Thanks for contributing!

@kevinyang372 kevinyang372 enabled auto-merge (squash) May 14, 2026 16:59
@kevinyang372
Copy link
Copy Markdown
Member

@maro20066600 Can you fix the CI error here?

auto-merge was automatically disabled May 14, 2026 18:06

Head branch was pushed to by a user without write access

@cla-bot
Copy link
Copy Markdown

cla-bot Bot commented May 14, 2026

Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: MARWAN.
This is most likely caused by a git client misconfiguration; please make sure to:

  1. check if your git client is configured with an email to sign commits git config --list | grep email
  2. If not, set it up using git config --global user.email email@example.com
  3. Make sure that the git commit email is configured in your GitHub account settings, see https://github.com/settings/emails

@cla-bot cla-bot Bot removed the cla-signed label May 14, 2026
@maro20066600 maro20066600 force-pushed the maro/fix-markdown-viewer-preference branch from e61d155 to 17d5a24 Compare May 14, 2026 18:08
@cla-bot cla-bot Bot added the cla-signed label May 14, 2026
@maro20066600
Copy link
Copy Markdown
Contributor Author

@kevinyang372

Thanks for the heads up. I pushed a follow-up fix for the wasm clippy issue.

I also fixed the commit author email so the CLA check should pass again once it re-runs. The workflows now appear to be awaiting maintainer approval.

@maro20066600
Copy link
Copy Markdown
Contributor Author

@cla-bot check

@cla-bot
Copy link
Copy Markdown

cla-bot Bot commented May 14, 2026

The cla-bot has been summoned, and re-checked this pull request!

@kevinyang372 kevinyang372 merged commit 8da83b4 into warpdotdev:master May 14, 2026
27 checks passed
@maro20066600 maro20066600 deleted the maro/fix-markdown-viewer-preference branch May 15, 2026 00:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed external-contributor Indicates that a PR has been opened by someone outside the Warp team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants