Skip to content

summary mode implementation #6

@seveibar

Description

@seveibar

In relation to RFC: Supporting Large Datasets. The collaboration server should minimize payloads by returning "sampleSummary" which contains enough information to display aggregate data on samples, but not enough information to view the sample. When the collaborative session is started in summarizeSamples mode, instead of returning udt_json that looks like this:

{
  "interface": { /* ... */ },
  "samples": [ /* ... */ ]
}

It returns a SummarizedUDTObject that looks like the following:

{
  "interface": { /* ... */ },
  "sampleSummary": [
    { "state": "complete", hasAnnotation: false, version: 32 }
    // ...
  ]
}

The summarizeSamples mode should be a column on the session table and a POST body parameter to POST /api/session.

Diffs should be run against sampleSummary instead of samples in summarizeSamples mode.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions