Releases: yext/answers-hitchhiker-theme
Releases · yext/answers-hitchhiker-theme
Version 1.19.0
Version 1.19.0
Changes
- Jambo recently added a hook to the
import
command. This hook allows a script to be run
after a Theme is cloned into the repo. The HH Theme now has such a script. The script copies
the necessarystatic
files,config
files, etc. It also performs annpm install
in the
site repo. (#533) - The CSS of the HH Theme was updated in accordance with the "UI Refresh" initiative. Among the
styling changes are an updated font and color scheme. Experiences are now wider by default as well. - A commented out invocation of the Overlay partials was added to each vertical page. (#540)
- A 'development' mode toggle was added to the Webpack configuration. When this mode is toggled,
CSS and JS assets will not be inlined. Minification of assets will also not occur. This will make
previews faster to spin up. (#544) - Jambo added another hook, this time for the
build
command. The hook allows template data to be
modified before it is passed to Handlebars. The Theme now has its own hook. The hook ensures that
the template data is in the format expected by the Theme. This means that Jambo'sbuild
command
is no longer is tethered to the HH Theme. (#543) - Various testing improvements were made. The Theme now uses Percy and generates snapshots for each
page type from a test site. TherelativePath
functionality has better unit test coverage. - A couple of performance optimizations were made to the Theme. These optimizations will reduce the
size of the HTML files generated by Jambo and the Theme. (#564, #562)
Bug Fixes
- For the
product-prominentimage
card, CTAs are now properly aligned on the bottom. (#545) - Fixed a bug that prevented pagination from scrolling to top when in an iFrame'd experience. (#557)
- Webpack Performance Warning Thresholds were updated to account for the larger size of Theme generated
assets. (#563) - A small bug was fixed in how the
addComponent
calls usedrelativePath
. (#558) - The
LocationBias
script partials for the three vertical templates now provide averticalKey
by default. (#568)
Version 1.18.1
Version 1.18.1
Bug Fixes
- Fixed the issue that prevented inlining of CSS
url
attributes. This issue only impacted multi-language sites.
1.18.0
Version 1.18.0
Changes
- The filter spacing from the
vertical-map
layout is now applied to all vertical layouts. (#526)
Bug Fixes
- The TITLE_CLICK analytics event payload now includes the target URL. (#529)
- When collapsible filters are enabled, collapse the filters as soon as they appear above the results list. (#524)
- Radio button styling was added for iOS (Safari and Chrome). (#523)
- The
location-standard
card's CSS styling was updated to fix a couple of issues. With these updates, the open status information is now properly aligned and text from the address now wraps within it's own container. (#527) - Fixed a bug that prevented static assets from being used in card templates. This issue only impacted multi-language sites. (#535)
Version 1.16.0
Version 1.16.0
Changes
- The
directanswer
andcard
commands were migrated from Jambo to the Theme. Jambo now allows a Theme to
register custom commands. - The
bundle.css
andbundle.js
assets are inlined by default. This helps boost page speed as these assets no
longer need to be fetched. - A new card has been added:
financial-professional-location
. - Solution Template Header and Footer placeholders have been added.
- To support internationalization, all static text in the Theme has been wrapped in the Jambo
translate
and
translateJS
placeholders. Translations have been supplied for the static text in French, Spanish, German, Italian,
and Japanese. - Multi-language versions of all the built-in cards have been added. These versions use internationalized formatters
and all their text will be properly localized.
Bug Fixes
- The
bundle.css
link has been moved frombody
tohead
. This will prevent it from being loaded on the page
twice. - The universal section templates now correctly fire an
AnalyticsEvent
when a 'View All' link is clicked. - The
watch
task in thegruntfile
now listens to changes in all files and folders, exceptdesktop
and
node_modules
.