xref: /aosp_15_r20/external/perfetto/ui/src/components/widgets/README (revision 6dbdd20afdafa5e3ca9b8809fa73465d530080dc)
1This directory contains "widgets" -- standalone reusable components.
2
3`sql` subdirectory contains "SQL widgets", which are responsible for fetching
4the necessary data from the trace processor in addition to displaying it.
5
6The current split between `ui/src/widgets` and `ui/src/frontend/widgets` (this
7directory) is semi-arbitrary:
8- `ui/src/widgets` contains low-level primitives (button, menu, etc) which
9  depend only on //base.
10- `ui/src/frontend/widgets` doesn't have dependency restrictions and contains
11  higher-level primitives (e.g. SQL table viewer)
12
13Both of these directories will be merged into one once the layering is sorted
14out.
15