The Aggregations Framework is responsible for presenting a user-friendly means of visualizing potential filters based on the supplied data within the user interface (UI). This aspect of the framework primarily focuses on collecting data from the backend, ensuring it is properly typed, and subsequently displaying it with interactive features. These interactive elements empower users to effortlessly filter the results showcased on the screen, thus enhancing their overall experience.
AggTypes
Name
Value
TERM
'term'
BOOL
'bool'
DATE_HISTOGRAM
'date_histogram'
HISTOGRAM
'histogram'
BROWSE
'browse'
DATE_RANGE
'date_range'
RANGE
'range'
SLIDER
'slider'
AggBuilder
This functional component, as implied by its name, serves as the component intended for use in views. Its primary function is to interpret, construct, and present aggregation objects that are transmitted from the backend. It plays a crucial role in rendering and displaying these aggregations within the user interface, making the data provided by the backend more accessible and comprehensible to the end-users.
AggUtils
This typescript file is used to provide interfaces and methods that are required by the AggBuilder, some of them are: