getodk / getodk/central

Reduce number of requests in SubmissionShow

Open
#1,285 0 comments 1 reaction 0 assignees View on GitHub
frontend performance
Dominant language
JavaScript
Stars
226
Forks
235
Avg merge
2d 22h
Merged PRs (30d)
19

Description

In `SubmissionShow`, we request the OData for the submission, as well as the submission's first version. The only properties we use from the OData are `__id`, `__system`, and `meta` (for the instance name). The only information we use from the first version is the user agent. Now that getodk/central-backend#783 is in place, I think we could probably consolidate these two requests. I think if we request just the logical submission, that will include all the information we need, including the first user agent and the current instance name.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.