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

Conversation

@whitdog47
Copy link
Contributor

@whitdog47 whitdog47 commented Jul 15, 2025

This PR replaces the third-party resizable drawer with a custom-built drawer component in the incident and case edit sheets, adds persistent width storage and resize handles, and introduces Playwright tests for drawer functionality.

  • Swap out VResizeDrawer for v-navigation-drawer with custom resize handles in EditSheet.vue for incidents and cases.
  • Store drawer width in localStorage, add mouse event listeners to handle resizing.
  • Add Playwright E2E tests to verify the drawer opens, can be edited, and closes correctly.

Screen capture

sliding_handle_drawer.mov

@whitdog47 whitdog47 requested a review from Copilot July 15, 2025 20:36
@whitdog47 whitdog47 self-assigned this Jul 15, 2025
@whitdog47 whitdog47 added the bug Something isn't working label Jul 15, 2025
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 PR replaces the third-party resizable drawer with a custom-built drawer component in the incident and case edit sheets, adds persistent width storage and resize handles, and introduces Playwright tests for drawer functionality.

  • Swap out VResizeDrawer for v-navigation-drawer with custom resize handles in EditSheet.vue for incidents and cases.
  • Store drawer width in localStorage, add mouse event listeners to handle resizing.
  • Add Playwright E2E tests to verify the drawer opens, can be edited, and closes correctly.

Reviewed Changes

Copilot reviewed 5 out of 6 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
tests/static/e2e/drawer-functionality.spec.ts New E2E tests for opening, editing, and closing drawers
src/dispatch/static/dispatch/src/main.js Removed unused VResizeDrawer import and registration
src/dispatch/static/dispatch/src/incident/EditSheet.vue Implemented custom resizable drawer for incidents
src/dispatch/static/dispatch/src/case/EditSheet.vue Implemented custom resizable drawer for cases
src/dispatch/static/dispatch/package.json Removed @wdns/vuetify-resize-drawer dependency
Files not reviewed (1)
  • src/dispatch/static/dispatch/package-lock.json: Language not supported

@whitdog47 whitdog47 merged commit 01cc40b into main Jul 16, 2025
9 checks passed
@whitdog47 whitdog47 deleted the fix/use-own-resizable-drawer branch July 16, 2025 20:52
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