Skip to content

Conversation

@labkey-nicka
Copy link
Contributor

@labkey-nicka labkey-nicka commented Jan 28, 2026

Rationale

This adds request tracking and cancelling in withQueryModels for a few of the most common data loading requests. This seeks to address #455.

Related Pull Requests

Changes

  • Update withQueryModels to track and cancel requests for loadRows, loadSelections and loadTotalCount
  • Add RequestHandler handling for selectRows and selectRowsDeprecated
  • Skip error logging when request is aborted
  • Update a few endpoint wrappers to use request()

Copy link
Contributor

@labkey-alan labkey-alan left a comment

Choose a reason for hiding this comment

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

Looks good to me

`Problem in selecting all items in the grid ${key} ${schemaQuery.schemaName} ${schemaQuery.queryName}`
),
});
return request<SelectResponse>({
Copy link
Contributor

Choose a reason for hiding this comment

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

Happy to see these usages of Ajax.request updated

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.

3 participants