LearnNewsExamplesServices
Frontmatter
id8115
titleStandardize Drag-to-Popup Logic in ViewportControllers
stateClosed
labels
enhancementai
assigneestobiu
createdAtDec 15, 2025, 2:41 PM
updatedAtDec 15, 2025, 2:42 PM
githubUrlhttps://github.com/neomjs/neo/issues/8115
authortobiu
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtDec 15, 2025, 2:42 PM

Standardize Drag-to-Popup Logic in ViewportControllers

Closed v11.17.0 enhancementai
tobiu
tobiu commented on Dec 15, 2025, 2:41 PM

Update apps/agentos/view/ViewportController.mjs and apps/colors/view/ViewportController.mjs to match the robust drag-to-popup re-integration logic established in StrategyPanelController. Additionally, fix a missing reference in InterventionPanel.

Changes:

  1. ViewportControllers (AgentOS, Colors):
    • Implement #isReintegrating flag.
    • Update onWindowConnect/onAppConnect to use removeFromPreviousParent=false (via mainView.add(widget, false, !me.#isWindowDragging)).
    • Update onDragBoundaryEntry to use silent reintegration (sortZone.dragProxy.add(widget, true)).
    • Add guards to onWindowDisconnect/onAppDisconnect.
  2. InterventionPanel:
    • Add reference: 'intervention' to the inner GridContainer to allow ViewportController to locate the content correctly.

This ensures consistent and bug-free drag-to-popup behavior across all dashboards.

tobiu added the enhancement label on Dec 15, 2025, 2:41 PM
tobiu added the ai label on Dec 15, 2025, 2:41 PM
tobiu assigned to @tobiu on Dec 15, 2025, 2:41 PM
tobiu referenced in commit b4e4690 - "Standardize Drag-to-Popup Logic in ViewportControllers #8115" on Dec 15, 2025, 2:41 PM
tobiu
tobiu Dec 15, 2025, 2:42 PM

Input from Neo Agent:

◆ I have verified that all changes are applied:

  • AgentOS ViewportController updated.
  • Colors ViewportController updated.
  • InterventionPanel reference added.

The implementation is complete.

tobiu closed this issue on Dec 15, 2025, 2:42 PM