document creation options

未關閉
#2 2 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
5/5
預估耗時
一週以上
新手友好度
25/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
停滯
技術堆疊
typescript
領域
api, cli

研究方向

從 codimd-cli import 入口開始,追蹤現有的文件建立 API 工作流程。確定如何在匯入期間或透過後續編輯呼叫提供團隊成員資格、標籤和自訂 slug;完成的標準是為所有要求的選項定義並記錄受支援的工作流程。

由索引模型根據 Issue 內容生成。

描述

I'm using codimd-cli import to create a new document from Markdown. This is working on HackMD now (thanks!).

When importing, it looks like we need:

  1. The ability to specify which team the document should be a member of.

    Right now, imported documents belong to the user. I cannot see how to import into a team.

  2. The ability to assign tags

    Regarding teams & organization, it appears the only way to organize documents within a team is via tags. I think we can manage with tags for now; each Node.js working group could have its own tag. If something else is provided instead (e.g., folders), it's important that we don't need to manage multiple logins or tokens.

  3. The ability to provide a custom slug (URL)

    We get a randomly-assigned URL after importing. This is a nice-to-have.

This stuff could also be part of an "editing" workflow, where we login, then import, then make another API call to move the document, assign tags, update the slug, etc.

主要語言
TypeScript
星號
20
分支
8
平均合併
47 分鐘
30 天內合併 PR
5

環境準備

這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

hackmdio/api-client 的其他 Issue

查看 hackmdio/api-client 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。