Commit Graph

77 Commits

Author SHA1 Message Date
Carlos Esteban Lopez 9b644e5603 tests(search): Revert autocomplete test changes
Signed-off-by: Carlos Esteban Lopez <lcarlosesteb@vmware.com>
2023-04-19 18:55:24 -05:00
Carlos Esteban Lopez a87f98b385 fix(search): Revert placeholder & sync label & aria-label
Signed-off-by: Carlos Esteban Lopez <lcarlosesteb@vmware.com>
2023-04-19 18:52:03 -05:00
Carlos Esteban Lopez 9e0f486ac2 fix(search): Fix broken tests
Signed-off-by: Carlos Esteban Lopez <lcarlosesteb@vmware.com>
2023-04-19 13:14:47 -05:00
Carlos Esteban Lopez 87efd07490 fix(search): Address Github PR comments
Signed-off-by: Carlos Esteban Lopez <lcarlosesteb@vmware.com>
2023-04-19 13:14:47 -05:00
Carlos Esteban Lopez 46310ee03f fix(search): Stop clear enter propagation
Signed-off-by: Carlos Esteban Lopez <lcarlosesteb@vmware.com>
2023-04-19 13:14:47 -05:00
Carlos Esteban Lopez cba74e9f9d fix(search): Remove unused bar class & swap clear icon for clear text in search bar
Signed-off-by: Carlos Esteban Lopez <lcarlosesteb@vmware.com>
2023-04-19 13:14:47 -05:00
Carlos Esteban Lopez b9db68aba2 fix(storybook): Fix styles of SearcBar Paper in StoryBook
Signed-off-by: Carlos Esteban Lopez <lcarlosesteb@vmware.com>
2023-04-19 13:14:47 -05:00
Carlos Esteban Lopez 718ef60638 tests(search): Fix tests broken by change from placeholder to label
Signed-off-by: Carlos Esteban Lopez <lcarlosesteb@vmware.com>
2023-04-19 13:14:47 -05:00
Carlos Esteban Lopez e22f74f421 feat(search): Improve search dialog's & page's bar UI
Signed-off-by: Carlos Esteban Lopez <lcarlosesteb@vmware.com>
2023-04-19 13:14:47 -05:00
Sudeep Sinha b2e182cdfa Fix font size and color in search result item
Signed-off-by: Sudeep Sinha <ssinha@squarespace.com>
2023-03-08 14:08:47 -05:00
Emma Indal 905141aa08 Merge pull request #16576 from kuangp/fix/searchPagination
fix(SearchPagination): disable next button on last page
2023-03-03 11:28:02 +01:00
Fredrik Adelöw 65454876fb unpack props inside component bodies
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2023-02-27 15:31:15 +01:00
Phil Kuang 553f3c9501 fix(SearchPagination): disable next button on last page
Signed-off-by: Phil Kuang <pkuang@factset.com>
2023-02-23 15:53:30 -05:00
Fredrik Adelöw c10384a923 Get rid of usages of the old Button
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2023-02-22 14:29:31 +01:00
Emma Indal ce1220a4b8 support custom list item props on search extensions
Co-authored-by: Camila Belo <camilaibs@gmail.com>
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2023-02-02 09:36:30 +01:00
Emma Indal c3798fd6bd update api reports
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2023-02-01 15:40:21 +01:00
Emma Indal f7e698636a updates based on result list items extension changes
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2023-02-01 15:40:21 +01:00
Emma Indal a0619a5b49 make sure result list is structured with list elements only
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2023-02-01 15:40:21 +01:00
Camila Belo 6aba9d113d fix(search): result extension stories
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2023-01-28 11:06:01 +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 a7ec5e7d78 feat(search): create result item hook and components
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2023-01-28 10:05:15 +01:00
Camila Belo 098cf0f8c0 feat(search): create search result list item extensions
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2023-01-28 10:05:14 +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
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