-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
D8CORE-7300 Add Algolia checkbox to allow indexing separate from sear…
…ch results
- Loading branch information
Showing
20 changed files
with
6,524 additions
and
4,203 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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 |
---|---|---|
|
@@ -254,3 +254,4 @@ content: | |
region: content | ||
hidden: | ||
search_api_excerpt: true | ||
su_site_algolia_ui: true |
This file contains 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
This file contains 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
This file contains 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
21 changes: 21 additions & 0 deletions
21
config/sync/field.field.config_pages.stanford_basic_site_settings.su_site_algolia_ui.yml
This file contains 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,21 @@ | ||
uuid: ec46c75b-d6eb-4675-9e28-9142830375ce | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- config_pages.type.stanford_basic_site_settings | ||
- field.storage.config_pages.su_site_algolia_ui | ||
id: config_pages.stanford_basic_site_settings.su_site_algolia_ui | ||
field_name: su_site_algolia_ui | ||
entity_type: config_pages | ||
bundle: stanford_basic_site_settings | ||
label: 'Algolia Searching UI' | ||
description: 'Enable Algolia searching on the <a href="/search">search page</a>.' | ||
required: false | ||
translatable: false | ||
default_value: { } | ||
default_value_callback: '' | ||
settings: | ||
on_label: 'On' | ||
off_label: 'Off' | ||
field_type: boolean |
22 changes: 22 additions & 0 deletions
22
config/sync/field.storage.config_pages.su_site_algolia_ui.yml
This file contains 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,22 @@ | ||
uuid: 67d42bc8-dfc4-488c-a7e1-b055aaa27125 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
module: | ||
- config_pages | ||
- field_permissions | ||
third_party_settings: | ||
field_permissions: | ||
permission_type: custom | ||
id: config_pages.su_site_algolia_ui | ||
field_name: su_site_algolia_ui | ||
entity_type: config_pages | ||
type: boolean | ||
settings: { } | ||
module: core | ||
locked: false | ||
cardinality: 1 | ||
translatable: true | ||
indexes: { } | ||
persist_with_no_fields: false | ||
custom_storage: false |
This file contains 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
This file contains 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
This file contains 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
This file contains 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 @@ | ||
nodeLinker: node-modules |
8 changes: 4 additions & 4 deletions
8
themes/stanford_basic/algolia-search/dist/islands/algolia-search.island.js
Large diffs are not rendered by default.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
themes/stanford_basic/algolia-search/dist/islands/algolia-search.island.js.LICENSE.txt
This file contains 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
This file contains 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 |
---|---|---|
|
@@ -15,25 +15,26 @@ | |
"dev": "webpack serve --env dev" | ||
}, | ||
"dependencies": { | ||
"algoliasearch": "^4.20.0", | ||
"preact": "^10.18.1", | ||
"react-instantsearch": "^7.3.0", | ||
"styled-components": "^6.1.1" | ||
"algoliasearch": "^4.22.1", | ||
"preact": "^10.19.6", | ||
"react-instantsearch": "^7.7.0", | ||
"styled-components": "^6.1.8" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.23.0", | ||
"@babel/preset-env": "^7.18.9", | ||
"@babel/preset-react": "^7.18.6", | ||
"@babel/preset-typescript": "^7.18.6", | ||
"@types/webpack": "^5.28.0", | ||
"@babel/core": "^7.24.0", | ||
"@babel/preset-env": "^7.24.0", | ||
"@babel/preset-react": "^7.23.3", | ||
"@babel/preset-typescript": "^7.23.3", | ||
"@types/webpack": "^5.28.5", | ||
"babel-loader": "^9.1.3", | ||
"css-loader": "^6.7.1", | ||
"css-loader": "^6.10.0", | ||
"dotenv-webpack": "^8.0.1", | ||
"html-webpack-plugin": "^5.5.0", | ||
"html-webpack-plugin": "^5.6.0", | ||
"preact-island": "^1.1.2", | ||
"terser-webpack-plugin": "^5.3.5", | ||
"webpack": "^5.74.0", | ||
"terser-webpack-plugin": "^5.3.10", | ||
"webpack": "^5.90.3", | ||
"webpack-cli": "^5.1.4", | ||
"webpack-dev-server": "^4.9.3" | ||
} | ||
"webpack-dev-server": "^4.15.1" | ||
}, | ||
"packageManager": "[email protected]" | ||
} |
2 changes: 1 addition & 1 deletion
2
themes/stanford_basic/algolia-search/src/algolia-search.island.tsx
This file contains 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
This file contains 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.