-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
feat(redesign): search/chat widget powered by Orama #2213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
76 commits
Select commit
Hold shift + click to select a range
a492321
feat: add Avatar component
g-francesca 7aea4bc
feat: add post cards
g-francesca 9c2f5c5
style: post cards
g-francesca 90e6261
feat: dynamic blog listing page
g-francesca d1076eb
feat: add Pagination component
g-francesca 0f3c0aa
style: refine listing style
g-francesca 86d9089
feat: add Tag component
g-francesca 230b669
feat: review Avatar component to include multiple authors
g-francesca fcec8ae
feat: set Tabs to filter posts
g-francesca 3488f08
style: refine pagination and tag
g-francesca 9490956
fix: remove usless index
g-francesca 9c6e1bf
fix: minor style fixes
g-francesca 20743a0
fix: formatting
g-francesca 849032e
feat: orama search initial setup
g-francesca e9d58d1
fix: use iconify
g-francesca 091e4c0
fix: clean up blog posts tags
g-francesca 60d9957
fix: use Image astro component
g-francesca 761c537
fix: pagination links for accessibility
g-francesca 5c6b897
fix: color contrast for tags
g-francesca e351421
fix: formatting
g-francesca 00cf88c
fix(theme): disable CSS transitions during theme change to prevent fl…
ShubhamOulkar 2ba4ed6
fix: show authors on blog posts
ShubhamOulkar 36c948f
feat: add script to feed orama index
g-francesca c57b72e
style: blog page with 2 cols on tablet
g-francesca e176b88
Merge branch 'redesign-blog-listing' of github.com:expressjs/expressj…
g-francesca 134990e
Merge branch 'redesign-blog-listing' into redesign-search
g-francesca 4a3cbee
refactor: searchbox component layout
g-francesca a4af188
feat: add orama search
g-francesca c4b9945
feat: add result item breadcrumb
g-francesca 7a9ff8a
Merge branch 'redesign' into redesign-search
g-francesca f842186
fix: wrong merge
g-francesca 9ee8934
Merge branch 'redesign' into redesign-search
g-francesca 28e984f
fix: autofocus search input
g-francesca 9db2e25
feat: add support for arrow nav
g-francesca 79f4947
fix: getApi function to remove lang
g-francesca 63ed848
feat: add translate function to search
g-francesca 41dd42f
style: gracefully overflow facet tabs
g-francesca 6a80e02
feat: add chat interactions
g-francesca 179abda
feat: add chat smooth scroll behaviour
g-francesca 388ad1d
feat: improve search and chat loader
g-francesca a060cc6
feat: add abort chat
g-francesca a0b1cf0
feat: add chat actions
g-francesca 66cc086
feat: add chat actions component
g-francesca e5f46f1
style: refine chat sources
g-francesca a25bc34
feat: add sources to chat
g-francesca 2708210
feat: set chat with initial prompt
g-francesca c6b34f6
fix: preserve value of search input
g-francesca da095db
style: list of assistant message
g-francesca 05062d7
fix: loading state
g-francesca c24a6f7
fix: preserve searchbox state on close modal
g-francesca c0b0ef9
fix: clear position
g-francesca 4699db3
fix: do not ask same question twice
g-francesca 1fed336
style: customize scrollbar
g-francesca c947034
feat: add keyboard shortcuts
g-francesca a72860a
fix: kyb shortcuts visibility
g-francesca 797fc0d
fix: formatting
g-francesca 1c2c89b
refactor: search-chat change mode
g-francesca dc2db47
refactor:searchbox header
g-francesca c7d298b
fix: remove unused i18n keys
g-francesca 27b6a4c
fix: remove css rule
g-francesca f81f0ab
fix: prevent searchbox modal layout shift
g-francesca b7b95dc
fix: formatting
g-francesca f554933
feat: add Orama Cloud sync workflow
bjohansebas 62001e1
fix: remove dotenv dependency
bjohansebas 4b4ad3a
fix: add error handling for loading .env.local file
bjohansebas 6e0a237
Merge branch 'redesign' into redesign-search
g-francesca f8e33e6
Merge branch 'redesign-search' of github.com:expressjs/expressjs.com …
g-francesca b797528
fix: add astro/react
g-francesca b6fbe1f
docs: add comment for svgr plugin
g-francesca 74c9a8e
refactor: improve performance
g-francesca 7283a37
refactor: add unplugin-icons to import used icons only
g-francesca df27cf7
fix: boost title in search
g-francesca dc13755
fix: wrong import
g-francesca 3fa63ff
fix: remove dotenv dep
g-francesca 7d33390
fix: path api docs
g-francesca 205f317
fix: path doc
g-francesca File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,47 @@ | ||
| name: Sync Orama Cloud | ||
|
|
||
| on: | ||
| workflow_dispatch: | ||
| push: | ||
| branches: | ||
| - redesign | ||
| pull_request: | ||
| branches: | ||
| - redesign | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| concurrency: | ||
| group: "${{ github.workflow }} ✨ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}" | ||
| cancel-in-progress: ${{ github.event_name != 'push' }} | ||
|
|
||
| jobs: | ||
| sync-orama-cloud: | ||
| name: Sync Orama Cloud | ||
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@v6 | ||
| with: | ||
| persist-credentials: false | ||
|
|
||
| - name: Set up Node.js | ||
| uses: actions/setup-node@v6 | ||
| with: | ||
| # node-version-file: ".nvmrc" use when .nvmrc is on root of the repo | ||
| node-version: "24.13" | ||
| # cache: "npm" use when package-lock.json is on root of the repo | ||
|
|
||
| - name: Install Node.js dependencies | ||
| working-directory: astro | ||
| run: npm ci | ||
|
|
||
| - name: Sync Orama Cloud | ||
| working-directory: astro | ||
| run: node ./scripts/sync-orama.mjs | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| PUBLIC_ORAMA_PROJECT_ID: ${{ github.event_name == 'push' && secrets.PUBLIC_ORAMA_PRODUCTION_PROJECT_ID || secrets.PUBLIC_ORAMA_PROJECT_ID }} | ||
| PRIVATE_ORAMA_API_KEY: ${{ github.event_name == 'push' && secrets.PRIVATE_ORAMA_PRODUCTION_API_KEY || secrets.PRIVATE_ORAMA_API_KEY }} | ||
| PUBLIC_ORAMA_DATASOURCE_ID: ${{ github.event_name == 'push' && secrets.PUBLIC_ORAMA_PRODUCTION_DATASOURCE_ID || secrets.PUBLIC_ORAMA_DATASOURCE_ID }} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add a comment explaining why this is necessary?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, added.