Skip to content

fix: refactor bundle and component names#9140

Merged
lucaseduoli merged 40 commits into
mainfrom
fix/bundle_names
Jul 23, 2025
Merged

fix: refactor bundle and component names#9140
lucaseduoli merged 40 commits into
mainfrom
fix/bundle_names

Conversation

@lucaseduoli
Copy link
Copy Markdown
Collaborator

@lucaseduoli lucaseduoli commented Jul 22, 2025

This pull request introduces updates to improve component descriptions, align naming conventions, and enhance clarity in both backend and frontend code. Key changes include renaming and refining descriptions for AI/ML-related components, updating icon usage guidelines, and deprecating outdated components.

Backend Updates

AI/ML API Naming and Descriptions:

  • Updated references from "AIML" to "AI/ML API" in src/backend/base/langflow/base/models/aiml_constants.py and src/backend/base/langflow/components/aiml/aiml.py. This includes changes to error messages, display names, descriptions, and API key information for consistency. [1] [2] [3] [4]

Component Refinements:

  • Improved descriptions for Firecrawl components (FirecrawlCrawlApi, FirecrawlExtractApi, FirecrawlMapApi, and FirecrawlScrapeApi) to better explain their functionality. [1] [2] [3] [4]
  • Enhanced the GetEnvVar component by renaming it to "Get Environment Variable" and refining input/output display names for clarity.

Deprecation:

  • Marked the AstraVectorizeComponent as legacy, signaling its deprecation in favor of the Astra DB Component.

Frontend Updates

Icon Usage Guidelines:

  • Added detailed instructions in .cursor/rules/icons.mdc for creating and exporting React-based SVG icons, ensuring consistency in frontend icon implementation. [1] [2] [3]

Icon Updates:

  • Changed the icon for the GoogleGenerativeAIEmbeddingsComponent to "GoogleGenerativeAI" for better alignment with its purpose.

@lucaseduoli lucaseduoli self-assigned this Jul 22, 2025
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Jul 22, 2025

Important

Review skipped

Auto incremental reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Walkthrough

This update standardizes branding, naming, and formatting across documentation, backend component metadata, frontend constants, and starter project configurations. Changes include correcting spacing and capitalization for terms like "Hugging Face," "Astra DB," "TwelveLabs," "Yahoo! Finance," and "YouTube," as well as improving descriptions and display names for clarity and consistency. No functional or logic changes are introduced.

Changes

Files/Groups Change Summary
.cursor/rules/icons.mdc Improved documentation formatting and clarity; whitespace and comment adjustments.
docs/docs/... (Deployment, Integrations, Support, Templates) Documentation formatting, branding, and minor wording corrections; no logic changes.
src/backend/base/langflow/base/... (model_bridge.py, aiml_constants.py, groq_constants.py) Updated branding and error message strings for consistency; no logic changes.
src/backend/base/langflow/components/aiml/... Updated display names, descriptions, and info strings from "AIML" to "AI/ML API".
src/backend/base/langflow/components/anthropic/anthropic.py Updated description; removed prefill input from AnthropicModelComponent.
src/backend/base/langflow/components/datastax/... Standardized "AstraDB" to "Astra DB" in docstrings, info, and display names; added legacy=True to one class.
src/backend/base/langflow/components/firecrawl/... Updated component display names and descriptions for consistency and clarity.
src/backend/base/langflow/components/google/google_generative_ai_embeddings.py Changed icon attribute value for branding consistency.
src/backend/base/langflow/components/homeassistant/list_home_assistant_states.py Corrected display name spacing.
src/backend/base/langflow/components/huggingface/... Standardized "HuggingFace" to "Hugging Face" in display names and info strings.
src/backend/base/langflow/components/langchain_utilities/... Updated display names for clarity and consistency.
src/backend/base/langflow/components/maritalk/maritalk.py Changed branding from "Maritalk" to "MariTalk" in display names and info.
src/backend/base/langflow/components/scrapegraph/... Updated display names, descriptions, and documentation URLs for clarity and specificity.
src/backend/base/langflow/components/searchapi/search.py Updated display name and expanded description for SearchComponent.
src/backend/base/langflow/components/tools/yahoo_finance.py Updated branding to "Yahoo! Finance" in display name and descriptions.
src/backend/base/langflow/components/twelvelabs/... Standardized branding to "TwelveLabs" (no space) in display names, descriptions, and info strings.
src/backend/base/langflow/components/vectorstores/cassandra*.py Updated info strings to use "Astra DB" instead of "AstraDB".
src/backend/base/langflow/components/vertexai/vertexai_embeddings.py Added space in "Vertex AI" for display name and description.
src/backend/base/langflow/components/wolframalpha/wolfram_alpha_api.py Standardized "WolframAlpha" in docstrings.
src/backend/base/langflow/components/yahoosearch/yahoo.py Updated branding to "Yahoo! Finance" in display name and description.
src/backend/base/langflow/components/youtube/playlist.py Corrected capitalization in display name ("YouTube").
src/backend/base/langflow/initial_setup/starter_projects/... Reformatted arrays, corrected branding (e.g., "Yahoo! Finance", "YouTube"), and updated descriptions in JSON.
src/frontend/src/constants/constants.ts Corrected casing from "Youtube" to "YouTube" in sidebar folder names.
src/frontend/src/utils/styleUtils.ts Updated sidebar bundle display names for consistency and branding.
src/frontend/tests/core/integrations/Youtube Analysis.spec.ts Corrected test suite and heading selector from "Youtube" to "YouTube".
src/backend/tests/unit/components/search/test_yfinance_tool.py Updated test assertion for display name to "Yahoo! Finance".

