Skip to content

[feat] Add buildBidiComponentURL support on frontend#12746

Merged
sfc-gh-bnisco merged 1 commit intodevelopfrom
bnisco/ccv2-stack-21
Oct 24, 2025
Merged

[feat] Add buildBidiComponentURL support on frontend#12746
sfc-gh-bnisco merged 1 commit intodevelopfrom
bnisco/ccv2-stack-21

Conversation

@sfc-gh-bnisco
Copy link
Copy Markdown
Collaborator

@sfc-gh-bnisco sfc-gh-bnisco commented Oct 10, 2025

Describe your changes

Added FE support for CCv2 components by implementing a new buildBidiComponentURL method in the StreamlitEndpoints interface. This method constructs URLs for fetching data from bidirectional components using the /_stcore/bidi-components endpoint base.

The implementation includes:

  • Adding the method to the StreamlitEndpoints interface
  • Implementing the method in DefaultStreamlitEndpoints
  • Adding a corresponding method in ComponentRegistry
  • Updating mock implementations in test files

GitHub Issue Link (if applicable)

Testing Plan

  • The changes are primarily interface additions with straightforward implementations
  • Updated existing test files to include the new method
  • The implementation follows the same pattern as the existing buildComponentURL method

Contribution License Agreement

By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.

@snyk-io
Copy link
Copy Markdown
Contributor

snyk-io bot commented Oct 10, 2025

Snyk checks have passed. No issues have been found so far.

Status Scanner Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Oct 10, 2025

✅ PR preview is ready!

Name Link
📦 Wheel file https://core-previews.s3-us-west-2.amazonaws.com/pr-12746/streamlit-1.50.0-py3-none-any.whl
📦 @streamlit/component-v2-lib Download from artifacts
🕹️ Preview app pr-12746.streamlit.app (☁️ Deploy here if not accessible)

Copy link
Copy Markdown
Collaborator Author

sfc-gh-bnisco commented Oct 10, 2025

This stack of pull requests is managed by Graphite. Learn more about stacking.

@sfc-gh-bnisco sfc-gh-bnisco force-pushed the bnisco/ccv2-stack-20 branch 2 times, most recently from 3c2942d to 437c691 Compare October 24, 2025 15:35
@sfc-gh-bnisco sfc-gh-bnisco force-pushed the bnisco/ccv2-stack-21 branch 2 times, most recently from 29d8923 to 54e10e1 Compare October 24, 2025 16:22
@sfc-gh-bnisco sfc-gh-bnisco force-pushed the bnisco/ccv2-stack-20 branch 2 times, most recently from 34e9038 to bcf6fb8 Compare October 24, 2025 16:51
@sfc-gh-bnisco sfc-gh-bnisco force-pushed the bnisco/ccv2-stack-20 branch 2 times, most recently from 0e3fc69 to a050d2a Compare October 24, 2025 18:38
@sfc-gh-bnisco sfc-gh-bnisco changed the base branch from bnisco/ccv2-stack-20 to graphite-base/12746 October 24, 2025 19:05
@graphite-app graphite-app bot changed the base branch from graphite-base/12746 to develop October 24, 2025 19:06
@sfc-gh-bnisco sfc-gh-bnisco merged commit aab271f into develop Oct 24, 2025
37 checks passed
@sfc-gh-bnisco sfc-gh-bnisco deleted the bnisco/ccv2-stack-21 branch October 24, 2025 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

change:feature PR contains new feature or enhancement implementation impact:internal PR changes only affect internal code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants