Links: post picker and paste conversion in the editor

オープン
#4 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
javascript
領域
frontend

調査の方向性

Start with the link dialog opened by Cmd-K and the editor's existing post-list polling, which already supplies titles and statuses client-side. Paste handling is the other entry point: a pasted /posts/<slug> or /p/<id> URL over a selection should become a post:<id> link with an undoable notice. Done means search filters as you type with status badges, undo restores the pasted URL, and draft and deleted targets render distinctly. The issue depends on the id-links work, so confirm that is merged first.

索引モデルが issue の本文から書いたものです。

説明

Context

With post:<id> links supported, writing one should not need the id. The editor already polls the post list, so title and status are available client-side.

Scope

  • In the link dialog (Cmd-K), accept a URL or search posts by title; picking a post inserts post:<id>.
  • Pasting the editor URL of a post (/posts/<slug> or /p/<id>) over selected text converts to a post: link, with an undo-able notice.
  • Internal links render differently from external ones: normal for a live target, dashed underline with a "draft" label for a draft, error colour for a missing target.

Acceptance criteria

  • Search filters as you type and shows each post's status badge.
  • Undo after a paste conversion restores the pasted URL.
  • A link to a deleted post is visibly marked.

Depends on the id-links issue. Estimate: about 5 hours.

主要言語
HTML
スター
0
フォーク
0
平均マージ
1分
マージ済み PR(30日)
2

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

mrgnw/cfcms のほかの issue

mrgnw/cfcms の issue をすべて見る

似ている issue

Web Dev の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。