Sequence Diagram(s)

No sequence diagrams generated since all changes are related to naming, branding, formatting, and metadata without affecting control flow or introducing new features.

Estimated code review effort

1 (~8 minutes)

Possibly related PRs

Suggested labels

documentation, size:M, lgtm

Suggested reviewers

  • deon-sanchez
  • mendonk
  • Cristhianzl
✨ Finishing Touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch fix/bundle_names

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
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai generate unit tests to generate unit tests for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@github-actions github-actions Bot added the bug Something isn't working label Jul 22, 2025
@github-actions github-actions Bot added bug Something isn't working and removed bug Something isn't working labels Jul 22, 2025
Copy link
Copy Markdown
Collaborator

@aimurphy aimurphy left a comment

Choose a reason for hiding this comment

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

Approving from copy perspective.

@github-actions github-actions Bot added the lgtm This PR has been approved by a maintainer label Jul 23, 2025
@lucaseduoli lucaseduoli enabled auto-merge July 23, 2025 13:30
@github-actions github-actions Bot added bug Something isn't working and removed bug Something isn't working labels Jul 23, 2025
@github-actions github-actions Bot added bug Something isn't working and removed bug Something isn't working labels Jul 23, 2025
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jul 23, 2025

Frontend Unit Test Coverage Report

Coverage Summary

Lines Statements Branches Functions
Coverage: 82%
81.44% (373/458) 64.82% (223/344) 67.69% (44/65)

Unit Test Results

Tests Skipped Failures Errors Time
72 0 💤 0 ❌ 0 🔥 2.859s ⏱️

@codecov
Copy link
Copy Markdown

codecov Bot commented Jul 23, 2025

Codecov Report

Attention: Patch coverage is 73.62637% with 24 lines in your changes missing coverage. Please review.

Project coverage is 51.85%. Comparing base (31d37df) to head (59f6900).
Report is 4 commits behind head on main.

Files with missing lines Patch % Lines
...ngflow/components/serper/google_serper_api_core.py 50.00% 15 Missing ⚠️
...ackend/base/langflow/base/models/aiml_constants.py 0.00% 3 Missing ⚠️
...omponents/huggingface/huggingface_inference_api.py 50.00% 2 Missing ⚠️
...se/langflow/components/twelvelabs/pegasus_index.py 50.00% 2 Missing ⚠️
...end/base/langflow/base/huggingface/model_bridge.py 0.00% 1 Missing ⚠️
...ase/langflow/components/huggingface/huggingface.py 50.00% 1 Missing ⚠️

❌ Your project status has failed because the head coverage (51.85%) is below the target coverage (60.00%). You can increase the head coverage or adjust the target coverage.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #9140   +/-   ##
=======================================
  Coverage   51.85%   51.85%           
=======================================
  Files         632      633    +1     
  Lines       43365    43396   +31     
  Branches      125      125           
=======================================
+ Hits        22486    22505   +19     
- Misses      20829    20841   +12     
  Partials       50       50           
