Skip to content

Remove tracing toggle button in HTTP resource flow diagram view#1524

Merged
kanushka merged 1 commit intowso2:release/bi-1.8.xfrom
dan-niles:remove-tracing-button-in-http
Feb 20, 2026
Merged

Remove tracing toggle button in HTTP resource flow diagram view#1524
kanushka merged 1 commit intowso2:release/bi-1.8.xfrom
dan-niles:remove-tracing-button-in-http

Conversation

@dan-niles
Copy link
Copy Markdown
Contributor

@dan-niles dan-niles commented Feb 20, 2026

$subject

Summary by CodeRabbit

  • Bug Fixes
    • Removed the Tracing toggle from HTTP resources in the diagram view. The tracing control is no longer available in the action menu for HTTP service resources, simplifying the available options in this scenario.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Feb 20, 2026

No actionable comments were generated in the recent review. 🎉


📝 Walkthrough

Walkthrough

The tracingButton UI control is removed from the HTTP resource actions in DiagramWrapper. This eliminates the Tracing toggle from the rendered action controls when handling HTTP resource types in the diagram view.

Changes

Cohort / File(s) Summary
UI Control Removal
workspaces/ballerina/ballerina-visualizer/src/views/BI/DiagramWrapper/index.tsx
Removed tracingButton from the getActions conditional block for HTTP resources (isResource && serviceType === "http"), reducing available action controls in that scenario.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

A button tracing dust did fall,
From HTTP's control hall,
The rabbit hops with lighter view,
One less toggle, cleaner too! 🐰✨

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The pull request description is minimal and does not follow the repository's required template structure with sections like Purpose, Goals, Approach, UI Components, and other required documentation. Provide a complete description following the template, including Purpose (with issue links), Goals, Approach, and relevant sections like Release note, Documentation, and Testing details.
✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately and concisely describes the main change: removing the tracing toggle button from HTTP resource flow diagrams.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
  • 📝 Generate docstrings (stacked PR)
  • 📝 Generate docstrings (commit on current branch)
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@dan-niles dan-niles marked this pull request as ready for review February 20, 2026 09:46
@kanushka kanushka merged commit 12b7a43 into wso2:release/bi-1.8.x Feb 20, 2026
8 checks passed
@dan-niles dan-niles deleted the remove-tracing-button-in-http branch February 20, 2026 10:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants