Skip to content

[diffs/edit] Reworking Naming Conventions#1023

Merged
amadeus merged 5 commits into
mainfrom
amadeus/editor-edit-revamp
Jul 24, 2026
Merged

[diffs/edit] Reworking Naming Conventions#1023
amadeus merged 5 commits into
mainfrom
amadeus/editor-edit-revamp

Conversation

@amadeus

@amadeus amadeus commented Jul 23, 2026

Copy link
Copy Markdown
Member

This PR officially makes the feature called edit, but keeps concepts like the class still Editor.

This changes the module's entry point, and fixes a bunch of contextually necessary stuff to be edit or editor based on convention.

amadeus added 5 commits July 23, 2026 12:46
Expose the optional editing runtime from @pierre/diffs/edit so consumers
can lazy-load the Edit feature without using an implementation name.

Move the public barrel out of the internal editor directory and migrate
package exports, in-repo consumers, docs snippets, and browser fixtures.
Rename the creation-time React prop from editOptions to editorOptions so
edit remains the feature switch and Editor names the configured runtime.

Carry the new name through every surface, CodeView lifecycle coverage,
demos, documentation, and generated examples.
Rename feature-owned docs sections, demo components, constants,
shortcuts, and navigation metadata from Editor to Edit while
preserving the runtime Editor API terminology.

Move the documentation source directory to Edit, consolidate the
Live Editing example assets, and update the LLM text generator so
generated navigation follows the feature name.
Remove the unused didEdit render prop and name session comments
after the Edit feature. Align test labels with the EditStack class and
the current keyboard command resolver.
@vercel

vercel Bot commented Jul 23, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
pierre-docs-diffs Ready Ready Preview Jul 23, 2026 9:56pm
pierre-docs-diffshub Ready Ready Preview Jul 23, 2026 9:56pm
pierre-docs-trees Ready Ready Preview Jul 23, 2026 9:56pm
pierrejs-diff-demo Ready Ready Preview Jul 23, 2026 9:56pm

Request Review

@amadeus

amadeus commented Jul 23, 2026

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Delightful!

Reviewed commit: 28010c5417

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@amadeus
amadeus marked this pull request as ready for review July 23, 2026 22:18
@amadeus
amadeus requested review from ije, mdo and necolas July 23, 2026 22:19

@necolas necolas left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@ije ije left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice

@amadeus
amadeus merged commit 3b70f81 into main Jul 24, 2026
8 checks passed
@amadeus
amadeus deleted the amadeus/editor-edit-revamp branch July 24, 2026 01:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants