# Cruise Hero Client

## 2. - 2020-09-14

## 1.1.1 - 2019-09-10 - Integration Fields

### New feature for your prismic repo:

Integration fields are now enabled for Hero CMS on the following page types:

* Cruiseline Pages - `Cruiselines_api`
* Ship Pages - `Ship_api`

Integration fields connect your page to the **Dreamlake Api**, enabling the usage of content, logotypes and images from our systems. A ship page with connection to a specific ship from our api, will render a fact box, an image gallery and highlights-block on your page. This content is updated dynamically, and the language is set as your default language. A Cruiseline page with a connection to a cruiseline will only render the logotype on your cruiseline page.

![Example of the Cruiseline\_API field in prismic](/files/-LoP7m0iSIBiJFj5pnDH)

## 1.1.0 - 2019-05-08 - Release Sprint Sture

### Fixed

Images with a + sign in name have been disappearing from cdn.\
Ship page without content get a default, slimmer design. A button hides image galleries and highlights.\
Onboard new client\
Search Cards slightly edited in translation of destination and port names, commas and bullets are used.\
Quote step 3 (succesfull quote made by client) have a specific url, to track in analytics.

### Release Facts

Build Name: all-hotfixes-and-into-master-2000\
Branch Name: release/all-hotfixes-and-into-master

Release Sprint Sture — consists of several hotfixes and bugfixes in the recent sprint.

* hotfix/images-disappear-suddenly
* hotfix/quote-thanks-inurl
* hotfix/172-searchcards
* hotfix/onboard-cruiseno
* hotfix/shippage-cleanup
* release/onboard-aobtravel

![](/files/-LeL_uHe4JWoJl-8Uf8Y)

## 1.0.6 - 2019-04-17

### Fixed

Hotfix release, mainly considers document linking in richtext fields in prismic. \
Now it works by querying our cache in the link resolver.

### Release facts

Build name: extending-slices-and-prismic-1795\
Branch name: hotfix/extending-slices-and-prismic

## 1.0.5 - 2019-04-09

### Fixed

Hotfix for updating query in url when filtering the search result.

### Release facts

Build name: query-dont-update\
Branch name: hotfix/query-dont-update

## 1.0.4 - 2019-04-08

!! New release includes a redesign of the search module (v2), with a brand spanking new calendar, filters, bullets. A responsive redesign for ease of use in smaller devices, with an important insight: the removal of unfriendly range-sliders in search and filters.

#### Updated:&#x20;

* Calendar: uses one input with a monthpicker, with the ability to pick within a range of 6 years (3 visible in modal). Help texts are designed to invite and inform of users date range.
* Length of trip: numbers of nights as options in a select box.

![Month picker redesigned.](/files/-LbxOdM4j4oyjul0H0tV)

* Facet filters are hidden behind a bigger button within search results, scope of facets are \[destinations], \[cruise lines] and \[departure ports].
* Bullets live in the search result area.
* Search results are rounded to nearest 50, displayed as 50+, 100+, etc.

![Facet Filters are hidden behind a bolder button, grouped in three main facets. Bullets are updated as you filter.](/files/-LbxO6uPM_Wz6-q00AsT)

![Responsive modals](/files/-LbxPbJKRdOMm16my5Aa)

![Null results displayed with a help label and link to indexpage.](/files/-LbxQTcpi_8B8iMTv3vv)

### Release facts:

Build::factory: improved-search-1705\
Branch: :desktop: release/improved-search<br>

## 1.0.3 - 2019-03-28

### Fixed

* Package page was showing error when a departure didnt exist or expired. Solution was if the departure did'nt exist, we take the first departure in the package
* Current room in quote flow now has a grey background color to make it easier to see.

### Release facts

* Build name: package-page-exploding

## 1.0.2 - 2019-03-22

### Fixed

* Button for rooms selection on packagePage are now filled in primary color
* maxAmountofMonths search was set to 24
* Quotepage form selected variation styled to distinguish from non-selected rooms
* Darker shades of gray in quoteform inputs
* Norwegian translations included

![git commits #146a03a6, #f26ef5c4, #5643046c](/files/-Lao2DFqQFzkLl1FXnZM)

Release Facts:&#x20;

* Build Name: trickle-down-ec-fixes-1560<br>

## 1.0.1 - 2019-03-15

### Fixed

* Css: Using font-display : "auto" as to render all text in fallback-fonts before client downloads them.\
  [See reference on this rule.](https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display)
* Lazy loading images: new wrapper-component to load \<Image>-component lazily.
* UpdateRoutePath: when changing search parameters on any page with search results, we keep asPath intact. Eg, on a landing page */rederier/hurtigruten*, we don't want to change it on an update.\
  Same applies to index which was updating routePath  to */index?querystring*
* Background-images are the main weight concern on the index-landing page. We now load them lazy.
* PackagePage also loads images lazy.
* Evaluate isTouched-prop (true) when dateFilter props change.
* SearchContainer sets 24-months as standards maxSearchLength.
* CleanInputfromPrismic: use to fix weird searchString inputs from editors in prismic.

![](/files/-Lao28Yf7ISd5Pn8o71H)

#### Release facts:

* Build Name: updatePath-fix-1509
* Released to: Stage and Prod


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://dreamlake.gitbook.io/hero/release-notes/cruise-hero-client.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
