Back to Plate

3878 3798

docs/slate-issues/test-candidate-map/3878-3798.md

53.0.69.5 KB
Original Source

Issue #3878

  • package: slate-react
  • TDD readiness: ready-now
  • public test seam: programmatic value reset should remap selection onto a live path.

Minimal Repro Setup

  • Use the linked sandbox or the official example from the thread.
  • Follow the issue steps as written.
  • Assert through the public editor surface, not private helpers.

Expected Failing Assertion

  • Resetting the editor value should not leave selection pointing at a non-existing location.

Issue #3874

  • package: slate-history
  • TDD readiness: not-a-test-candidate
  • public test seam: atomic history groups for multi-op actions.

Why Not A Direct Test Candidate

This is better treated as API and architecture planning than a first red test.


Issue #3873

  • package: cross-package
  • TDD readiness: ready-now
  • public test seam: Editable keydown handling should not move the caret while IME composition is active.

Minimal Repro Setup

  • Use the linked sandbox or the official example from the thread.
  • Follow the issue steps as written.
  • Assert through the public editor surface, not private helpers.

Expected Failing Assertion

  • Arrow-key handling should stay inert while the editor is composing text.

Issue #3872

  • package: cross-package
  • TDD readiness: ready-with-minor-setup
  • public test seam: triple-clicking a paragraph with inline content should select the whole paragraph.

Minimal Repro Setup

  • Use the linked sandbox or the official example from the thread.
  • Follow the issue steps as written.
  • Assert through the public editor surface, not private helpers.

Expected Failing Assertion

  • Triple-clicking a paragraph with inline children should select the full paragraph, not stop at the inline boundary.

Issue #3871

  • package: cross-package
  • TDD readiness: ready-with-minor-setup
  • public test seam: triple-click block selection should not leak into the following block.

Minimal Repro Setup

  • Use the linked sandbox or the official example from the thread.
  • Follow the issue steps as written.
  • Assert through the public editor surface, not private helpers.

Expected Failing Assertion

  • Triple-clicking a block should not select parts of the block below.

Issue #3870

  • package: ecosystem
  • TDD readiness: not-a-test-candidate
  • public test seam: void blocks need the documented empty-text child contract.

Why Not A Direct Test Candidate

The right action is to point at the current void-node contract, not add a new failing test for invalid structure.


Issue #3868

  • package: cross-package
  • TDD readiness: ready-now
  • public test seam: removing the current selection should delete void nodes inside that selection.

Minimal Repro Setup

  • Use the linked sandbox or the official example from the thread.
  • Follow the issue steps as written.
  • Assert through the public editor surface, not private helpers.

Expected Failing Assertion

  • Removing an expanded selection that includes void nodes should remove the selected void content.

Issue #3858

  • package: cross-package
  • TDD readiness: ready-with-minor-setup
  • public test seam: emptying a deeply nested editor value should not leave stale descendant paths behind.

Minimal Repro Setup

  • Use the linked sandbox or the official example from the thread.
  • Follow the issue steps as written.
  • Assert through the public editor surface, not private helpers.

Expected Failing Assertion

  • Emptying a deeply nested editor value should not throw descendant-path errors.

Issue #3857

  • package: cross-package
  • TDD readiness: ready-now
  • public test seam: cutting a selected block should remove that block from the document.

Minimal Repro Setup

  • Use the linked sandbox or the official example from the thread.
  • Follow the issue steps as written.
  • Assert through the public editor surface, not private helpers.

Expected Failing Assertion

  • Cutting a selected block element should remove it from the editor state.

Issue #3841

  • package: cross-package
  • TDD readiness: ready-with-minor-setup
  • public test seam: insertBreak overrides in Firefox should still move the selection forward correctly.

Minimal Repro Setup

  • Use the linked sandbox or the official example from the thread.
  • Follow the issue steps as written.
  • Assert through the public editor surface, not private helpers.

Expected Failing Assertion

  • Custom insertBreak logic in Firefox should still place the caret in the expected next position.

Issue #3836

  • package: cross-package
  • TDD readiness: blocked-on-repro
  • public test seam: generic DOM point resolution failure.

Current Blocker

The current issue body and comments do not isolate a reliable public failing case.


