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 摘要。