Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: update starter projects to newest version of Components #4565

Merged
merged 10 commits into from
Nov 13, 2024

Conversation

ogabrielluiz
Copy link
Contributor

@ogabrielluiz ogabrielluiz commented Nov 13, 2024

This pull request includes cjanges in the src/backend/base/langflow/initial_setup/starter_projects directory. The most significant change is the renaming of the MemoryComponent class to Message History.

  • Renamed the MemoryComponent class to Message History.

@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Nov 13, 2024
@github-actions github-actions bot added refactor Maintenance tasks and housekeeping and removed refactor Maintenance tasks and housekeeping labels Nov 13, 2024
Copy link

codspeed-hq bot commented Nov 13, 2024

CodSpeed Performance Report

Merging #4565 will degrade performances by 37.63%

Comparing update-starter-templates (cb583a5) with main (5bb588c)

Summary

⚡ 2 improvements
❌ 1 regressions
✅ 12 untouched benchmarks

⚠️ Please fix the performance issues or acknowledge them on CodSpeed.

Benchmarks breakdown

Benchmark main update-starter-templates Change
test_successful_run_with_input_type_any 204.9 ms 127.3 ms +60.99%
test_successful_run_with_output_type_any 203.4 ms 126.9 ms +60.31%
test_successful_run_with_output_type_debug 127.9 ms 205.1 ms -37.63%

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Nov 13, 2024
@ogabrielluiz ogabrielluiz merged commit 151c369 into main Nov 13, 2024
34 of 35 checks passed
@ogabrielluiz ogabrielluiz deleted the update-starter-templates branch November 13, 2024 13:35
deon-sanchez added a commit that referenced this pull request Nov 13, 2024
- Refactor AccountMenu component to improve readability and simplify logic
- Update Select component to add support for direction prop and display ChevronUp icon when direction is set to "up"

Related work items: #4569, #4565
ogabrielluiz pushed a commit that referenced this pull request Nov 13, 2024
- Refactor AccountMenu component to improve readability and simplify logic
- Update Select component to add support for direction prop and display ChevronUp icon when direction is set to "up"

Related work items: #4569, #4565
ogabrielluiz pushed a commit that referenced this pull request Nov 13, 2024
- Refactor AccountMenu component to improve readability and simplify logic
- Update Select component to add support for direction prop and display ChevronUp icon when direction is set to "up"

Related work items: #4569, #4565
ogabrielluiz pushed a commit that referenced this pull request Nov 13, 2024
* refactor: Update AccountMenu and Select components

- Refactor AccountMenu component to improve readability and simplify logic
- Update Select component to add support for direction prop and display ChevronUp icon when direction is set to "up"

Related work items: #4569, #4565

* refactor: Update header component UI

This commit refactors the header component in the MainPage to update its UI. It adds a sliding indicator for the view type (list or grid) and adjusts the styling of the buttons accordingly. It also removes commented out code related to the store button. Additionally, the commit updates the emptyFolder component by simplifying the text for the "New Flow" button.

Refactor the header component UI and update emptyFolder component

* refactor: Update HeaderMenu component UI

* Updated colors to use shadcn variables

---------

Co-authored-by: Lucas Oliveira <[email protected]>
diogocabral pushed a commit to headlinevc/langflow that referenced this pull request Nov 26, 2024
…ngflow-ai#4565)

* refactor: update MemoryComponent display name and improve description

* Refactor `update_build_config` method to enhance provider-specific configuration handling in `Instagram Copywriter.json`

* Refactor `update_build_config` method to support provider-specific updates in `Market Research.json`

* Update `MemoryComponent` display name to "Message History" in starter template JSON

* Refactor `update_build_config` method to support component-specific updates in `Research Agent.json`

* Refactor `update_build_config` method to enhance provider-specific configuration handling in `SaaS Pricing.json`

* Refactor import path for MemoryComponent in starter project JSON files

* Update starter templates with enhanced build config logic and improved Yahoo Finance tool description

* Update import path for MemoryComponent in Travel Planning Agents template

* Update `update_build_config` method to call provider-specific `update_build_config` methods if available
diogocabral pushed a commit to headlinevc/langflow that referenced this pull request Nov 26, 2024
* refactor: Update AccountMenu and Select components

- Refactor AccountMenu component to improve readability and simplify logic
- Update Select component to add support for direction prop and display ChevronUp icon when direction is set to "up"

Related work items: langflow-ai#4569, langflow-ai#4565

* refactor: Update header component UI

This commit refactors the header component in the MainPage to update its UI. It adds a sliding indicator for the view type (list or grid) and adjusts the styling of the buttons accordingly. It also removes commented out code related to the store button. Additionally, the commit updates the emptyFolder component by simplifying the text for the "New Flow" button.

Refactor the header component UI and update emptyFolder component

* refactor: Update HeaderMenu component UI

* Updated colors to use shadcn variables

---------

Co-authored-by: Lucas Oliveira <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm This PR has been approved by a maintainer refactor Maintenance tasks and housekeeping size:M This PR changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants