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(editor): Add workflow evaluation edit and list views (no-changelog) #11719

Open
wants to merge 23 commits into
base: master
Choose a base branch
from

Commits on Nov 12, 2024

  1. wip: DB migration

    burivuhster committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    75970bf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d2798f0 View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2024

  1. Setup routes

    OlegIvaniv committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    a271dc3 View commit details
    Browse the repository at this point in the history
  2. Finish edit UI

    OlegIvaniv committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    64cc052 View commit details
    Browse the repository at this point in the history
  3. Add test definitions API and store

    - Created evaluations API endpoints
    - Implemented evaluations store
    - Updated NewWorkflowEvaluationView
    - RenamedRun Test to Save Test
    OlegIvaniv committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    479456b View commit details
    Browse the repository at this point in the history
  4. Refactor maxWidth to CSS variable

    - Update GlobalExecutionsList.vue
    - Update PageViewLayout.vue
    - Define --content-container-width
    - Update ProjectSettings.vue
    - Update TemplatesView.vue
    OlegIvaniv committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    8401857 View commit details
    Browse the repository at this point in the history
  5. Refactor workflow evaluation components and improve code organization

    • Move components to dedicated files
    • Create new EvaluationEditView component
    • Update router configuration
    • Relocate useEvaluationForm composable
    • Add new types for evaluations
    OlegIvaniv committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    24e1f7b View commit details
    Browse the repository at this point in the history
  6. Refactor workflow evaluation list view and add new components

    • Split EmptyState into separate component
    • Create TestItem and TestsList components
    • Update EvaluationListView with new components
    • Add WORKFLOW_EVALUATION_EDIT to constants
    • Improve styles and layout of test items
    OlegIvaniv committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    ff12775 View commit details
    Browse the repository at this point in the history
  7. Implement feature flag for workflow evaluation experiment

    - Add feature flag check
    - Update UI to show/hide evaluation tab
    - Fetch tags for test definitions
    - Handle routing when feature is disabled
    - Cleanup console logs
    OlegIvaniv committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    22f78aa View commit details
    Browse the repository at this point in the history
  8. Refine UI for TestItem and TestsList components in WorkflowEvaluation

    • Adjust padding and cursor for TestItem
    • Update button sizes and spacing
    • Modify TestItem title styling
    • Remove size and type from TestsList button
    OlegIvaniv committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    1d8f44d View commit details
    Browse the repository at this point in the history
  9. Make TagsDropdown component more flexible and reusable

    • Make createTag prop optional
    • Add eventBus prop to TagsDropdown
    • Update TagsInput to use TagsDropdown
    • Remove unnecessary class in TagsInput
    • Adjust prop types and imports
    OlegIvaniv committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    d55144e View commit details
    Browse the repository at this point in the history
  10. Remove console.logs

    OlegIvaniv committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    81a2564 View commit details
    Browse the repository at this point in the history
  11. Enhance workflow evaluation UI with localization and styling improvem…

    …ents
    
    • Add localization for UI text
    • Improve styling and layout consistency
    • Refactor component props and structure
    • Update button labels and placeholders
    OlegIvaniv committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    f0aa7ad View commit details
    Browse the repository at this point in the history
  12. Improve workflow evaluation UI and add localization for test list

    - Update MainHeader tab logic
    - Enhance EmptyState component styling
    - Add localization for test list texts
    - Adjust TestsList component
    - Update locale file
    OlegIvaniv committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    2a9496d View commit details
    Browse the repository at this point in the history
  13. Refactor evaluation form and improve error handling in workflow evalu…

    …ation
    
    • Remove dependency on tagsStore
    • Add field-specific error handling
    • Simplify loadTestData and saveTest methods
    • Update EvaluationEditView component
    • Improve UI feedback for form errors
    OlegIvaniv committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    229f54a View commit details
    Browse the repository at this point in the history
  14. Update evaluation UI components and add test IDs

    - Add data-test-id to input components
    - Update TagsInput to use useI18n composable
    - Fix typo in TestsList component
    - Add test ID to "Run Test" button
    - Remove unused locale references
    OlegIvaniv committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    34bd0fc View commit details
    Browse the repository at this point in the history
  15. Add tests for WorkflowEvaluation components and EvaluationEditView

    - Add MetricsInput component tests
    - Add TagsInput component tests
    - Add EvaluationEditView tests
    - Include snapshot test
    - Update test utilities and mocks
    OlegIvaniv committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    bb231ea View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    d379db2 View commit details
    Browse the repository at this point in the history
  17. Fix stray character

    OlegIvaniv committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    f245048 View commit details
    Browse the repository at this point in the history
  18. Remove unused view file

    OlegIvaniv committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    c1b3a1a View commit details
    Browse the repository at this point in the history
  19. Enhance evaluation form with auto-save and improved error handling

    - Add auto-save functionality
    - Improve error handling in saveTest
    - Update URL after creating new test
    OlegIvaniv committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    4af1e7f View commit details
    Browse the repository at this point in the history
  20. Merge remote-tracking branch 'origin/ai-455-add-description-field-to-…

    …test-definition' into ai-426-frontend-test-viewedit-screen_rebased
    OlegIvaniv committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    cdd3d84 View commit details
    Browse the repository at this point in the history
  21. Enhance test definition creation and editing with description support

    • Add description to test definition interface
    • Include description in create/update params
    • Update UI to handle description field
    • Refactor types for better consistency
    • Add data-test-id for E2E testing
    OlegIvaniv committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    9b5be7a View commit details
    Browse the repository at this point in the history