Commit Graph

135 Commits

Author SHA1 Message Date
Fredrik Adelöw 7eeb65fd77 fix review comments
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-12-20 16:06:16 +01:00
Dede Hamzah 8e9d7e9200 Exporting the type
Signed-off-by: Dede Hamzah <dehamzah@gmail.com>
2021-12-16 16:31:54 +07:00
Dede Hamzah dd480029ec Export icon props for SidebarSearchModal Component
Signed-off-by: Dede Hamzah <dehamzah@gmail.com>
2021-12-10 17:55:18 +07:00
Dede Hamzah 71dc1bba1c export SidebarSearchProps
Signed-off-by: Dede Hamzah <dehamzah@gmail.com>
2021-12-10 17:36:17 +07:00
Dede Hamzah 13d8c6c94b Export icon props in SidebarSearch component
Signed-off-by: Dede Hamzah <dehamzah@gmail.com>
2021-12-10 10:53:46 +07:00
Johan Haals dd77b5eb12 Merge pull request #8283 from backstage/mob/identity-api
core-plugin-api: stabilize IdentityApi
2021-12-08 14:29:03 +01:00
Patrik Oldsberg b191e1737a packages,plugins: avoid usage of react-dom in tests
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-12-07 17:40:51 +01:00
Emma Indal 382e3a94b3 [Search] export search api interface (#8334)
* export api interface from plugin

Signed-off-by: Emma Indal <emmai@spotify.com>

* add changeset

Signed-off-by: Emma Indal <emmai@spotify.com>

* export as type

Signed-off-by: Emma Indal <emmai@spotify.com>

* update api reports

Signed-off-by: Emma Indal <emmai@spotify.com>
2021-12-02 14:26:32 +01:00
Johan Haals e9471d274c Use BackstageUserIdentity, fix tests
Co-authored-by: blam <ben@blam.sh>
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-12-02 13:32:35 +01:00
Ben Lambert afa656ae6b Merge pull request #8302 from backstage/feat/search-modal-context
[Search] Search Modal now relies on the Search Context
2021-12-02 13:08:51 +01:00
Camila Belo d11fb7fe04 refactor(search): use callback hook on the modal toggle
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2021-12-02 11:36:26 +01:00
Camila Belo 662636227b feat(search): move the modal state to context
Co-authored-by: Emma Indal <emma.indahl@gmail.com>
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2021-12-01 17:38:17 +01:00
Camila Belo 00da5bfca7 feat(search): add optional icon and secondary action for default result items
Co-authored-by: Emma Indal <emma.indahl@gmail.com>
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2021-12-01 17:05:28 +01:00
Camila Belo 9c19328da9 feat(search): Add optional clear button prop
Co-authored-by: Emma Indal <emma.indahl@gmail.com>
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2021-12-01 15:33:13 +01:00
Patrik Oldsberg 8a96019a39 Merge branch 'master' into rugvip/test-port 2021-11-22 17:33:10 +01:00
Patrik Oldsberg 29ef695410 packages,plugins: migrate to using TestApiProvider and Registry
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-11-18 11:28:46 +01:00
blam 06065c6003 chore: fixed better namespacing for the routeRefs
Signed-off-by: blam <ben@blam.sh>
2021-11-17 20:43:14 +01:00
blam 1332a98a01 chore: fixing deprecation warnings for all the things that are in the monorepo
Signed-off-by: blam <ben@blam.sh>
2021-11-17 20:24:20 +01:00
Emma Indal 28b34419e4 api reports and changeset update
Signed-off-by: Emma Indal <emmai@spotify.com>
2021-11-17 17:43:18 +01:00
Emma Indal b02a698947 use material-uis autoFocus prop as an option, not default
Signed-off-by: Emma Indal <emmai@spotify.com>
2021-11-17 17:18:42 +01:00
Emma Indal 45f3a67c4c add focused prop to both SearchBar and SearchBarBase components + storybook example
Signed-off-by: Emma Indal <emmai@spotify.com>
2021-11-12 12:39:31 +01:00
Emma Indal abe2cc4b00 add search modal to storybook
Signed-off-by: Emma Indal <emmai@spotify.com>
2021-11-11 11:34:32 +01:00
Emma Indal b0efce13be update terminology of pager buttons, update size and margin
Signed-off-by: Emma Indal <emmai@spotify.com>
2021-11-11 10:44:11 +01:00
Emma Indal e44d62dfe7 close modal on view all results
Signed-off-by: Emma Indal <emmai@spotify.com>
2021-11-11 10:43:05 +01:00
Emma Indal 3323bd8a9d decrease debounce time
Signed-off-by: Emma Indal <emmai@spotify.com>
2021-11-11 10:41:58 +01:00
Emma Indal 110166bc8a focus search input field on mount
Signed-off-by: Emma Indal <emmai@spotify.com>
2021-11-11 10:39:53 +01:00
Rod Machen 5dcea2586c Add Search Modal component (#7316)
Signed-off-by: rodmachen <rmachen@expediagroup.com>
2021-11-11 09:26:15 +01:00
Fredrik Adelöw 56f182dde2 Remove all internal usage of the Json types
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-10-22 16:11:35 +02:00
Emma Indal 56bd537256 [Search] add search api how to guide + search bar custom placeholder (#7535) 2021-10-11 21:55:42 +02:00
Eric Peterson 81a41ec249 Apply extension-names codemod to monorepo.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-10-04 19:29:43 +02:00
Eric Peterson 01a468aee3 Merge pull request #6677 from backstage/feat/analytics-api
Introduce the Analytics API, core events, and a GA implementation provider
2021-10-04 18:55:20 +02:00
Patrik Oldsberg ca0559444c avoid usage of to*Case + add project lint rule
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-10-02 18:43:11 +02:00
Eric Peterson 2e0adeb664 Self-review
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-09-30 15:46:19 +02:00
Eric Peterson edd5293d68 Review feedback.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-09-30 15:46:19 +02:00
Patrik Oldsberg 8142a8ecb2 packages,plugins: add package documentation
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-14 18:47:53 +02:00
Eric Peterson 7f221c6c6b Merge pull request #7079 from backstage/vinzscam/search-type-storybook
search-type: add to storybook
2021-09-10 20:40:11 +02:00
Vincenzo Scamporlino 7bd1a87e15 fix comments
Signed-off-by: Vincenzo Scamporlino <me@vinzscam.dev>
2021-09-10 15:05:09 +02:00
Vincenzo Scamporlino f6188773a5 search-type: add to storybook
Signed-off-by: Vincenzo Scamporlino <me@vinzscam.dev>
2021-09-06 17:00:29 +02:00
Eric Peterson 3a868d8800 ConfigReader-ify SearchBar test.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-09-06 09:30:35 +02:00
Eric Peterson 97e13d178d Prevent chromatic build error on SearchBar
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-09-05 21:46:04 +02:00
Ruben Lindström 7f00902d97 Search Bar Home Page Component (#7013)
feat: add search bar home page component
2021-09-03 14:50:14 +02:00
Oliver Sand f8546dadbf Force adopters to include the search result pager on their own
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-09-02 10:22:42 +02:00
Oliver Sand 66be814579 Remove scrolling behavior
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-09-02 10:22:41 +02:00
Oliver Sand 532b4cc656 Rework search paging based on cursors
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-09-02 10:22:41 +02:00
Oliver Sand 6876c48423 Implement offset and limit based paging in frontend
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-09-02 10:22:40 +02:00
Camila Belo 3c13d09b4b Merge pull request #6598 from kuangp/fix/searchBar
fix(search): Fix search page to respond to searches made from sidebar
2021-08-24 18:17:17 +02:00
Phil Kuang 16ec8381ad fix(search): Fix search page to respond to searches made from sidebar
Signed-off-by: Phil Kuang <pkuang@factset.com>
2021-08-24 11:01:36 -04:00
Fredrik Adelöw 923491eece run prettier formatting
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-08-09 11:54:38 +02:00
Eric Peterson c66b6b34f1 Merge pull request #6607 from SDA-SE/feat/type-filter
Change `<SearchType>` design to follow Figma
2021-08-02 18:14:10 +02:00
Emma Indal c31fd98a4f remove changes to components
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2021-08-02 14:22:59 +02:00