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

feat: add new .env variable "LANGFLOW_FEATURE_MVP_COMPONENTS" to show/hide integration sidebar components #4270

Open
wants to merge 16 commits into
base: main
Choose a base branch
from

Commits on Oct 24, 2024

  1. ✨ (authContext.tsx): Add functionality to fetch global variables on a…

    …uthentication
    
    🔧 (api.tsx): Replace universal-cookie import with react-cookie for consistency
    🔧 (authStore.ts): Replace universal-cookie import with react-cookie for consistency
    🔧 (use-get-global-variables.ts): Add check to only fetch global variables if user is authenticated
    ✨ (use-get-mutation-global-variables.ts): Add mutation function to fetch and update global variables
    🔧 (authStore.ts): Replace universal-cookie import with react-cookie for consistency
    Cristhianzl committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    69dde9c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    02d028b View commit details
    Browse the repository at this point in the history
  3. 📝 (endpoints.py): add feature_flags field to ConfigResponse schema

    📝 (endpoints.py): modify get_config function to include feature_flags in the response
    📝 (feature_flags.py): add mvp_components field to FeatureFlags settings
    📝 (schemas.py): add feature_flags field to ConfigResponse schema
    Cristhianzl committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    08d40da View commit details
    Browse the repository at this point in the history
  4. ✨ (use-get-config.ts): Add feature_flags field to ConfigResponse inte…

    …rface to support feature flags in the application
    
    🔧 (utilityStore.ts): Add featureFlags field and setFeatureFlags function to utilityStore to manage feature flags in the application
    💡 (extraSidebarComponent/index.tsx): Use featureFlags from utilityStore to conditionally render components based on feature flags in ExtraSidebar component
    Cristhianzl committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    60e6faa View commit details
    Browse the repository at this point in the history
  5. ♻️ (frontend/package-lock.json): remove extraneous flag from is-unico…

    …de-supported package to clean up unnecessary information
    Cristhianzl committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    f08d45b View commit details
    Browse the repository at this point in the history
  6. ✨ (integration-side-bar.spec.ts): Add integration tests to ensure cor…

    …rect visibility of integrations in the sidebar based on the value of mvp_components.
    Cristhianzl committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    f55b0f7 View commit details
    Browse the repository at this point in the history
  7. ✨ (integration-side-bar.spec.ts): update integration-side-bar tests t…

    …o use feature_flags object for mvp_components flag for better readability and maintainability.
    Cristhianzl committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    d770a60 View commit details
    Browse the repository at this point in the history
  8. ✨ (integration-side-bar.spec.ts): add a 4-second delay before making …

    …the API call to improve test reliability
    Cristhianzl committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    fe3f4a8 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    9dfc5a8 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    fa4af83 View commit details
    Browse the repository at this point in the history
  11. Update src/backend/base/langflow/api/v1/schemas.py

    Co-authored-by: Gabriel Luiz Freitas Almeida <[email protected]>
    Cristhianzl and ogabrielluiz authored Oct 24, 2024
    Configuration menu
    Copy the full SHA
    4e14f44 View commit details
    Browse the repository at this point in the history
  12. Update src/backend/base/langflow/api/v1/endpoints.py

    Co-authored-by: Gabriel Luiz Freitas Almeida <[email protected]>
    Cristhianzl and ogabrielluiz authored Oct 24, 2024
    Configuration menu
    Copy the full SHA
    daf0336 View commit details
    Browse the repository at this point in the history
  13. formata

    Cristhianzl committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    7e9c42e View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    615732c View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    5a0cd92 View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2024

  1. Configuration menu
    Copy the full SHA
    a5e81b5 View commit details
    Browse the repository at this point in the history