this feature allows app developers to make the default layout so that
there can be widgets that cannot be deleted, resized or moved by the
users when they go to the custom homepage edit mode.
Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi>
Allows customizing homepage components, their placement, size and
individual settings. For maximum size and settings, the existing home
components should change to use `createCustomizableCardExtension`
function. This disables the default `Settings` entity and replaces it
with form using react-json-schema-form.
relates to #16535
Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi>
Some commands currently error, and others are simply formatted inconsistently.
This format seems to work and be the most popular/common,
so I applied it to all similar occurrences.
Signed-off-by: Jan Van Bruggen <JanVB@verily.com>
* add new toolkit component
Signed-off-by: Emma Indal <emmai@spotify.com>
* add toolkit content test
Signed-off-by: Emma Indal <emmai@spotify.com>
* add key to toolkit items
Signed-off-by: Emma Indal <emmai@spotify.com>
* add reusable company logo component
Signed-off-by: Emma Indal <emmai@spotify.com>
* export root ref from search plugin
Signed-off-by: Emma Indal <emmai@spotify.com>
* add homepage template to storybook
Signed-off-by: Emma Indal <emmai@spotify.com>
* export new homepage components from plugin
Signed-off-by: Emma Indal <emmai@spotify.com>
* fix imports
Signed-off-by: Emma Indal <emmai@spotify.com>
* add search plugin to dependencies
Signed-off-by: Emma Indal <emmai@spotify.com>
* add home plugin changeset
Signed-off-by: Emma Indal <emmai@spotify.com>
* add storybook changeset
Signed-off-by: Emma Indal <emmai@spotify.com>
* delete changeset for storybook
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
* delete duplicated search context provider
Signed-off-by: Emma Indal <emmai@spotify.com>
* use list item text props
Signed-off-by: Emma Indal <emmai@spotify.com>
* update home plugin documentation + add customize app docs
Signed-off-by: Emma Indal <emmai@spotify.com>
* named exports
Signed-off-by: Emma Indal <emmai@spotify.com>
* add homepage components to storybook
Signed-off-by: Emma Indal <emmai@spotify.com>
* use app config as default for company logo
Signed-off-by: Emma Indal <emmai@spotify.com>
* rename homepage template
Signed-off-by: Emma Indal <emmai@spotify.com>
* use props instead of context for tools, update Content component of card extension to accept props
Signed-off-by: Emma Indal <emmai@spotify.com>
* fix api reports + docstrings + markers
Signed-off-by: Emma Indal <emmai@spotify.com>
* export ToolkitContentProps instead of Tool
Signed-off-by: Emma Indal <emmai@spotify.com>
* docs and stories fixups
Signed-off-by: Emma Indal <emmai@spotify.com>
* do not export rootRouteRef from search plugin
Signed-off-by: Emma Indal <emmai@spotify.com>
* update docs links
Signed-off-by: Emma Indal <emmai@spotify.com>
* change unpacking of props
Signed-off-by: Emma Indal <emmai@spotify.com>
* delete extra fragment
Signed-off-by: Emma Indal <emmai@spotify.com>
* fixup searchbar border styles
Signed-off-by: Emma Indal <emmai@spotify.com>