Releases: yext/answers-hitchhiker-theme
Releases · yext/answers-hitchhiker-theme
Version 1.23.0
Version 1.23.0
Features
- Support for new languages including Chinese (Traditional), Chinese (Simplified), Russian, Polish, Portuguese, Dutch, Arabic, Korean, Swedish, and Hindi (#918) (#900)
- Loading indicator for the search bar (#875)
- Voice search support (#894)
- Analytics, session tracking, and query source can now be toggled through Runtime Config (#869) (#879)
- Added validation to ensure that parts of global_config and page configs are valid (#888)
- Font preloads are now located in the layouts/preload-fonts.hbs file (#893)
- Global config now includes "sessionTrackingEnabled" and "analyticsEventsEnabled" (#898)
- Added a partial for additional Answers configuration (#903)
- Map pins now support custom label colors (#922)
Enhancements
- The full-page-map "Search This Area" functionality is better optimized when a user quickly zooms in or out of the map (#861)
- Improved build time during development mode (#865)
- Icons were updated from components to Handlebars partials to improve performance (#874)
Bugfixes
v1.22.3
v1.22.2
Bug Fixes
- Fixed the logic of the
getLanguageForProvider
utility method. This method maps thelocale
specified by the user to one that is understood by the chosen map provider. (#891) - Corrected a styling issue with the
SpellCheck
query suggestion. This issue made it difficult to click the query suggestion and fire off a new query. (#892)
v1.22.1
Version 1.22.0
Version 1.22.0
Changes
- Code coverage reports are now generated automatically for the Theme. (#759)
- A number of dependencies were updated in accordance with Dependabot's suggestions. (#780)
- The build time in
Development
mode was reduced significantly. (#782, #829) Build times in
Production
mode were also decreased. (#783, #825) - Two new cards supporting videos were added:
product-prominentvideo
andmultilang-product-prominentvideo
. These cards
work with either YouTube or Vimeo content. (#794) - The process for formatting hours was made more efficient, resulting in faster renders for cards with hours. (#784)
- Any SDK branch can now be specified in the
global_config.sdkVersion
attribute. (#791) - Unused CSS was removed from the Theme. (#793, #798)
- To reduce flashing related to the SDK Component lifecycle, placeholder skeletons were added for the
SearchBar
and
Navigation
components. (#797) - Additional acceptance tests were added for the
VerticalFullPageMap
and Percy snapshots are now generated for all
cards. (#830, #820) - Multi-language tests were added for the Theme. (#826)
- The
documentsearch-standard
card now supports rich text featured snippets. (#838) - A new concept,
RuntimeConfig
was added. This allows configuration, computed at run-time, to be injected into the
Theme and SDK. This new concept enables JWT integrations as well. (#843)
Bug Fixes
- A number of changes were made to make the Theme's visual regression tests more reliable. (#764, #765, #766, #778)
- Corrected how the CTA URLs for the
menuitem-standard
andmultilang-menuitem-standard
cards are computed. (#787) - The Google Streetview person icon is now visible when using the
VerticalFullPageMap
layout. (#801) - The size of the cluster and result pins are now configurable. (#807)
- A double encoding error for
verticalUrl
was fixed. (#836) - The
Opens At
open status message is now properly translated in all languages. (#834)
Version 1.21.1
Version 1.21.0
Changes
- The
div
container for hours status now has different classes depending on the status itself. This allows status-specific styling. (#727) - The Theme conditionally loads the polyfilled or non-polyfilled SDK assets depending on browser type. (#735)
- The Webpack build speed was further improved in
Development
mode. (#743) - Multi-line
translate
andtranslateJS
helper calls are now properly supported. - The loading speed of the Overlay integration was improved. (#641)
- A new
document-standard
card was added. This card is ideal for displaying search results that contain document snippets. (#758)
Bug Fixes
- A UTC offset is now provided in the Direct Answer cards when they invoke the
openStatus
formatter. (#755) - Margin styling for the
SpellCheck
component was fixed according to UX guidelines. (#734) - The output of the Theme's Webpack toolchain was reduced considerably. Only bundling errors and warnings are displayed now. (#747)
- CTAs are now fixed to the bottom of the
product-prominentimage
card, even when no description is present. (#752)
Version 1.20.2
Version 1.20.1
Version 1.20.1
Bug Fixes
- Fix a layout bug with custom headers and footers on mobile list view on the vertical-full-page-map template (#729)
- Fix styling of NLP filters when no collapsible-filters are present (#728)
- Fix RTF styling that was not being applied to the new elements (#730)
- Remove an extraneous comma from the vertical-full-page-map template config (#725)
v1.20.0
Version 1.20.0
Changes
- Added the
vertical
custom command. This command allows the user to quickly spin up a page for a particular vertical. Some of the page's configuration, such asverticalKey
andcardType
is pre-populated. (#588) - A new page template was added:
vertical-full-page-map
. This template creates a Locator-style page. On Desktop, there is a full page map with a list of results overlaid on top. Clicking a pin on the map highlights the corresponding result in the list. On Mobile, users can toggle between a full-screen map or list view. - A new formatter,
highlightField
, was created. The formatter takes in a string and indices of the substrings to highlight. These substrings are then wrapped in<mark>
tags. (#582) - The
documentsearch-standard
card was added. This card supports the newFEATURED_SNIPPET
type direct answers. (#584) - A new universal section template was added:
grid-four-columns
. This layout, as the name suggests, organizes the results into a grid of four columns. (#622, #653)