Commit Graph

12 Commits

Author SHA1 Message Date
Heikki Hellgren 1853ffa09b feat: allow specifying static widgets to customizable home
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>
2023-08-03 09:07:20 +03:00
ivgo bf67dce731 Make title a more optional parameter
Signed-off-by: ivgo <ivgo@spreadgroup.com>
2023-07-18 10:48:52 +02:00
ivgo 0b89ca8ce2 Allow uiSchema to be set as part of the settings for HomePage
Signed-off-by: ivgo <ivgo@spreadgroup.com>
2023-07-11 09:25:02 +02:00
Emma Indal 82cc463ced update home documentation code examples
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2023-05-26 10:11:20 +02:00
Heikki Hellgren 2e4940e1a8 feat: allow more customization of the custom homepage
This allows users to modify the actual grid properties from backstage
interface.

Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi>
2023-05-23 23:01:52 +03:00
kmarkow 8d3ebb7b0c Code Review: Update documentation
Signed-off-by: kmarkow <kamilmarkow@gmail.com>
2023-05-19 08:29:26 -04:00
Heikki Hellgren 760f521b97 feat: customizable homepage
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>
2023-04-18 14:45:07 +03:00
Jan Van Bruggen c51efce2a0 Update docs to always use yarn add --cwd for app & backend
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>
2023-02-13 09:40:20 -07:00
Emma Indal c64c33f74b dependency and docs fixups
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-04-11 13:52:04 +02:00
LvffY f3101fb9d2 [#10459] 📝 Update documentation to use yarn --cwd arg
Signed-off-by: LvffY <louberger@hotmail.fr>
2022-03-30 15:53:05 +02:00
Emma Indal bdf1419d20 [Home] first homepage template to storybook + two more home components (#8434)
* 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>
2022-01-10 11:40:07 +01:00
Ruben Lindström 2b7d3455b5 Composable Homepage (#6486)
feat: implement homepage plugin
2021-08-17 14:44:30 +02:00