-
Notifications
You must be signed in to change notification settings - Fork 7.7k
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: Add crowd.dev node and trigger node #6082
Conversation
b09d83b
to
995699d
Compare
Thanks a lot for the submission. I always thought the company is called "crowd.dev", is there a reason why credentials + nodes have the name "crowd" and not rather "crowdDev"? It also looks like the trigger node is using the old and deprecated request-based helper |
6911348
to
d416988
Compare
@janober, Thanks for the review, the specified issues have been fixed. |
Hey @perseus-algol, Just noticed this is now ready for review, I have it on my list for Monday 👍🏻 |
import type { INodeType, INodeTypeDescription } from 'n8n-workflow'; | ||
import { allProperties } from './descriptions'; | ||
|
||
export class CrowdDevNode implements INodeType { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should not be "crowdDevNode" just "crowdDev". Is obviously the same for the name, defaults, context file, ...
@@ -0,0 +1,18 @@ | |||
{ | |||
"node": "n8n-nodes-base.crowdDev", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That has to actually match with the name of the node. So is wrong right now, but will be correct once the node name got fied.
I was made specified renames. {
displayName: 'Ignore SSL Issues',
name: 'allowUnauthorizedCerts',
type: 'boolean',
default: false,
description: 'Whether to connect even if SSL certificate validation is not possible',
}, |
@perseus-algol that is the one, then in the node you would set the option based on that value. |
@perseus-algol looking good, I will give it another proper look over tomorrow morning and see if we can can get this into next weeks release. |
github.com:perseus-algol/n8n into n8n-nodes-crowd
Hey @perseus-algol, Just finishing up the docs side, This all looks good although one thing that confuses me as a user is Activity > Create or Update with a member. I am able to add multiple key / values for a username but I don't know what those fields should actually be, I can also have multiple emails in there. |
Hi @Joffcom This is needed because in crowd.dev member can have a usernames at several platforms. E.g twitter and github. And here users will submit "twitter: oneusername, github: anotherusername". So we leave completely up to users, which platforms and usernames they want to include. But I believe some description can be added here, showing that it's key-value pairs of platform name (e.g twitter, github, etc) and username on this platform. Regarding emails - it is an array. In case if a member has several emails associated with him. Hope that helps! |
@garrrikkotua That would work, Maybe calling it "platform" instead of key for the display, Would you typically see people adding all of the options at one? From what I can see in the API docs only username is required for the member object so maybe the others can be under an additional field within that section so it doesn't look so confusing. |
Yeah renaming key into platform would be great (not sure if it's possible). True, usually users submit only one platform. But putting it into a another section doesn't make sense. I would leave it as it is. |
Hey @garrrikkotua, By keeping it like it is and showing the optional fields it won't fit our normal UI pattern for nodes, It wouldn't need to be in a new section just moved under an additional options or extra fields button. So right now to get to that I have press Choose for the Member then we see the 4 different member options, My assumption looking at it would be that I need to complete all of those fields which doesn't appear to be the case. We could have display name, Emails and Joined At as other options that can be added as a user needs them to keep things looking clean. Not sure how long we have until we are locked from the |
Hey @perseus-algol, Yeah anything required should be visible. The lock for the next release is tomorrow morning so I will do one more check of this first thing and hopefully we will be good to go. |
github.com:perseus-algol/n8n into n8n-nodes-crowd
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #6082 +/- ##
==========================================
+ Coverage 28.65% 28.74% +0.08%
==========================================
Files 3000 3046 +46
Lines 186310 187223 +913
Branches 20601 20705 +104
==========================================
+ Hits 53390 53814 +424
- Misses 132110 132573 +463
- Partials 810 836 +26
☔ View full report in Codecov by Sentry. |
Morning, Looks like we have missed the |
* master: fix(core): Remove typeorm patches, but still enforce transactions on every migration (#6594) feat(Strava Node): Add hide_from_home field in Activity Update (#5883) feat(Notion Node): Add option to update icon when updating a page (#5670) refactor: Setup node context API, and consolidate code between Webhook and Wait nodes (no-changelog) (#6464) fix(core): Fix migrations for MySQL/MariaDB (#6591) fix(editor): Show retry information in execution list only when it exists (#6587) fix(Strapi Node): Fix issue with pagination (#4991) refactor(Item Lists Node): Refactoring (#6575) feat: Add crowd.dev node and trigger node (#6082) ci: Add Github Action to enforce template to issues (#5295) fix(core): Route `/rest/workflows/new` correctly (no-changelog) (#6572) fix(Brevo Node): Rename SendInBlue node to Brevo node (#6521) fix(XML Node): Fix issue with not returning valid data (#6565) feat(HTTP Request Node): New http request generic custom auth credential (#5798) fix(core): Fix credentials test (#6569) fix(core): Ensure valid `logger` is passed to every migration (no-changelog) (#6563) docs: Add irreversible change warning for n8n@0.234.0 (no-changelog) (#6558) feat: Add various source control improvements (#6533) feat(Twitter Node): Node overhaul (#4788)
Got released with |
Adds new node and trigger node crowd.dev