Skip to content

Conversation

@sergioeliot2039
Copy link
Collaborator

PR for Clubhouse actions
Create Story
Search Stories

@vercel
Copy link

vercel bot commented Jul 3, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployments, click below or on the icon next to each commit.

pipedream-docs-redirect-do-not-edit – ./docs

🔍 Inspect: https://vercel.com/pipedreamers/pipedream-docs-redirect-do-not-edit/9YrZKUkvSS3shH2tFVznm6grohKg
✅ Preview: https://pipedream-docs-redirect-do-not-edit-git-for-41f22e-pipedreamers.vercel.app

pipedream-docs – ./docs

🔍 Inspect: https://vercel.com/pipedreamers/pipedream-docs/CN7PVurxgJzoQBvy6rTY1sMV7L4M
✅ Preview: https://pipedream-docs-git-fork-sergioeliot2039-clu-db59d8-pipedreamers.vercel.app

Copy link
Contributor

@compwright compwright left a comment

Choose a reason for hiding this comment

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

@sergioeliot2039 thank you for this! Per the Guidelines, please make the following changes:

  • Rebase off master
  • Fix all eslint issues
  • Refactor all props that are used more than once into the app file
  • Refactor all API access code to use the clubhouse-lib where possible, unless there is a good reason not to do so (please explain in detail wherever this is the case)
  • Add options() methods wherever possible to all ID props to populate options (epicId, groupId, etc)

@compwright compwright changed the title [ACTION] Clubhouse.io #863 [ACTION] Clubhouse.io Aug 4, 2021
@compwright compwright linked an issue Aug 5, 2021 that may be closed by this pull request
@sergioeliot2039
Copy link
Collaborator Author

@compwright when i started developing components, the criteria to use a library was:

  1. be an official library
  2. have thousands of weekly downloads
  3. be mantained oftenly.

in the case for if you check stats in npm for clubhouse-lib the lib is official and has ~3k weekly download, but last update was over 5 months ago. that's why I didn't use it. another parameter I use is that usually PD team will use the library in Legacy actions' "Run node.js code with CLubhouse", and they are using the API directly.

@dylburger
Copy link
Contributor

@sergioeliot2039 I think we can be a little loose on #2 and #3 if it's an official library. It looks like the maintainers are pushing new releases every so often. It's probably the case that the API hasn't changed in the last few months. This is a tough call but in this specific case I'd use the npm package. Clubhouse isn't the largest app, and that's part of the reason why I think the number of downloads is low.

@sergioeliot2039
Copy link
Collaborator Author

@jcortes this ready for a new review.

@jcortes jcortes self-requested a review December 21, 2021 16:48
Copy link
Collaborator

@jcortes jcortes left a comment

Choose a reason for hiding this comment

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

Just a couple of suggestions and you are good to go! Thanks for making those changes!

@jcortes jcortes self-requested a review December 22, 2021 16:23
Copy link
Collaborator

@jcortes jcortes left a comment

Choose a reason for hiding this comment

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

Sorry I forgot my last comment about returning the statusCode not as an array but as a single value.

jcortes
jcortes previously approved these changes Dec 28, 2021
Copy link
Collaborator

@jcortes jcortes left a comment

Choose a reason for hiding this comment

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

It looks good to me!

@dannyroosevelt
Copy link
Collaborator

dannyroosevelt commented Jan 27, 2022

The Create Story action functionally works, but it returns the below console.log() statement:
CIRCULAR_RETURN_VALUEReturn value contains [Circular] reference(s) that were filtered out.

@dannyroosevelt
Copy link
Collaborator

@sergioeliot2039 I pushed a few changes and created a new PR from the pipedream repo, so it's in sync w/ master

@vercel
Copy link

vercel bot commented Feb 17, 2022

@sergioeliot2039 is attempting to deploy a commit to the Pipedreamers Team on Vercel.

A member of the Team first needs to authorize it.

@sergioeliot2039
Copy link
Collaborator Author

@dannyroosevelt

this has been corrected. i have move its card to ready for qa. but let me know if it should be in ready for review instead.

@dannyroosevelt
Copy link
Collaborator

Looks good, @sergioeliot2039 ! I see there are some Lint errors you'll need to address before merging.

@sergioeliot2039
Copy link
Collaborator Author

Great, @dylburger .
I fixed lint errors. Merging blocked because of Vercel - pipedream-docs.
Your turn (I guess)!

@dannyroosevelt dannyroosevelt merged commit 9785688 into PipedreamHQ:master Mar 3, 2022
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.

[APP] Rename Clubhouse.io to Shortcut [ACTION] Clubhouse.io

5 participants