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

feat(post): create post for a publication #27

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

itsaakashpatel
Copy link

Add publish post mutation for publish a post for a publication

Closes: #17

Add publish post mutation for publish a post for a publication
@atapas
Copy link
Member

atapas commented Feb 5, 2024

@itsaakashpatel How did you test this?

@MrTea7171
Copy link
Collaborator

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

@itsaakashpatel
Copy link
Author

@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?

@atapas
Copy link
Member

atapas commented Feb 5, 2024

@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?

@itsaakashpatel
Copy link
Author

@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
Copy link
Author

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

Thanks!

@atapas
Copy link
Member

atapas commented Feb 21, 2024

@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
Copy link
Member

atapas commented Feb 21, 2024

@atapas
Copy link
Member

atapas commented Feb 26, 2024

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

Thanks!

Got a chance?

@itsaakashpatel
Copy link
Author

@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
Copy link
Author

@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
Copy link
Author

@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

@atapas
Copy link
Member

atapas commented Mar 7, 2024

@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.

@itsaakashpatel
Copy link
Author

@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
Copy link
Author

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

Thanks!

@atapas
Copy link
Member

atapas commented Apr 1, 2024

@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?

@itsaakashpatel
Copy link
Author

@atapas I have created a pull request for creating a new post: CreoWis/hashnode-diaries#6

Please inform me when you have finished reviewing the PR.

Thanks!

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.

[Feature Request]: Add Support For Creating a Post for a Publication
3 participants