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

avoid huge autocomplete payload #164

Open
stefanprobst opened this issue Oct 21, 2024 · 0 comments
Open

avoid huge autocomplete payload #164

stefanprobst opened this issue Oct 21, 2024 · 0 comments

Comments

@stefanprobst
Copy link
Contributor

stefanprobst commented Oct 21, 2024

currently we request all autocomplete results from /visualisations/entityautocomplete/, i.e. 5 MB of data.

also, it seems that the endpoint duplicates every result:

export interface HierarchyNode {
  group: "Institution" | "Person" | "Funktion";
  label: string;
  pk: number;
  // FIXME: Duplicates [label, group, pk].
  value: [string, string, number];
}
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

No branches or pull requests

1 participant