Issue #3834

  • package: cross-package
  • TDD readiness: blocked-on-repro
  • public test seam: generic DOM point resolution failure on a text node.

Current Blocker

The thread never narrows the failure beyond a generic DOM-point resolution crash.


Issue #3828

  • package: docs-only
  • TDD readiness: not-a-test-candidate
  • public test seam: formatting walkthrough should import Text explicitly.

Why Not A Direct Test Candidate

This is documentation work, not a current red-test target.


Issue #3826

  • package: ecosystem
  • TDD readiness: not-a-test-candidate
  • public test seam: active mark state after deletion follows the current contract.

Why Not A Direct Test Candidate

The thread converges on current-contract behavior rather than a real failing public seam.


Issue #3821

  • package: slate-react
  • TDD readiness: ready-now
  • public test seam: useFocused should report focus correctly when the editor uses portals.

Minimal Repro Setup

  • Use the linked sandbox or the official example from the thread.
  • Follow the issue steps as written.
  • Assert through the public editor surface, not private helpers.

Expected Failing Assertion

  • useFocused should stay accurate when selection and DOM focus live through a portal.

Issue #3818

  • package: slate
  • TDD readiness: not-a-test-candidate
  • public test seam: operations should support richer path-ref affinity control.

Why Not A Direct Test Candidate

This is API-shape pressure around ref semantics, not a narrow current red test.


Issue #3813

  • package: cross-package
  • TDD readiness: ready-now
  • public test seam: programmatic Transforms.setSelection around inline mentions should land the caret at the requested position.

Minimal Repro Setup

  • Use the linked sandbox or the official example from the thread.
  • Follow the issue steps as written.
  • Assert through the public editor surface, not private helpers.

Expected Failing Assertion

  • Transforms.setSelection should place the caret at the requested position in a mention insertion flow.

Issue #3812

  • package: site/examples
  • TDD readiness: not-a-test-candidate
  • public test seam: paste-html example scope around image paste.

Why Not A Direct Test Candidate

This is mostly about example scope, not a clean current-contract failing test.


Issue #3811

  • package: cross-package
  • TDD readiness: not-a-test-candidate
  • public test seam: Android typing after space and backspace should not duplicate content.

Why Not A Direct Test Candidate

This is better tracked as v2/platform signal than as a current red test.


Issue #3808

  • package: slate
  • TDD readiness: not-a-test-candidate
  • public test seam: Transforms.setNodes should support derivation from current props and avoid bad split behavior.

Why Not A Direct Test Candidate

The issue mixes API-shape pressure with transform bugs, so it belongs in design backlog more than first-pass TDD.


Issue #3805

  • package: slate
  • TDD readiness: ready-with-minor-setup
  • public test seam: node resolution during onChange at offset zero should not target the wrong sibling.

Minimal Repro Setup

  • Use the linked sandbox or the official example from the thread.
  • Follow the issue steps as written.
  • Assert through the public editor surface, not private helpers.

Expected Failing Assertion

  • Offset-zero editing should not make node lookup resolve to the previous node during onChange.

Issue #3802

  • package: cross-package
  • TDD readiness: not-a-test-candidate
  • public test seam: node identity and duplicate insertion rules should be documented clearly.

Why Not A Direct Test Candidate

This is best handled as docs and model clarification, not a new failing test.


Issue #3801

  • package: cross-package
  • TDD readiness: ready-now
  • public test seam: cutting a selection containing lists should normalize the remaining block type correctly.

Minimal Repro Setup

  • Use the linked sandbox or the official example from the thread.
  • Follow the issue steps as written.
  • Assert through the public editor surface, not private helpers.

Expected Failing Assertion

  • Cutting a selection that contains list blocks should leave the remaining block normalized to the right type.

Issue #3800

  • package: docs-only
  • TDD readiness: not-a-test-candidate
  • public test seam: IE11 onChange support expectations.

Why Not A Direct Test Candidate

This is legacy-browser compatibility churn, not a useful current test target.


Issue #3798

  • package: cross-package
  • TDD readiness: not-a-test-candidate
  • public test seam: user-select: all inside Slate on Chrome.

Why Not A Direct Test Candidate

This is mostly browser-owned selection behavior, not a clean Slate contract bug.