Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a parameter whose name is ignorePublish to article markdown #65

Merged
merged 8 commits into from
Sep 15, 2023

Conversation

ikepu-tp
Copy link
Contributor

@ikepu-tp ikepu-tp commented Sep 11, 2023

What

  • 記事に下書き(ignorePublish)設定を入れた
  • ignorePublish: trueであればpublish --allコマンドをしてもQiitaにデータが送信されない

How

記事の設定欄にignorePublish: trueを設定する

Why

とりあえず下書きを書いたときにgit pushすると,(限定)公開されるため

Refs

@getty104 getty104 requested a review from ohakutsu September 12, 2023 01:52
@ohakutsu
Copy link
Member

Pull Requestありがとうございます!
確認させていただきます!

@ohakutsu
Copy link
Member

@ikepu-tp

おまたせしました!
draftという名前なのですが、Qiitaの下書き機能の英名と名前が被っていて、別の名前にしたいと考えています!
提案なのですが、wip(Work In Progress)はいかがでしょうか?

@ikepu-tp
Copy link
Contributor Author

@ohakutsu
ご提案ありがとうございます!
wip良いと思いますが,初見だとわからない(自分はわからなかった)のでworking(作業中)の方が直感的かなと思ったのですが,いかがでしょうか?

@ohakutsu
Copy link
Member

@ikepu-tp
ありがとうございます!
確かに直感的で良いと思ったのですが、workingは意味が広すぎるのではないかと思っています。(正常に動いているなどの意味にも捉えることができる)

名前について社内でも議論をしていて、以下の候補が上がっているのですが、これがわかりやすいなどありますでしょうか?

  • incomplete
  • notPost
  • ignore
  • inProgress
  • notReady

@ikepu-tp
Copy link
Contributor Author

@ohakutsu
候補ありがとうございます!
確かにworkingは意味が広いですね。
どれも直感的でわかりやすいのですが,ignoreが良いかなと個人的には思います!(.gitignore等ファイルの命名でも使われるのでなじみやすいかなと思います。)

@ohakutsu
Copy link
Member

@ikepu-tp

おまたせしました!
無効になるのはpublishだけなのでignoreだと広いなと思い、ignorePublishにできればと思っていたのですが、いかがでしょうか?

@ikepu-tp
Copy link
Contributor Author

@ohakutsu
ignorePublishで良いと思います!
draftignorePublishに変更したものでコミットしてもいいでしょうか?

@ohakutsu
Copy link
Member

@ikepu-tp
ありがとうございます!お願いします!

@ikepu-tp ikepu-tp changed the title Add article draft Add a parameter whose name is ignorePublish to article markdown Sep 14, 2023
Copy link
Member

@ohakutsu ohakutsu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

レビューさせていただきました!

@@ -296,6 +296,7 @@ slide: false
updated_at: "",
organization_url_name: null,
slide: false,
draft: false,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

可能であれば、ignorePublishが未指定の場合のテストも入れたいなと思っています!

@ikepu-tp
Copy link
Contributor Author

@ohakutsu
ありがとうございます!
夜に修正します。

@ohakutsu ohakutsu self-requested a review September 15, 2023 01:43
@ohakutsu
Copy link
Member

@ikepu-tp
修正ありがとうございます!確認させていただきます!

Copy link
Member

@ohakutsu ohakutsu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1箇所だけ変更お願いしたいです!

Co-authored-by: ohakutsu <dev@ohakutsu.com>
@ikepu-tp
Copy link
Contributor Author

レビューありがとうございます!
変更をそのままコミットいたしました!

Copy link
Member

@ohakutsu ohakutsu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

何度もすみません 🙇
コメントさせていただきました!

ikepu-tp and others added 2 commits September 15, 2023 12:53
Co-authored-by: ohakutsu <dev@ohakutsu.com>
Co-authored-by: ohakutsu <dev@ohakutsu.com>
@ikepu-tp
Copy link
Contributor Author

確認不足で申し訳ないです!ありがとうございます!
修正しました!

@ohakutsu
Copy link
Member

ありがとうございます!

Copy link
Member

@ohakutsu ohakutsu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!!
対応いただきありがとうございました!

@ohakutsu ohakutsu merged commit 0d49baa into increments:main Sep 15, 2023
@ohakutsu ohakutsu mentioned this pull request Sep 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants