Commit e6dd0f7
feat(search): use new Orama components (#8175)
* feat: add new searchbox - initial setup
* style: search button
* style: searchbox empty state
* style: modal search
* style: prompt wrapper
* fix: layout sliding panel
* style: chat sources
* refactor: search component
* feat: add translations for search component
* update orama core and update logo
* update sync
* update pnpm-lock
* Update apps/site/components/Common/Searchbox/Chat.tsx
Co-authored-by: Aviv Keller <me@aviv.sh>
Signed-off-by: Aileen Villanueva Lecuona <aileenvl@gmail.com>
* Update apps/site/components/Common/Searchbox/Chat.tsx
Co-authored-by: Aviv Keller <me@aviv.sh>
Signed-off-by: Aileen Villanueva Lecuona <aileenvl@gmail.com>
* Update apps/site/components/Common/Searchbox/Search.tsx
Co-authored-by: Aviv Keller <me@aviv.sh>
Signed-off-by: Aileen Villanueva Lecuona <aileenvl@gmail.com>
* Update apps/site/components/Common/Searchbox/Search.tsx
Co-authored-by: Aviv Keller <me@aviv.sh>
Signed-off-by: Aileen Villanueva Lecuona <aileenvl@gmail.com>
* Update apps/site/components/Common/Searchbox/Search.tsx
Co-authored-by: Aviv Keller <me@aviv.sh>
Signed-off-by: Aileen Villanueva Lecuona <aileenvl@gmail.com>
* fix height and pr comments
* fix import and add directories for Search and Chat
* update icon and orama ui components
* rollback translation changes
* update on datasource and ui components
* update env variables
* pr comments and facets added
* pr comments
* fixes in styles and facets
* facets search fix
* push facets query fix
* feat: adds filters to search
* fix facet count
* reset searchTerm
* old logo
* fix mobile search
* chat mobile
* mobile enhacements
* fix blur
* env variables and dispatcher
* change css to tailwind, remove inline styles and add env constant
* update orama core and add data source
* fixes css
* Revert "fixes css"
This reverts commit 43d8cac.
* Add .env to gitignore to prevent accidental commits
* chore: update @orama/ui version
* style: review modal style
* style: review search results style
* fix: arrow navigation and focus style
* feat: open modal via CMD+k
* fix: SlidingPanel classes
* fix: chat scroll behaviour
* refactor: chat interface
* fix: sources style not applied
* fix: style of chat panel in light mode
* style: fix sources and scroll to bottom style
* fix: collapse source text link
* style: add chat loading animation
* style: mobile toggle search/chat
* fix: toggle animation
* refactor: search modal layout composition
* refactor: search footer and chat actions
* fix: chat scrollbar style
* style: mobile fixes for chat panel
* fix: markdown style
* chore: update env var name
* fix: chat scrollbar style
* chore: update @orama/ui version
* style: fix mobile scrollbar style
* chore: update @orama/ui to 1.2.0
* feat: improve search loading
* fix: remove default public orama key
* fix: use tailwind utility classes
* style: review searchbar scrollbar style
* fix: minor syntax improvements
* fix: use translated label
* fix: document type
* fix: use translated labels for suggestions
* fix: gitignore comment
* style: add motion-safe variant
* style: use size class
* fix: separate type imports
* style: use vertcal tw classes
* style: minor style fixes
* fix: color contrast
* fix: modal search focus trap
* style: fix color contrast
* fix: disable search button when no env vars
* fix: ssr searchbox
* fix: clean up code
* fix: import get documents
* fix: playwright tests for search
* fix: get documents
* fix: search results element targeted for test
* fix: update workflow with the new vars
* fix: remove querySelectorAll
* fix: cleanup sliding panel props
* refactor: move orama instance to provider
* refactor: manage orama searchbox state via reducer
* fix: orama git workflow step
* refactor: clean up Search component and add searchbox provider
* fix: remove orama tests
* chore: update @orama/core
* refactor: minor fixes and clean up
* refactor: clean up modal state
* refactor: remove oramaProvider
* fix: remove throw error
* refactor: rename search state and reducer
* fix: check pageSectionTitle for source
---------
Signed-off-by: Aileen Villanueva Lecuona <aileenvl@gmail.com>
Co-authored-by: Francesca Giannino <francesca.giannino86@gmail.com>
Co-authored-by: Aileen Villanueva <aileenvl@gmail.com>
Co-authored-by: Aviv Keller <me@aviv.sh>1 parent 47a6c9f commit e6dd0f7
File tree
49 files changed
+2407
-386
lines changed- .github/workflows
- apps/site
- components
- Common
- Searchbox
- ChatActions
- ChatInput
- ChatInteractions
- ChatMessage
- ChatSources
- DocumentLink
- EmptyResults
- InnerSearchboxModal
- MobileTopBar
- SearchItem
- SearchResults
- Search
- SlidingChatPanel
- Search
- providers
- reducers
- scripts/orama-search
- tests/e2e
- types
- packages
- i18n/src/locales
- ui-components/src/styles
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
49 files changed
+2407
-386
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
47 | | - | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
This file was deleted.
This file was deleted.
Lines changed: 44 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
Lines changed: 70 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
0 commit comments