-
Notifications
You must be signed in to change notification settings - Fork 5.4k
[Components] zoom_admin - new components #16967
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
base: master
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Skipped Deployment
|
Someone is attempting to deploy a commit to the Pipedreamers Team on Vercel. A member of the Team first needs to authorize it. |
WalkthroughTwo new action modules were added to the Zoom Admin integration: one for listing users and another for listing a user's cloud recordings. Corresponding API methods were implemented in the Zoom Admin app module to support these actions, each handling pagination and parameterization for their respective Zoom API endpoints. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant ListUsersAction
participant ZoomAdminApp
participant ZoomAPI
User->>ListUsersAction: Trigger "List users" action
ListUsersAction->>ZoomAdminApp: Call listUsers(params, nextPageToken)
ZoomAdminApp->>ZoomAPI: GET /users with params
ZoomAPI-->>ZoomAdminApp: Return user data
ZoomAdminApp-->>ListUsersAction: Return aggregated user data
ListUsersAction-->>User: Return user list
sequenceDiagram
participant User
participant ListUserRecordingsAction
participant ZoomAdminApp
participant ZoomAPI
User->>ListUserRecordingsAction: Trigger "List User Cloud Recordings" action
ListUserRecordingsAction->>ZoomAdminApp: Call listUserCloudRecordings(userId, params)
ZoomAdminApp->>ZoomAPI: GET /users/{userId}/recordings with params
ZoomAPI-->>ZoomAdminApp: Return recordings data
ZoomAdminApp-->>ListUserRecordingsAction: Return aggregated recordings data
ListUserRecordingsAction-->>User: Return recordings list
Poem
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
components/zoom_admin/zoom_admin.app.mjsOops! Something went wrong! :( ESLint: 8.57.1 Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'jsonc-eslint-parser' imported from /eslint.config.mjs components/zoom_admin/actions/list-users/list-users.mjsOops! Something went wrong! :( ESLint: 8.57.1 Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'jsonc-eslint-parser' imported from /eslint.config.mjs components/zoom_admin/actions/list-user-cloud-recordings/list-user-cloud-recordings.mjsOops! Something went wrong! :( ESLint: 8.57.1 Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'jsonc-eslint-parser' imported from /eslint.config.mjs ✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Thank you so much for submitting this! We've added it to our backlog to review, and our team has been notified. |
Thanks for submitting this PR! When we review PRs, we follow the Pipedream component guidelines. If you're not familiar, here's a quick checklist:
|
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.
Actionable comments posted: 0
🧹 Nitpick comments (1)
components/zoom_admin/actions/list-users/list-users.mjs (1)
39-44
: Consider using integer type for consistency.The
pageNumber
prop is defined asstring
type, but in the main app file's prop definitions (lines 187-193),pageNumber
is defined asinteger
type. Consider changing this tointeger
for consistency across the codebase.pageNumber: { - type: "string", + type: "integer", label: "Page Number", description: "The page number of the current page in the returned records", optional: true, + min: 1, },
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (3)
components/zoom_admin/actions/list-user-cloud-recordings/list-user-cloud-recordings.mjs
(1 hunks)components/zoom_admin/actions/list-users/list-users.mjs
(1 hunks)components/zoom_admin/zoom_admin.app.mjs
(2 hunks)
🔇 Additional comments (4)
components/zoom_admin/zoom_admin.app.mjs (2)
361-370
: LGTM! Well-implemented method following existing patterns.The
listUserCloudRecordings
method correctly follows the established pattern used by other list methods in this file. The implementation properly handles the userId parameter, spreads additional params, and returns the data portion of the response.
404-414
: LGTM! Consistent implementation with proper pagination support.The
listUsers
method is well-implemented and follows the same pattern as other list methods. It correctly handles pagination withnext_page_token
and parameter spreading.components/zoom_admin/actions/list-user-cloud-recordings/list-user-cloud-recordings.mjs (1)
1-71
: LGTM! Well-structured action with comprehensive configuration.The action is properly implemented with:
- Comprehensive prop definitions with clear descriptions and validation
- Correct parameter mapping from camelCase to snake_case
- Proper use of the pagination utility
- Appropriate summary message and return value
The implementation follows the established patterns in the codebase and provides good user experience with detailed prop descriptions and validation.
components/zoom_admin/actions/list-users/list-users.mjs (1)
1-94
: LGTM! Comprehensive action with excellent configuration options.The action is excellently implemented with:
- Extensive prop definitions covering all major filtering and pagination options
- Clear descriptions and appropriate validation
- Proper use of the pagination utility
- Consistent parameter mapping and error handling
The implementation provides great flexibility for users to filter and paginate through Zoom users effectively.
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.
Hi @jocarino , thanks for your contribution!
The package.json file needs a version bump to reflect the new components. Also, we need to run ESLint on these components:
npx eslint --fix components/zoom_admin
I'm moving this forward to be QA'd.
Hi everyone, all test cases are passed! Ready for release! Test report |
WHY
Add ability to list users
Add ability to list cloud recordings from specific user (with user id)
Summary by CodeRabbit
New Features
Documentation