Skip to content

Commit 017a0a4

Browse files
edwinjosechittilappillyitalojohnnyautofix-ci[bot]Cristhianzlmendonk
authored
feat: deprecate Parsing component and replace them in starter projects (#6697)
* fix: fixed the parser component * fix: fixed parser component test * fix: ruff error * chore: rename input * chore: remove beta attribute * update * updated template with legacy as true * updated templates * [autofix.ci] apply automated fixes * ✨ (freeze.spec.ts): add new test steps to check sidebar options and legacy switch functionality ✨ (similarity.spec.ts): add new test steps to check sidebar options and legacy switch functionality ✨ (loop-component.spec.ts): add new test steps to check sidebar options and legacy switch functionality, as well as zoom out and expand button modal functionality * remove-copy-numbers-from-template-titles * update-blog-writer-template-readme * update-document-qa-template-notes * update-market-research-template-notes * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes * ✨ (filterEdge-shard-0.spec.ts, freeze.spec.ts, Portfolio Website Code Generator.spec.ts, decisionFlow.spec.ts, similarity.spec.ts, generalBugs-shard-9.spec.ts, codeAreaModalComponent.spec.ts, fileUploadComponent.spec.ts, nestedComponent.spec.ts, filterEdge-shard-1.spec.ts, loop-component.spec.ts, generalBugs-shard-12.spec.ts, add-legacy-components.ts): add function to handle legacy components in tests for improved test readability and maintainability * remove duplicated graph rag template * update changes * update Templates with new parser component * [autofix.ci] apply automated fixes * fix: remove name attribute * fix: autofix.ci patch * ✨ (stop-building.spec.ts): add new function addLegacyComponents to include legacy components in the test scenario 🔧 (decisionFlow.spec.ts): increase timeout from 500ms to 2000ms for better stability and reliability in waiting for selectors to appear --------- Co-authored-by: italojohnny <[email protected]> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: cristhianzl <[email protected]> Co-authored-by: Mendon Kissling <[email protected]>
1 parent 85787cf commit 017a0a4

27 files changed

+4716
-4505
lines changed

src/backend/base/langflow/components/processing/parse_data.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ class ParseDataComponent(Component):
1010
description = "Convert Data objects into Messages using any {field_name} from input data."
1111
icon = "message-square"
1212
name = "ParseData"
13+
legacy = True
1314
metadata = {
1415
"legacy_name": "Parse Data",
1516
}

src/backend/base/langflow/components/processing/parse_dataframe.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ class ParseDataFrameComponent(Component):
1111
)
1212
icon = "braces"
1313
name = "ParseDataFrame"
14+
legacy = True
1415

1516
inputs = [
1617
DataFrameInput(name="df", display_name="DataFrame", info="The DataFrame to convert to text rows."),

src/backend/base/langflow/initial_setup/starter_projects/Blog Writer.json

Lines changed: 273 additions & 320 deletions
Large diffs are not rendered by default.

src/backend/base/langflow/initial_setup/starter_projects/Document Q&A.json

Lines changed: 412 additions & 304 deletions
Large diffs are not rendered by default.

src/backend/base/langflow/initial_setup/starter_projects/Financial Report Parser.json

Lines changed: 131 additions & 108 deletions
Large diffs are not rendered by default.

src/backend/base/langflow/initial_setup/starter_projects/Image Sentiment Analysis.json

Lines changed: 766 additions & 560 deletions
Large diffs are not rendered by default.

src/backend/base/langflow/initial_setup/starter_projects/LoopTemplate.json

Lines changed: 297 additions & 291 deletions
Large diffs are not rendered by default.

src/backend/base/langflow/initial_setup/starter_projects/Market Research.json

Lines changed: 368 additions & 380 deletions
Large diffs are not rendered by default.

src/backend/base/langflow/initial_setup/starter_projects/Meeting Summary.json

Lines changed: 340 additions & 333 deletions
Large diffs are not rendered by default.

src/backend/base/langflow/initial_setup/starter_projects/Portfolio Website Code Generator.json

Lines changed: 1259 additions & 1219 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)