michael / michael/editable

Ability to "name sections"

Open
#167 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Svelte
Stars
1.8k
Forks
150
Avg merge
11h 46m
Merged PRs (30d)
8

Description

Concrete example: I want to deep link to a section at /product#for-developers, but currently i can only deep link to a generated nodeid like /product#sRBeBTpUtghMFXKRXKgVHbS

Considerations:

  • This is like a pro feature, most of the time people will not bother and not deep link
  • Editable needs a tool "rename block" for single block selections. Then you can set your own id. It only accepts ids that are not used on the page already. It will rewrite the graph so that only the id changes, and all references to it
  • Currently when you copy & paste or cut and paste, we always generate new ids for the nodes. I guess once we have named blocks we want a name to survive at least a cut and paste.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the issue's deep-link example and trace how generated node IDs are used for section anchors. Define the rename-block flow, uniqueness validation, reference updates, and cut-and-paste behavior; done means named sections produce stable readable links without duplicate IDs.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.