hashnode-client icon indicating copy to clipboard operation
hashnode-client copied to clipboard

feat(post): create post for a publication

Open itsaakashpatel opened this issue 2 years ago • 17 comments

Add publish post mutation for publish a post for a publication

Closes: #17

itsaakashpatel avatar Feb 05 '24 02:02 itsaakashpatel

@itsaakashpatel How did you test this?

atapas avatar Feb 05 '24 05:02 atapas

hey @itsaakashpatel is it possible for you create an example on hashnode-dairies on how can we use your hook on Frontend?

MrTea7171 avatar Feb 05 '24 06:02 MrTea7171

@itsaakashpatel How did you test this?

I tested on Hashnode diaries intending to use dummy data. Should I integrate a form to gather real data from the user and then execute a mutation to save the information?

itsaakashpatel avatar Feb 05 '24 14:02 itsaakashpatel

@itsaakashpatel How did you test this?

I tested on Hashnode diaries intending to use dummy data. Should I integrate a form to gather real data from the user and then execute a mutation to save the information?

Yes! That will be awesome. Should we create a test Hashnode account for posting?

atapas avatar Feb 05 '24 14:02 atapas

@itsaakashpatel How did you test this?

I tested on Hashnode diaries intending to use dummy data. Should I integrate a form to gather real data from the user and then execute a mutation to save the information?

Yes! That will be awesome. Should we create a test Hashnode account for posting?

Yes, that would be better 👍

itsaakashpatel avatar Feb 06 '24 15:02 itsaakashpatel

@atapas Once you've created the testing account, please share the details with us.

Thanks!

itsaakashpatel avatar Feb 09 '24 23:02 itsaakashpatel

@atapas Once you've created the testing account, please share the details with us.

Thanks!

Sorry for the delay.. I will do it now.

atapas avatar Feb 21 '24 10:02 atapas

@itsaakashpatel here is the invitation: https://hashnode.com/teams/invite/70f6f481-5ab9-4e45-bdfe-b8ac68a9afee

Here is the blog page: https://hashnode-diary.hashnode.dev/

atapas avatar Feb 21 '24 10:02 atapas

@atapas Once you've created the testing account, please share the details with us.

Thanks!

Got a chance?

atapas avatar Feb 26 '24 04:02 atapas

@atapas Once you've created the testing account, please share the details with us. Thanks!

Got a chance?

I will start looking into that today and keep you updated here.

Thanks!

itsaakashpatel avatar Mar 04 '24 18:03 itsaakashpatel

@atapas I created a new personal access token and used it to test a mutation, but it unexpectedly published an article on the host platform where I am the owner. I am now trying to figure out how to specify the host URL when publishing a post using the personal access token, but I am having trouble finding a way to do so.

Thanks!

itsaakashpatel avatar Mar 07 '24 03:03 itsaakashpatel

@atapas I think as a contributor I will not be able to publish a post as mentioned here: https://apidocs.hashnode.com/?source=legacy-api-page#definition-UserPublicationRole

itsaakashpatel avatar Mar 07 '24 03:03 itsaakashpatel

@atapas I think as a contributor I will not be able to publish a post as mentioned here: https://apidocs.hashnode.com/?source=legacy-api-page#definition-UserPublicationRole

I have made you an editor.. let me know what else you need.

atapas avatar Mar 07 '24 03:03 atapas

@atapas I have tested with the given Hashnode Test account. It's working. Can you please look into that?

Also, I can create a new PR for https://github.com/CreoWis/hashnode-diaries with a /create page.

Thanks!

itsaakashpatel avatar Mar 10 '24 22:03 itsaakashpatel

@atapas @MrTea7171 Can you please check when you get a chance?

Thanks!

itsaakashpatel avatar Mar 30 '24 15:03 itsaakashpatel

@atapas @MrTea7171 Can you please check when you get a chance?

Thanks!

@atapas I have tested with the given Hashnode Test account. It's working. Can you please look into that?

Also, I can create a new PR for https://github.com/CreoWis/hashnode-diaries with a /create page.

Thanks!

Yes please, I was thinking of this PR to review... so why didn't respond. Is it there?

atapas avatar Apr 01 '24 02:04 atapas

@atapas I have created a pull request for creating a new post: https://github.com/CreoWis/hashnode-diaries/pull/6

Please inform me when you have finished reviewing the PR.

Thanks!

itsaakashpatel avatar Apr 08 '24 22:04 itsaakashpatel