Flag Coverage Δ
backend 51.69% <73.62%> (+<0.01%) ⬆️
frontend 69.41% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
...ackend/base/langflow/base/models/groq_constants.py 100.00% <ø> (ø)
src/backend/base/langflow/components/aiml/aiml.py 44.18% <100.00%> (ø)
...d/base/langflow/components/aiml/aiml_embeddings.py 92.30% <100.00%> (ø)
...nd/base/langflow/components/anthropic/anthropic.py 32.95% <100.00%> (ø)
...se/langflow/components/datastax/astra_vectorize.py 72.72% <100.00%> (+1.29%) ⬆️
...d/base/langflow/components/datastax/astradb_cql.py 24.50% <ø> (ø)
.../base/langflow/components/datastax/astradb_tool.py 21.80% <ø> (ø)
...end/base/langflow/components/datastax/cassandra.py 34.48% <ø> (ø)
...end/base/langflow/components/datastax/getenvvar.py 75.00% <100.00%> (ø)
...ngflow/components/firecrawl/firecrawl_crawl_api.py 36.11% <100.00%> (ø)
... and 29 more

... and 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Copy Markdown
Collaborator

@mendonk mendonk left a comment

Choose a reason for hiding this comment

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

Approving docs changes.

@github-actions github-actions Bot added bug Something isn't working and removed bug Something isn't working labels Jul 23, 2025
@lucaseduoli lucaseduoli added this pull request to the merge queue Jul 23, 2025
Merged via the queue into main with commit 169b687 Jul 23, 2025
127 of 131 checks passed
@lucaseduoli lucaseduoli deleted the fix/bundle_names branch July 23, 2025 23:27
lucaseduoli added a commit that referenced this pull request Jul 24, 2025
* Changed Youtube to YouTube

* Updated AIML to AI/ML API

* Updated AI/ML Model name

* Changed Anthropic description

* updated arXiv name

* Set Astra Vectorize as legacy

* Updated get env var

* Updates firecrawl names

* Updated Icon for Google Gen AI embeddings

* Add Space on Home Assistant

* Updated Hugging Face name

* Updated Maritalk Name

* Updated Not Diamond name

* Updated ScrapeGraph names

* Changed SearchApi Name

* Changed TwelveLabs naming

* Updated AstraDB naming

* Updated VertexAI naming

* Updated Wolfram

* Updated Yahoo naming

* Updated Yahoo Finance name

* Updated Yahoo Finance

* [autofix.ci] apply automated fixes

* Update google serper bundle

* updated ai ml icon name

* Updated maritalk

* Changed ai ml api name

* removed openai from base url

* Revert components-bundles changes

* revert changes on components-vector-stores

* Revert changes on deployment-hugging-face-spaces

* Revert changes on integrations-nvidia-ingest

* Revert changes on release-notes

* Update changes on sequential agent

* [autofix.ci] apply automated fixes

* fixed filterSidebar test

* updated filter edge test

* updated shard 11 test with new sidebar names

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2getsandesh pushed a commit to 2getsandesh/langflow-IBM that referenced this pull request Aug 6, 2025
* Changed Youtube to YouTube

* Updated AIML to AI/ML API

* Updated AI/ML Model name

* Changed Anthropic description

* updated arXiv name

* Set Astra Vectorize as legacy

* Updated get env var

* Updates firecrawl names

* Updated Icon for Google Gen AI embeddings

* Add Space on Home Assistant

* Updated Hugging Face name

* Updated Maritalk Name

* Updated Not Diamond name

* Updated ScrapeGraph names

* Changed SearchApi Name

* Changed TwelveLabs naming

* Updated AstraDB naming

* Updated VertexAI naming

* Updated Wolfram

* Updated Yahoo naming

* Updated Yahoo Finance name

* Updated Yahoo Finance

* [autofix.ci] apply automated fixes

* Update google serper bundle

* updated ai ml icon name

* Updated maritalk

* Changed ai ml api name

* removed openai from base url

* Revert components-bundles changes

* revert changes on components-vector-stores

* Revert changes on deployment-hugging-face-spaces

* Revert changes on integrations-nvidia-ingest

* Revert changes on release-notes

* Update changes on sequential agent

* [autofix.ci] apply automated fixes

* fixed filterSidebar test

* updated filter edge test

* updated shard 11 test with new sidebar names

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working lgtm This PR has been approved by a maintainer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants