Entering node selection
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Quiet
- Tech stack
- typescript
Research direction
No files or tests are named. Start by reviewing the existing ESC and toolbar select-parent behavior, then prototype direct node selection in empty space. Test that the interaction does not interfere with native selection on iOS and Android, and resolve the descend/ascend click semantics before implementation.
Written by the indexing model from the issue text.
Description
Entering node selection (desktop + mobile)
Consolidates #248, the selection sub-thread in #322 (comments), and the mobile aspect of #259. Related: #53, #336.
Problem — The only ways into node selection today are the ESC key and the toolbar's select-parent button. That is an extra step, not discoverable for new users, and pointer/touch users have no direct path (#248).
Constraints (per discussion in #322) — Desktop-first [^1], one implementation path, no mobile-only code paths [^2]. Nothing may battle native selection while we rely on it. Editing infrastructure is at its code-size limit. Ideal end state: no visible chrome at all; ESC stays as a keyboard shortcut only.
Approaches side by side
| Approach | Desktop | Mobile | Discoverable | Conflict risk | Cost |
|---|---|---|---|---|---|
| ESC + toolbar << (status quo) | yes | yes | low | none | done |
| Direct click/tap on node frame (Figma-like, #248) | yes | yes | medium | edges occupied by node gaps and text hit areas; tricky hit box design | medium |
| Floating handle / action zone (⠿ Notion, Craft) | yes | yes | high | occupies layout space; but can fit where whitespace is likely: bottom right near edge or top left near edge | medium |
| Meta key + click | yes | no | low | none | low |
| Swipe left on node, repeat to ascend (Craft) | only trackpad | yes | medium | back and forward navigation. (no risk for: native selection, scrolling ... as falsely assumed) mobile-first code path | high |
| Long press | no / (right click) | yes | low | iOS callout and preview gestures | medium |
Swipe gestures and direct node click is the only chrome-free approach (matches the ideal end state), with a lot of work it can work identically on both platforms. It doesn't fight native selection, only back and forward navigation, but also manageable. A visible handle scores highest on discoverability and could later double as drag-to-reorder and menu anchor, but it is permanent chrome, but it can also be designed to be unobtrusive.
Proposal
- For now: keep and optimize ESC + << (contextual, hidden at top level).
- Mid term: clicking/tapping a node's non-text area selects it (needs exploration first);
- Later: Gestures (app land only?)
To experiment
- Prototype direct node click in empty space;
- Edge case testing for "no native-selection interference on iOS/Android"
- Decide descend/ascend click semantics
[^1]: Desktop first needs a more clear definition, e.g. is it meant as "desktop only" or "no mobile optimizations". Need to clarify if this is about priority of tasks, or something else e.g. principles like low LOC. Also not clear if desktop first refers to fine pointer input vs. touch screen or screen size, as an iPad Pro is desktop in size but touch and a remarkable with stylus is fine pointer, but small screen. Or is it very specific like: Chrome on a MacBook Pro with trackpad/ mouse?
[^2]: no mobile-only code paths: needs clarification because clearly there are already dozens of mobile related optimizations. What is the difference between a viewport size optimization and a pointer (touch vs. click) optimization? E.g. is meant that there should not be mobile only or desktop only features. So unclarity is mainly about where to draw the line.
- Dominant language
- TypeScript
- Stars
- 691
- Forks
- 20
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from michael/svedit
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Similar issues
-
bug data-types
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ClickHouse/clickhouse-js#1293 ·
Maintainers usually reply within 1 day
-
area: middleware enhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
agent/quality testing
Difficulty 1/5 Under an hour Newbie friendliness 95/100
Maintainers usually reply within 1 day
-
GitHub registry install via `gh` credentials rewrites `\u0000`–`\u001f` escapes in source files to `^@`–`^_`Possibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 92/100
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
juspay/agent-distro#203 ·
Maintainers usually reply within 1 day