Link UX: edit URL and open in new tab #29
Labels
No Label
area:auth
area:docs
area:export
area:ops
area:storage
area:supply-chain
auth
backend
blocked
collab
deployment
docs
effort:L
effort:M
effort:S
frontend
plugins
qa
vs-nfd
vs-nfd:blocker
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: stwaidele/dorfteich#29
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
Vision requirement: in edit mode, URLs offer 'edit URL' and 'open in new browser tab'.
Scope
Link workflows: set/edit link via toolbar and Cmd/Ctrl-K, bubble menu on link selection with actions 'edit URL', 'open in new tab' (noopener), 'remove link'; URL validation against the protocol allowlist; paste-over-selection with a URL creates a link.
Acceptance criteria
Technical notes
Dependencies
Depends on #25.
Size: ~0.5 day
Conventions: English code/comments, clear human-readable code, no hard-coded UI strings (ADR 0012, add
deanden), permission checks only via the shared guard (docs/architecture/permissions.md). Read the referenced ADRs before starting.Implemented in
b5cc4c3and closed viaCloses #29. Pipeline verification for that commit:Acceptance criteria covered by
apps/web/e2e/link.spec.ts(run locally against the dev stack): toolbar/Mod-k create+edit a link, bubble-menu edit/open-in-new-tab/remove all work in edit mode, read mode opens links in a new tab by default (target=_blank), invalid protocols show a localized inline error instead of applying, and pasting a URL over a selection links the selected text.