Skip to content
This repository was archived by the owner on Sep 3, 2025. It is now read-only.

Conversation

@aaronherman
Copy link
Contributor

This pull request focuses on improving the handling of tabs and navigation in the EditSheet.vue components for cases and incidents, as well as adding a new route for case timelines. The key changes include replacing the key attribute with value for tabs and window items, updating tab navigation logic, and introducing a dedicated route for case timelines.

@aaronherman aaronherman requested a review from Copilot July 24, 2025 14:59
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request improves tab navigation for cases and incidents by transitioning from numeric tab indexing to string-based tab values, and adds a dedicated route for case timeline access. The changes enable direct linking to specific tabs (particularly the timeline) and make the codebase more maintainable.

  • Replaces numeric tab indices with string values for better maintainability and direct navigation
  • Adds a new route for case timeline access with proper metadata configuration
  • Implements route-based tab navigation logic for cases similar to existing incident functionality

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
src/router/config.js Adds new route for case timeline with showTimeline metadata
src/incident/EditSheet.vue Updates tab navigation to use string values instead of numeric indices
src/case/EditSheet.vue Replaces key attributes with value attributes for tabs and adds route watcher for timeline navigation

@aaronherman aaronherman added the bug Something isn't working label Jul 24, 2025
@aaronherman aaronherman requested a review from whitdog47 July 24, 2025 15:07
@aaronherman aaronherman merged commit 3ad88c5 into main Jul 24, 2025
9 checks passed
@aaronherman aaronherman deleted the bug/edit-sheet-tab-linking branch July 24, 2025 22:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants