Skip to content

fix: enable blocklist markdown table rendering by default#10683

Merged
zachlloyd merged 2 commits into
masterfrom
oz-agent/implement-issue-10680
May 28, 2026
Merged

fix: enable blocklist markdown table rendering by default#10683
zachlloyd merged 2 commits into
masterfrom
oz-agent/implement-issue-10680

Conversation

@oz-for-oss
Copy link
Copy Markdown
Contributor

@oz-for-oss oz-for-oss Bot commented May 11, 2026

Description

Enable blocklist_markdown_table_rendering in the app's default feature set so Stable builds use the structured WarpUI renderer for Markdown tables in AI block-list responses.

This removes FeatureFlag::BlocklistMarkdownTableRendering from PREVIEW_FLAGS now that the Cargo feature is default-enabled. The runtime flag remains in place for now so rollback is still a one-line default-feature removal if needed.

Linked Issue

Closes #10680

  • The linked issue is labeled ready-to-spec or ready-to-implement.
  • Where appropriate, screenshots or a short video of the implementation are included below (especially for user-visible or UI changes).

Testing

  • cargo fmt --all --check
  • cargo check --manifest-path /workspace/warp/Cargo.toml -p warp_features
  • cargo check --manifest-path /workspace/warp/Cargo.toml -p warp --bin stable --features gui
  • cargo clippy --manifest-path /workspace/warp/Cargo.toml -p warp_features -- -D warnings
  • cargo clippy --manifest-path /workspace/warp/Cargo.toml -p warp --bin stable --features gui -- -D warnings

No new automated tests were added because this is a feature promotion wiring change; the structured table parser/renderer behavior is covered by the existing implementation tests.

  • I have manually tested my changes locally with ./script/run

Screenshots / Videos

N/A — feature flag/default build wiring change only.

Agent Mode

  • Warp Agent Mode - This PR was created via Warp's AI Agent Mode

CHANGELOG-BUG-FIX: AI responses that contain Markdown tables now render as structured tables in Stable instead of monospaced pipe-table blocks.

Conversation: https://staging.warp.dev/conversation/4779e51d-33fd-4171-9481-b4b3e5612ddf
Run: https://oz.staging.warp.dev/runs/019e700f-c1eb-76c9-a179-d577563b8273
This PR was generated with Oz.

Co-Authored-By: Sathvik Vangavolu <113149539+vikvang@users.noreply.github.com>

Co-Authored-By: Oz <oz-agent@warp.dev>
@zachlloyd zachlloyd force-pushed the oz-agent/implement-issue-10680 branch from 2ee1140 to c86e9ea Compare May 28, 2026 20:38
@zachlloyd zachlloyd marked this pull request as ready for review May 28, 2026 20:39
@oz-for-oss
Copy link
Copy Markdown
Contributor Author

oz-for-oss Bot commented May 28, 2026

@zachlloyd

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

You can view the conversation on Warp.

I completed the review and no human review was requested for this pull request.

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 Author

@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 promotes block-list Markdown table rendering by enabling the Cargo feature in the default feature set and removing the corresponding runtime flag from Preview defaults. The wiring is consistent with the intended promotion, and I did not find security concerns in the changed lines.

Concerns

  • This is a user-facing rendering behavior change, but the PR does not include screenshots or a screen recording demonstrating the default/Stable table rendering end to end.

Verdict

Found: 0 critical, 1 important, 0 suggestions

Request changes

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

Powered by Oz

Comment thread app/Cargo.toml
"github_pr_prompt_chip",
"conversations_as_context",
"markdown_tables",
"blocklist_markdown_table_rendering",
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.

⚠️ [IMPORTANT] For this user-facing rendering change, please include screenshots or a screen recording demonstrating Markdown table rendering working end to end in the default/Stable configuration.

Comment thread crates/warp_features/src/lib.rs Outdated
FeatureFlag::BlocklistMarkdownTableRendering,
FeatureFlag::MarkdownTables,
];
pub const PREVIEW_FLAGS: &[FeatureFlag] = &[FeatureFlag::MarkdownTables];
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.

can remove MarkdownTables from here too, right? it's the line above the one you added in the default features list in app/Cargo.toml.

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.

@oz-agent can you make that change?

Copy link
Copy Markdown
Contributor Author

@oz-for-oss oz-for-oss Bot May 28, 2026

Choose a reason for hiding this comment

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

@zachlloyd

I ran into an unexpected error while working on this.

Powered by Oz

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.

did it manually

Co-Authored-By: Oz <oz-agent@warp.dev>
@zachlloyd zachlloyd enabled auto-merge (squash) May 28, 2026 22:11
@zachlloyd zachlloyd merged commit 2330f8e into master May 28, 2026
26 checks passed
@zachlloyd zachlloyd deleted the oz-agent/implement-issue-10680 branch May 28, 2026 22:25
@zachlloyd zachlloyd requested a review from alokedesai May 29, 2026 00:37
@alokedesai
Copy link
Copy Markdown
Member

oh this wasn't on stable? I assumed we launched this a while ago lol

@zachlloyd
Copy link
Copy Markdown
Contributor

oh this wasn't on stable? I assumed we launched this a while ago lol

that makes two of us lol. my bad

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.

Markdown rendering not working on Windows 11

4 participants