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

/query endpoint roadmap #1020

Open
7 of 13 tasks
adrianmroz-allegro opened this issue Jan 30, 2023 · 0 comments
Open
7 of 13 tasks

/query endpoint roadmap #1020

adrianmroz-allegro opened this issue Jan 30, 2023 · 0 comments
Assignees

Comments

@adrianmroz-allegro
Copy link
Contributor

adrianmroz-allegro commented Jan 30, 2023

Draft

Required

Nice to have (ordered by priority and complexity)

  • Rewrite fetching logic in components using hooks (look for client usages of DataCube.executor!)
    • Hook for comparing previous essence
    • Hook for debounced fetch
    • Handle aborted DatasetRequests - right now we have some wierd null
  • Remove Ajax.query and whole static class - functions are better
  • Remove plywood fields from ClientDataCube (and ClientMeasure ...), if needed introduce simple fields like isApproximate instead of inspecting expressions
  • Introduce some mechanism for easy access to three objects - view definition, essence and hash on client. They are just three different views on the same data
  • Create ClientEssence and ServerEssence
    • ClientEssence has additional UI fields like pinned measures, measure formats
    • ServerEssence can be simple POJsO with few convenience accessors - it is an ephemeral object, that's created for each request and destroyed after
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant