Commit Graph

235 Commits

Author SHA1 Message Date
Fredrik Adelöw d9c8720dd4 just some comment cleanup
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2023-02-01 13:52:06 +01:00
Camila Belo 5f16dddc96 feat(search): use extensions on search pages and modals
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2023-01-28 10:05:15 +01:00
Camila Belo 2f91e1684e feat(search): create catalog, explore, tools, and search extensions
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2023-01-28 10:05:15 +01:00
Camila Belo a24387c6de fix(search): modal input focus
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2023-01-15 21:48:58 +01:00
Carlos Esteban Lopez 1daac71e74 fix: Apply linter <span> rule
Signed-off-by: Carlos Esteban Lopez <lcarlosesteb@vmware.com>
2023-01-10 16:07:40 -05:00
Patrik Oldsberg 530a1f1299 plugins: replace react-router mocks with react-router-dom
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-12-12 21:30:57 +01:00
Patrik Oldsberg 2e701b3796 refactor react-router -> react-router-dom
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-12-10 15:17:53 +01:00
Camila Belo ca8d5a6eae refactor: apply review suggestions
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-09-01 12:39:45 +02:00
Camila Belo 412825d9eb feat(search-react): add use parent context prop
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-09-01 11:25:38 +02:00
Patrik Oldsberg 9f1feb5464 plugins: fix tests for react router bump
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Co-authored-by: blam <ben@blam.sh>
Co-authored-by: Johan Haals <johan.haals@gmail.com>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-08-29 14:10:52 +02:00
Emma Indal 43e423cb85 fixup import
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-07-18 10:29:55 +02:00
Emma Indal f22df2248d delete deprecations
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-07-18 10:09:01 +02:00
Camila Belo 8382852597 refactor(search-react): apply review suggestions
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-06-23 13:28:43 +02:00
Camila Belo 9592a6cefd fix(search): race condition on search bar test
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-06-23 10:56:01 +02:00
Camila Belo a620f777b3 refactor(search): apply review suggestion
Use search context checker in search modal and create local context only if needed.

Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-06-21 13:46:18 +02:00
Camila Belo c7285cac4c fix(search): search modal context scope
Only create a search context for the modal if there is no parent context already defined.

Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-06-21 11:54:38 +02:00
Eric Peterson effb3b27a4 Further review feedback.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-06-10 11:29:38 +02:00
Anders Näsman 2dc4818541 apply review feedback
Signed-off-by: Anders Näsman <andersn@spotify.com>
2022-06-10 10:28:45 +02:00
Anders Näsman 295eb30778 remove unnecessary deprecation
Signed-off-by: Anders Näsman <andersn@spotify.com>
2022-06-10 10:27:58 +02:00
Anders Näsman 1b1c47f4a7 update imports
Signed-off-by: Anders Näsman <andersn@spotify.com>
2022-06-10 10:27:57 +02:00
Anders Näsman b3d64b448e api-report cleanup
Signed-off-by: Anders Näsman <andersn@spotify.com>
2022-06-10 10:27:57 +02:00
Anders Näsman a7a0e2520a cleanup
Signed-off-by: Anders Näsman <andersn@spotify.com>
2022-06-10 10:27:57 +02:00
Anders Näsman bc6ce63e7b Move DefaultResultListItem from @backstage/plugin-search to @backstage/plugin-search-react and deprecate it in @backstage/plugin-search, and properly deprecate SearchResult in @backstage/plugin-search
Signed-off-by: Anders Näsman <andersn@spotify.com>
2022-06-10 10:27:57 +02:00
Anders Näsman b3389f1eee remove Search*Next components
Signed-off-by: Anders Näsman <andersn@spotify.com>
2022-06-10 10:27:57 +02:00
Anders Näsman ccbabfd4bd Move SearchBar, SearchBarBase, and SearchTracker from @backstage/plugin-search to @backstage/plugin-search-react and deprecate SearchBar and SearchbarBase in @backstage/plugin-search
Signed-off-by: Anders Näsman <andersn@spotify.com>
2022-06-10 10:27:57 +02:00
Anders Näsman 193ae37f15 Move SearchResultPager from @backstage/plugin-search to @backstage/plugin-search-react and deprecate it in @backstage/plugin-search
Signed-off-by: Anders Näsman <andersn@spotify.com>
2022-06-10 10:27:57 +02:00
Anders Näsman 01abb3bc7e Move SearchResult from @backstage/plugin-search to @backstage/plugin-search-react and deprecate it in @backstage/plugin-search
Signed-off-by: Anders Näsman <andersn@spotify.com>
2022-06-10 10:27:56 +02:00
Anders Näsman d7044784f0 Move SearchFilter from @backstage/plugin-search to @backstage/plugin-search-react and deprecate it in @backstage/plugin-search, and also remove SearchFilterNext
Signed-off-by: Anders Näsman <andersn@spotify.com>
2022-06-10 10:27:56 +02:00
Eric Peterson 5388e6bdc5 Properly name versioned search modal context.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-06-03 13:35:13 +02:00
Camila Belo 87f17276f5 fix(search): use parent if its state is defined
Co-authored-by: Anders Näsman <andersn@spotify.com>
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-05-17 10:16:58 +02:00
Eric Peterson bef56488ad Introduce SearchModalProvider to allow modal to be controlled externally
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-05-16 15:20:18 +02:00
Phil Kuang 3a74e203a8 feat(search): highlight search result terms
Signed-off-by: Phil Kuang <pkuang@factset.com>
2022-05-09 11:13:34 -04:00
Emma Indal b9291e1b83 replace usage of api provider and test api registry with TestApiProvider
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-04-29 11:53:40 +02:00
Emma Indal d47ae8f6f7 replace all usages of SearchContextProviderForStorybook
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-04-29 11:21:30 +02:00
Phil Kuang 11a46863de fix(HomePageSearchBar): don't require SearchContext
Signed-off-by: Phil Kuang <pkuang@factset.com>
2022-04-22 08:22:43 -04:00
Emma Indal 215fcb0728 test fixups
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-04-14 16:00:59 +02:00
Emma Indal 5f8b0909f7 import from '@backstage/plugin-search-react'
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-04-14 16:00:40 +02:00
Emma Indal 0cba692d97 delete deprecated search context
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-04-14 15:59:14 +02:00
Emma Indal b079651045 Merge branch 'master' into feat/customSearchModal 2022-04-12 13:07:13 +02:00
Emma Indal b7d035cc29 feedback fixups
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-04-11 17:11:52 +02:00
Emma Indal 301b4606e3 import from new search-react package
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-04-11 11:42:57 +02:00
Emma Indal 09cba0bdae deprecate search api ref, search api interface and search context in plugin-search
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-04-11 11:41:59 +02:00
Phil Kuang 5c062f275e feat(SidebarSearchModal): support customizing content
Signed-off-by: Phil Kuang <pkuang@factset.com>
2022-04-06 16:02:45 -04:00
Johan Haals c9201ca186 chore: remove rendudant expect
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-04-05 10:27:32 +02:00
Eric Peterson 6303fe61e3 Fix SearchBar fake timer tests for latest user-event.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-04-05 10:19:54 +02:00
Johan Haals fbee9f49e5 chore: await tests
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-04-05 10:19:54 +02:00
Johan Haals b1190bf676 await userEvent
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-04-05 10:19:54 +02:00
Mike Lewis 38e01f2f70 search: switch to SearchDocument type in DefaultResultListItem props
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2022-03-17 12:39:42 +00:00
Dimitris Apostolou aedd4daa66 Fix typos
Signed-off-by: Dimitris Apostolou <dimitris.apostolou@icloud.com>
2022-03-13 14:12:05 +02:00
Eric Peterson 3e54f6c436 Use @backstage/plugin-search-common instead of @backstage/search-common
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-03-04 18:47:55 +01:00