PORT CONTRACT

Work in the same sheet

Collaboration UI belongs beside the spreadsheet contract so presence and comments can follow the active sheet.

Try this

  1. Navigate between cells with the keyboard.
  2. Use the sheet tabs to change context.
  3. Open the chrome controls that a collaborative host can extend.

How it works

The provider owns the active workbook and selection state. A collaboration adapter can attach presence and comment capabilities without replacing the projection and editing backend.

View source

import type {
  DisplayCell,
  StaticSeedMatrix,
  StaticSpreadsheetSeed,
} from '@einfach/solid-excel/vnext'

const matrix: StaticSeedMatrix = [
  ['Task', 'Owner', 'Status', 'Due', 'Priority'],
  ['Design review', 'Mina Cho', 'In Progress', '2026-08-02', 'High'],
  ['API contract draft', 'Diego Alvarez', 'Blocked', '2026-08-05', 'High'],
  ['Migration script', 'Priya Nair', 'Not Started', '2026-08-08', 'Medium'],
  ['QA test plan', "Sam O'Connor", 'In Progress', '2026-08-06', 'Medium'],
  ['Rollout doc', 'Layla Haddad', 'Not Started', '2026-08-10', 'Low'],
]

const cells: DisplayCell[] = [
  {
    row: 2,
    col: 2,
    displayValue: 'Blocked',
    valueKind: 'string',
    noteIndicator: true,
    commentThreadId: 'thread-status-blocked',
  },