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

Items Page Update #123

Merged
merged 8 commits into from
Dec 16, 2023
Merged

Items Page Update #123

merged 8 commits into from
Dec 16, 2023

Conversation

pevner-p2
Copy link
Collaborator

The new Monday API limits how much data can come back in an item query, and now recommends using the items_page functionality instead. See https://developer.monday.com/api-reference/docs/migrating-to-v-2023-10#case-1-queries-that-use-pagination for details. This expands our client to include support for querying and cursors and limits where items_page is used.

@pevner-p2
Copy link
Collaborator Author

I'm still doing some manual testing for this, applying it to our own codebase, but I figured it was best to get it out for review before that was completed.

@JUSTFUN0368
Copy link
Contributor

JUSTFUN0368 commented Dec 7, 2023

Hi @pevner-p2, I've made some updates in my pull request that might be helpful. Could you please take a look and see if you'd like to use any of these changes? I'm currently using my version, and I would like it to align with the main version for consistency and better integration. Thanks!

@pevner-p2
Copy link
Collaborator Author

@rhymiz and @chdastolfo, I believe this is now ready for prime-time, I've tested it out on our internal stuff to much success, now waiting on your reviews.

@JUSTFUN0368, I definitely want to grab your improvements to the queries for column type specific values. However, I'd like to do it in a separate PR, since the lack of cursor and querying functionality is strongly blocking internal updates here, and I suspect is a problem for other users as well.

@JUSTFUN0368
Copy link
Contributor

All column_id's and group_id's have to be a string. In move_item_to_group_query(), update_item_query(), add_file_to_column_query(). I think these are all queries where you would have to change that

@pevner-p2
Copy link
Collaborator Author

JUSTFUN0368

Good catch, PR updated!

@pevner-p2
Copy link
Collaborator Author

@rhymiz and @chdastolfo, I know you're both busy, but if you've got even an estimate of when you'll be available to review this, it would a big help.

@chdastolfo
Copy link
Collaborator

chdastolfo commented Dec 14, 2023 via email

@pevner-p2 pevner-p2 merged commit 540b059 into master Dec 16, 2023
1 check passed
@delete-merged-branch delete-merged-branch bot deleted the items-page-update branch December 16, 2023 00:09
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.

4 participants