Draft: Refactor: clean up pagination and query refetch logic
What does this MR do and why?
This is a follow up based on the feedback provided in !206815 (merged)
Refactor: clean up pagination and query refetch logic
- Remove redundant watch block (Apollo refetches automatically)
- Extract resetPagination method to reduce duplication
- Use computed property for hasPreviousPage check
Changelog: changed EE: true
References
- !206815 (comment 2800497462)
- !206815 (comment 2800497473)
- !206815 (comment 2800497488)
- #569792 (closed)
Screenshots or screen recordings
Before | After |
---|---|
![]() |
How to set up and validate locally
- In GDK, select a project and configure the Jira integration
- See gdk.test_3000_gitlab-org_gitlab-test_-_settings_integrations_jira_edit for the settings
- If you require Jira Cloud credentials, I'm happy to share mine. Please contact me in Slack.
- View the Jira issues in the project. Use the navigation/search, click into a Jira issue, confirm it all works.
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Anton Smith