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

2024-11-06 Custom DC stable release #4710

Merged
merged 28 commits into from
Nov 6, 2024
Merged
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
6bba024
update submodule for release (#4681)
chejennifer Oct 21, 2024
5249768
update NL goldens after mixer push (#4680)
chejennifer Oct 21, 2024
d347f7e
Adds logging for autocomplete responses. (#4678)
gmechali Oct 21, 2024
5f6ede7
Exit cdc_services/run.sh when any background process exits (#4682)
hqpho Oct 22, 2024
4ef8962
update nodejs goldens (#4685)
chejennifer Oct 22, 2024
c073189
Update submodules (#4688)
n-h-diaz Oct 24, 2024
4fbd786
Pin transformers to 4.45.2 (#4689)
n-h-diaz Oct 24, 2024
499b981
Support schema update mode for data docker (#4686)
hqpho Oct 25, 2024
204ee26
Improves Typo recognition for autocomplete (#4690)
gmechali Oct 28, 2024
60a4f5f
Miscellaneous updates and improvements (#4673)
nick-next Oct 31, 2024
ac8fdad
Accessibility Updates (#4683)
nick-next Oct 31, 2024
6e141a4
Fix nl server start up in webdriver tests (#4692)
chejennifer Oct 31, 2024
1ebe115
Adds Continents to AutoComplete (#4693)
gmechali Oct 31, 2024
d003bff
Enable autocomplete for Autopush environment. (#4695)
gmechali Oct 31, 2024
21ef43c
Autopush env bug fix. (#4696)
gmechali Oct 31, 2024
8d7b51d
Adds GA even trigger for when autocomplete gets triggered. (#4694)
gmechali Oct 31, 2024
a427b46
Updated custom dc terraform deployment instructions (#4697)
dwnoble Nov 1, 2024
f9a2b0c
Refactor continent hack into custom places, and add 'world' and 'eart…
gmechali Nov 1, 2024
6609086
Miscellaneous Layout and Style fixes and cleanups (#4684)
nick-next Nov 2, 2024
137dcbd
Updated nodejs goldens (#4701)
dwnoble Nov 4, 2024
4550112
Update submods for custom DC stable release (#4703)
hqpho Nov 4, 2024
8d8a700
Reintroduce css styling for search autocomplete (#4702)
gmechali Nov 4, 2024
5d5fdaf
Fix size of Custom DC default logo (#4705)
hqpho Nov 4, 2024
9097f79
Removed delete protection from cloud run resources in Custom DC (#4698)
dwnoble Nov 4, 2024
f1ae34e
Add comments for fields in the response for nodejs/query endpoint (#4…
chejennifer Nov 5, 2024
55eed44
Add a GitHub workflow that verifies all commits are already in master…
hqpho Nov 5, 2024
3d069c4
Fix all-commits-in-master ambiguous argument issue (#4711)
hqpho Nov 5, 2024
454b21f
Properly reference master branch on central repo (#4713)
hqpho Nov 5, 2024
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
Prev Previous commit
Next Next commit
Enable autocomplete for Autopush environment. (#4695)
Identifies the environment based on the window.location.hostname
parameter.
gmechali authored Oct 31, 2024
commit d003bffd538e39ba49af8c49afd49b493b9540cf
Original file line number Diff line number Diff line change
@@ -33,9 +33,11 @@ const NlSearchBarHeaderInline = ({
shouldAutoFocus,
}: NlSearchBarImplementationProps): ReactElement => {
const urlParams = new URLSearchParams(window.location.search);
const enableAutoComplete = urlParams.has("ac_on")
? urlParams.get("ac_on") == "true"
: false;
const isAutopushEnv = window.location.hostname == "autopush.datacommons.org";
const enableAutoComplete =
isAutopushEnv || urlParams.has("ac_on")
? urlParams.get("ac_on") == "true"
: false;

return (
<div className="header-search-section">