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

Display GenAI analysis in the case page in the Web UI #5301

Merged
merged 6 commits into from
Oct 9, 2024

Conversation

mvilanova
Copy link
Contributor

This pull request includes several changes to the Page.vue and store.js files in the src/dispatch/static/dispatch/src/case directory. These changes primarily focus on adding support for displaying GenAI analysis, reordering properties for better readability, and importing necessary modules.

Enhancements to GenAI Analysis Support:

  • Added GenaiAnalysisDisplay component to the Page.vue template for displaying GenAI analysis when the active tab is not 'signals' or 'graph'. (src/dispatch/static/dispatch/src/case/Page.vue)
  • Included genai_analysis property in the caseDefaults object and updated the PageHeader component to accept this new property. (src/dispatch/static/dispatch/src/case/Page.vue) [1] [2]

Code Reorganization:

  • Reordered properties in the caseDefaults object and the getDefaultSelectedState function for better readability and consistency. (src/dispatch/static/dispatch/src/case/Page.vue, src/dispatch/static/dispatch/src/case/store.js) [1] [2] [3] [4] [5]

Module Imports:

  • Adjusted the import statements in Page.vue to ensure all necessary modules are properly imported and organized. (src/dispatch/static/dispatch/src/case/Page.vue)
Screenshot 2024-10-08 at 5 04 42 PM Screenshot 2024-10-08 at 5 04 29 PM

@mvilanova mvilanova added the enhancement New feature or request label Oct 9, 2024
@wssheldon
Copy link
Contributor

wssheldon commented Oct 9, 2024

I can make the change in a follow up PR. For the design, I'd suggest to change the Timeline tab to Overview and move the GenAI summary into a Card that is displayed side by side with the timeline

@mvilanova mvilanova merged commit e825b87 into master Oct 9, 2024
8 checks passed
@mvilanova mvilanova deleted the enhancement/display-genai-analysis-ui branch October 9, 2024 22:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants