Instead of just referencing the legacy docs/plugins documentation, adapt
and add them as new pages under frontend-system/building-plugins/ with
updated imports and examples for the new frontend system.
Also moves the OpenAPI sidebar entry under Framework instead of top-level.
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
Mark all pages in docs/plugins/ with legacy admonition banners pointing
to the appropriate new frontend system and backend system documentation.
Rename the sidebar section to "Plugins (Legacy)" and move it lower in
the navigation hierarchy. Add cross-references from the new frontend
system building-plugins guide to relevant cross-cutting topics (i18n,
analytics, feature flags, search) that still live in the legacy section.
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
* test capture search bar events
Signed-off-by: Emma Indal <emmai@spotify.com>
* capture search bar events
Signed-off-by: Emma Indal <emmai@spotify.com>
* only run onChange method if provided, otherwise set term
Signed-off-by: Emma Indal <emmai@spotify.com>
* changeset
Signed-off-by: Emma Indal <emmai@spotify.com>
* unconditionally call analytics API
Signed-off-by: Emma Indal <emmai@spotify.com>
* update changeset to be less specific to GA
Signed-off-by: Emma Indal <emmai@spotify.com>
* move analytics tracking to SearchBarBase
Signed-off-by: Emma Indal <emmai@spotify.com>
* add search to key events
Signed-off-by: Emma Indal <emmai@spotify.com>
* capture types as analytics context attribute, only for SearchBar
Signed-off-by: Emma Indal <emmai@spotify.com>
* move AnalyticsContext to within SearchContextProvider
Signed-off-by: Emma Indal <emmai@spotify.com>
* refactor search tracking out to its own component
Signed-off-by: Emma Indal <emmai@spotify.com>
* captures not only google analytics
Signed-off-by: Emma Indal <emmai@spotify.com>