Skip to content

Fix: move allotment from devDependencies to dependencies#4269

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/add-drag-resize-library
Draft

Fix: move allotment from devDependencies to dependencies#4269
Copilot wants to merge 2 commits intomainfrom
copilot/add-drag-resize-library

Conversation

Copy link

Copilot AI commented Feb 26, 2026

allotment — the library used for draggable/resizable panel splitting — was declared under devDependencies despite being imported directly in production source files.

Changes

  • package.json: moved allotment@1.19.0 from devDependenciesdependencies

Context

allotment is used in two production files:

  • src/index.tsx — imports allotment/dist/style.css
  • src/components/organisms/ExplorerPane/ExplorerPane.tsx — renders the vertically-split, resizable File/Dry-runs panes
import {Allotment} from 'allotment';

<StyledAllotment vertical>
  <Allotment.Pane minSize={PANEL_HEADER_HEIGHT + 16}>
    <FilePane key="files" />
  </Allotment.Pane>
  <Allotment.Pane minSize={54}>
    <DryRunsPane key="dry-runs" />
  </Allotment.Pane>
</StyledAllotment>

The main panel layout (PaneManager) uses ResizableColumnsPanel / ResizableRowsPanel from @monokle/components, which are also allotment-backed.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: devcatalin <20538711+devcatalin@users.noreply.github.com>
Copilot AI changed the title [WIP] Add library for dragging and resizing panels Fix: move allotment from devDependencies to dependencies Feb 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants