Commit Graph

55 Commits

Author SHA1 Message Date
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
Rutuja Marathe 6d9a93def8 feat(search-react): customize <SearchResult/> no result state
Signed-off-by: Rutuja Marathe <rutujasudam.marathe@factset.com>
2023-01-04 13:50:10 -05: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
Eric Peterson 9467500482 Merge pull request #14794 from philberryman/feat/analytics-number-of-search-results
add number of searches
2022-11-30 12:09:14 +01:00
Phil Berryman 38f46e6d5c chore: remove addition of numberOfResults from PgSearchEngine
Signed-off-by: Phil Berryman <phil@berryman.org.uk>
2022-11-28 14:50:22 -08:00
Phil Berryman 29ebc43a0b feat: add number of searches
Signed-off-by: Phil Berryman <phil@berryman.org.uk>
2022-11-25 00:13:05 -08:00
Jonathan Sundquist 81e945d052 move link outside of ternary
Signed-off-by: Jonathan Sundquist <jonathan.sundquist@factset.com>
2022-11-15 09:24:28 -06:00
Jonathan Sundquist a19cffbeed fix(search): update to only link title in search results
Signed-off-by: Jonathan Sundquist <jonathan.sundquist@factset.com>
2022-11-14 10:16:44 -06:00
Camila Belo 098f487e59 refactor: add results total prop
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-10-11 09:15:14 +02:00
Camila Belo 270ee83613 refactor: change default page limit text
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-10-10 12:08:16 +02:00
Camila Belo c9198c9fce refactor(search-react): use mui table pagination component
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-10-08 21:35:20 +02:00
Camila Belo 5eb598babb refactor(search-react): restrict range of valid options type
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-10-07 18:31:34 +02:00
Camila Belo 3de4bd4f19 Create a page limit component
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-10-06 09:00:59 +02:00
Camila Belo d7200e4d91 Add page limit to search context and state
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-10-04 10:54:09 +02:00
Camila Belo 74bb1424b2 Merge pull request #13957 from backstage/bux/search-list-empty-state
[Search] Customize <SearchResultList /> no results state
2022-10-04 10:09:27 +02:00
Camila Belo 310438cf28 refactor: apply review suggestions
Co-authored-by: Eric Peterson <iamEAP@users.noreply.github.com>
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-10-03 13:33:04 +02:00
Emma Indal 6cbe962a5f Fixup storybook examples
Co-authored-by: Camila Loiola <camilaibs@gmail.com>
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-10-02 11:34:30 +02:00
Emma Indal 86e899b977 Be able to pass through index used for index ranking
Co-authored-by: Camila Loiola <camilaibs@gmail.com>
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-10-02 11:34:30 +02:00
Camila Belo c27186ff01 feat(search-react): custom result list empty state
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-10-02 11:20:11 +02:00
Camila Belo 92da032e0e feat(search-react): context provider accepts null children
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-10-02 10:29:59 +02:00
Emma Indal bd9f398150 Tests for custom no result component
Co-authored-by: Camila Loiola <camilaibs@gmail.com>
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-09-30 14:53:59 +02:00
Emma Indal 523f32778c Storybook examples for custom no result component
Co-authored-by: Camila Loiola <camilaibs@gmail.com>
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-09-30 14:53:35 +02:00
Emma Indal 5c5c79ec75 Optional property for custom no result component
Co-authored-by: Camila Loiola <camilaibs@gmail.com>
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-09-30 14:52:33 +02:00
Patrik Oldsberg 988b4d2a8e Merge pull request #12870 from kuangp/feat/playlists
feat(playlists): implement playlist plugin
2022-09-19 16:49:44 +02:00
Ben Lambert a3e40e1f38 Merge pull request #13621 from backstage/renovate/eslint-plugin-react-7.x-lockfile
fix(deps): update dependency eslint-plugin-react to v7.31.8
2022-09-16 17:40:55 -04:00
blam 7c09eb1bb7 chore: what da font
Signed-off-by: blam <ben@blam.sh>
2022-09-16 16:52:11 -04:00
Phil Kuang 02a5296f85 refactor(search-react): address review comment
Signed-off-by: Phil Kuang <pkuang@factset.com>
2022-09-16 14:34:33 -04:00
Phil Kuang d3737da337 feat(playlists): implement playlist plugin
Signed-off-by: Phil Kuang <pkuang@factset.com>
2022-09-16 09:30:47 -04:00
Camila Belo 69ce53d588 feat(search-react): create search result group component
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-09-15 07:48:25 +02:00
Camila Belo 589e6a4fba feat(search-react): create search result list component
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-09-15 07:48:25 +02:00
Camila Belo acb8804a77 feat(search-react): add search result query prop
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-09-15 07:48:25 +02:00
Camila Belo 633b090d88 refactor(search-react): sort context import and states definitions
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-09-15 07:48:25 +02: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 c32945d787 feat(search-react): create search bar autocomplete
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-09-01 11:25:38 +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
Fredrik Adelöw aaab1e34da Fix linting errors after #13392
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-08-30 13:44:09 +02:00
Camila Belo 7d2f89a1bd fix(search): when reset page cursor
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-06-30 21:47:23 +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
Eric Peterson 915700f64f Set a pagination-aware rank value for all search engines.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-06-10 15:36:11 +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 b3d64b448e api-report 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 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
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 30cf3bd830 introduce a new mock implementation of the search api, delete SearchContextProviderForStorybook and SearchApiProviderForStorybook
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-04-29 11:20:44 +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