Display GenAI analysis in the case page in the Web UI #5301
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request includes several changes to the
Page.vue
andstore.js
files in thesrc/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:
GenaiAnalysisDisplay
component to thePage.vue
template for displaying GenAI analysis when the active tab is not 'signals' or 'graph'. (src/dispatch/static/dispatch/src/case/Page.vue
)genai_analysis
property in thecaseDefaults
object and updated thePageHeader
component to accept this new property. (src/dispatch/static/dispatch/src/case/Page.vue
) [1] [2]Code Reorganization:
caseDefaults
object and thegetDefaultSelectedState
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:
Page.vue
to ensure all necessary modules are properly imported and organized. (src/dispatch/static/dispatch/src/case/Page.vue
)