mirror of
https://github.com/traberph/short.git
synced 2026-11-22 22:55:12 +00:00
The "Add link button" dialog can now either pick an existing short link or create a new one (destination + optional shortcode) in the page's namespace. The block API accepts `newLink` as an alternative to `targetId`; link and button are created in one transaction, so a failed request leaves nothing behind. Field errors such as a taken shortcode are shown inline, and the label is suggested from the destination's hostname. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>