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

build develop with i18n assets #1459

Merged
merged 2 commits into from
Jul 7, 2021
Merged

build develop with i18n assets #1459

merged 2 commits into from
Jul 7, 2021

Conversation

oshi97
Copy link
Contributor

@oshi97 oshi97 commented Jul 6, 2021

This way the theme's test-site can point to canary/latest
and have i18n snapshots work.
I was wrong, and the i18n build will build ALL the locales, not just the languages.
On the other hand, this still shouldn't cost too much storage since it's only a single branch.

J=SLAP-1423
TEST=manual

use this branch's name (dev/i18n-develop) instead of develop in the circleci config,
see the i18n build run

This way the theme's test-site can point to canary/latest
and have i18n snapshots work.

J=SLAP-1423
TEST=manual

change develop to this branch's name, see the i18n build run,
and only deploy_canary is run (cancelled ahead of time)
@coveralls
Copy link

coveralls commented Jul 6, 2021

Coverage Status

Coverage remained the same at 56.823% when pulling a9f9a94 on dev/i18n-develop into d43a50c on develop.

@oshi97 oshi97 merged commit 7c7f4bc into develop Jul 7, 2021
@oshi97 oshi97 deleted the dev/i18n-develop branch July 7, 2021 14:46
cea2aj added a commit to yext/answers-hitchhiker-theme that referenced this pull request Jul 13, 2021
Support i18n versions of the answers-search-ui when specifying the develop branch

As part of yext/answers-search-ui#1459, develop now builds i18n assets. When specifying develop however, i18n assets weren't being used because the script partial wasn't including the locale in the asset URL. This PR adds support for that.

J=none
TEST=manual, auto

Build the test site and see that the Spanish site correctly loads the Spanish answers assets from canary. Add test coverage
This was referenced Aug 24, 2021
oshi97 added a commit that referenced this pull request Aug 24, 2021
### New Features
* The SearchBar now supports displaying a loading indicator while a search is running.
* The SearchBar also now has support for voice search.
* We now support several new languages, including simplified/traditional Chinese and several variants of Arabic.
* `universalLimit` config option (#1444)
* Session tracking using the browser's session storage (#1452)
* `querySource` can now be set at runtime using `ANSWERS.setQuerySource()` (#1464)
* Display email validation error in QuestionSubmission (#1505)
* Support for DirectAnswers on vertical searches (#1483)
* Support providerOptions on the map (#1484)
* Create entry points for multi-lang SDK bundles (#1501) 

### Speed Improvements
* replace IconComponent usages with handlebars partials (#1445) (#1451) (#1458)

### Infrastructure
* Change CircleCI node_modules caching strategy to use package-lock.json instead of package.json (#1457)
* `canary/latest` assets are now built with i18n support (#1459)
* More tests + acceptance testing improvements
* Automated publishing for the standalone SearchBar assets (#1529)

### SearchBar-only release notes
* The SearchBar now supports displaying a loading indicator while a search is running.
* The SearchBar also now has support for voice search.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants