Skip to content
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

Voice Search support #894

Merged
merged 4 commits into from
Aug 2, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions templates/universal-standard/page-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@
"loadingIndicator": {
"display": true //Optional, whether to include a loading indicator on seachbar
// "iconUrl": "" //Optional, use custom icon url instead of the default loading indicator animation
},
"voiceSearch": {
"enabled": false // Whether or not voice search is enabled
// "customMicIconUrl": "", // Path to override the voice start icon
// "customListeningIconUrl": "" // Path to override the voice stop icon
}
}
},
Expand Down
5 changes: 5 additions & 0 deletions templates/vertical-full-page-map/page-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@
"loadingIndicator": {
"display": true //Optional, whether to include a loading indicator on seachbar
// "iconUrl": "" //Optional, use custom icon url instead of the default loading indicator animation
},
"voiceSearch": {
"enabled": false // Whether or not voice search is enabled
// "customMicIconUrl": "", // Path to override the voice start icon
// "customListeningIconUrl": "" // Path to override the voice stop icon
}
},
"Pagination": {
Expand Down
5 changes: 5 additions & 0 deletions templates/vertical-grid/page-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@
"loadingIndicator": {
"display": true //Optional, whether to include a loading indicator on seachbar
// "iconUrl": "" //Optional, use custom icon url instead of the default loading indicator animation
},
"voiceSearch": {
"enabled": false // Whether or not voice search is enabled
// "customMicIconUrl": "", // Path to override the voice start icon
// "customListeningIconUrl": "" // Path to override the voice stop icon
}
},
"Pagination": {
Expand Down
5 changes: 5 additions & 0 deletions templates/vertical-map/page-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@
"loadingIndicator": {
"display": true //Optional, whether to include a loading indicator on seachbar
// "iconUrl": "" //Optional, use custom icon url instead of the default loading indicator animation
},
"voiceSearch": {
"enabled": false // Whether or not voice search is enabled
// "customMicIconUrl": "", // Path to override the voice start icon
// "customListeningIconUrl": "" // Path to override the voice stop icon
}
},
"Pagination": {
Expand Down
5 changes: 5 additions & 0 deletions templates/vertical-standard/page-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@
"loadingIndicator": {
"display": true //Optional, whether to include a loading indicator on seachbar
// "iconUrl": "" //Optional, use custom icon url instead of the default loading indicator animation
},
"voiceSearch": {
"enabled": false // Whether or not voice search is enabled
// "customMicIconUrl": "", // Path to override the voice start icon
// "customListeningIconUrl": "" // Path to override the voice stop icon
}
},
"Pagination": {
Expand Down
7 changes: 6 additions & 1 deletion test-site/config/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,12 @@
}
},
"SearchBar": {
"placeholderText": "Search" // The placeholder text in the answers search bar
"placeholderText": "Search", // The placeholder text in the answers search bar
"voiceSearch": {
"enabled": false
// "customMicIconUrl": "", // Optional, display a custom microphone icon
// "customListeningIconUrl": "" // Optional, displays a custom while voice search is active
}
}
},
"verticalsToConfig": {
Expand Down