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

Update readable page title document with feedback #2836

Merged
merged 4 commits into from
Oct 4, 2022
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,11 @@ This feature is available from version `21.15.0` onwards.

</Info>

This component can be used to overwrite the default document's `<title>`.
Use this component to overwrite the document's default <title>

### Usage

We recommend to render this component in pages where there is a human-readable resource identifier, for example a Product name in the product details page.
We recommend using this component on pages with a human-readable resource identifier, for example, a Product name on the product details page.

```js
import { ApplicationPageTitle } from '@commercetools-frontend/application-shell';
Expand All @@ -95,11 +95,11 @@ import { ApplicationPageTitle } from '@commercetools-frontend/application-shell'
// Red shoes - Products - my-shop - Merchant Center
```

The `<ApplicationPageTitle>` component can be rendered multiple times and the last one rendered will overwrite the previous ones.
When the <ApplicationPageTitle> component is used multiple times, the last one rendered will overwrite the previous ones.

<Info>

Please refer to the [Mapping guidelines](/development/human-readable-page-title#mapping-guidelines) to understand when you should overwrite the title and when not.
Please refer to the [Mapping guidelines](/development/human-readable-page-title#mapping-guidelines) to understand when to overwrite the title and when not.

</Info>

Expand Down
6 changes: 3 additions & 3 deletions website/src/releases/2022-09/readable-page-title.mdx
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
date: 2022-09-29
title: Human-readable page titles
description: Introducing more granular and readable document's titles for all Merchant Center pages to help users identifying the context of the page.
description: Introducing more granular and readable document titles for all Merchant Center pages to help users identify the page's context.
type: feature
topics:
- Merchant Center
- UI Components
---

Custom Applications use a more readable document's title by default, which can be customized. You can read more about this feature in the [`Human-readable page title`](/development/human-readable-page-title) documentation.
Custom Applications now use a more readable, customizable document title by default. You can read more about this feature in the [`Human-readable page title`](/development/human-readable-page-title) documentation.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Custom Applications now use a more readable, customizable document title by default. You can read more about this feature in the [`Human-readable page title`](/development/human-readable-page-title) documentation.
Custom Applications now use a more readable, customizable document title by default. You can read more about this feature in the [Human-readable page title](/development/human-readable-page-title) documentation.

Copy link
Contributor Author

@ddouglasz ddouglasz Sep 30, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you.
All updated here: f06a481


As always, if you have questions or feedback you can open a [GitHub Discussion](https://github.com/commercetools/merchant-center-application-kit/discussions) or a [GitHub Issue](https://github.com/commercetools/merchant-center-application-kit/issues).
As always, if you have questions or feedback, you can open a [GitHub Discussion](https://github.com/commercetools/merchant-center-application-kit/discussions) or a [GitHub Issue](https://github.com/commercetools/merchant-center-application-kit/issues).