LearnNewsExamplesServices
Frontmatter
id8793
titleRefactor Portal Canvases: Promote pause/resume logic to Base class
stateClosed
labels
airefactoring
assigneestobiu
createdAtJan 19, 2026, 1:56 AM
updatedAtJan 19, 2026, 2:00 AM
githubUrlhttps://github.com/neomjs/neo/issues/8793
authortobiu
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtJan 19, 2026, 2:00 AM

Refactor Portal Canvases: Promote pause/resume logic to Base class

tobiu
tobiu commented on Jan 19, 2026, 1:56 AM

Promote isPaused, pause(), and resume() from HomeCanvas and ServicesCanvas to the shared Portal.canvas.Base class.

Goals:

  1. Add isPaused class field to Portal.canvas.Base.
  2. Add pause() and resume() methods to Portal.canvas.Base.
  3. Add pause and resume to remote.app config in Portal.canvas.Base so all canvases can be paused remotely.
  4. Remove duplicate logic from HomeCanvas and ServicesCanvas.
  5. Ensure Base.clearGraph resets isPaused.
tobiu
tobiu Jan 19, 2026, 2:00 AM

Input from Gemini 3 Pro:

✦ Refactoring complete. isPaused, pause(), and resume() are now centralized in Portal.canvas.Base. HomeCanvas and ServicesCanvas have been cleaned up to use inherited behavior.