Skip to content

chore(docs): update Back Kit documentation #2137

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

Merged
merged 21 commits into from
Jun 11, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
f02295e
chore(docs): update Back Kit documentation
bot-targa May 16, 2025
82b2749
chore(docs): update Back Kit documentation
bot-targa May 19, 2025
624db12
chore(docs): update Back Kit documentation
bot-targa May 20, 2025
78d1f26
chore(docs): update Back Kit documentation
bot-targa May 21, 2025
daa66af
chore(docs): update Back Kit documentation
bot-targa May 22, 2025
dd8eb32
chore(docs): update Back Kit documentation
bot-targa May 23, 2025
2921dcf
chore(docs): update Back Kit documentation
bot-targa May 26, 2025
246d9ce
chore(docs): update Back Kit documentation
bot-targa May 26, 2025
8126f1f
chore(docs): update Back Kit documentation
bot-targa May 27, 2025
ca2cf01
chore(docs): update Back Kit documentation
bot-targa May 28, 2025
bb75312
chore(docs): update Back Kit documentation
bot-targa May 29, 2025
21adc26
chore(docs): update Back Kit documentation
bot-targa May 29, 2025
7055b65
chore(docs): update Back Kit documentation
bot-targa May 30, 2025
3d424e7
chore(docs): update Back Kit documentation
bot-targa Jun 2, 2025
fa25e7b
chore(docs): update Back Kit documentation
bot-targa Jun 3, 2025
744cd23
chore(docs): update Back Kit documentation
bot-targa Jun 4, 2025
923fb18
chore(docs): update Back Kit documentation
bot-targa Jun 5, 2025
6ad9b35
chore(docs): update Back Kit documentation
bot-targa Jun 6, 2025
b1e560b
chore(docs): update Back Kit documentation
bot-targa Jun 9, 2025
789d23b
chore(docs): update Back Kit documentation
bot-targa Jun 10, 2025
7d92a47
chore(docs): update Back Kit documentation
bot-targa Jun 11, 2025
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 @@ -116,6 +116,43 @@ type Locale = {

where [LocalizedText][localized-text] is either a string or an object mapping language acronyms to strings.

It is possible to interpolate the title and content of the notification with the field of the HTTP response.

For example:

```json
{
"tag": "bk-notifications",
"properties": {
"successEventMap": {
"create-data": {
"title": {
"en": "Data was created correctly with id:{{_id}}!",
"it": "Dato creato correttamente con id: {{_id}}!"
},
"content": {
"en": "The data has been created correctly",
"it": "I dati sono stati creati correttamente"
},
"type": "success"
}
}
}
}
```

In the case of an error type notification, the interpolation must have the keyword error before the field of the response, such as `{{error.status}}`.

Example of error response:

```json
{
"status": 404,
"message": "Not found"
}
```

To interpolate the status you have to use `{{error.status}}`, to interpolate the error message you have to use: `{{error.message}}`.

## Examples

Expand Down
15 changes: 13 additions & 2 deletions docs/microfrontend-composer/back-kit/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,20 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.5.18] - 2025-06-06

### Added

- added prop interpolation with HTTP response values in `bk-notifications` component.

### Fixed

- Fixed `bk-table` columns when Chrome version is 136 or above.

## [1.5.17] - 2025-05-07

### Fixed

- added prop `validateForm` to custom footer button under the `actions` section for validating a form.

## [1.5.16] - 2025-03-03
Expand Down Expand Up @@ -78,7 +90,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Fixed

- fixed csv export option of column names as field IDs of labels
- fixed csv export option of column names as field IDs of labels

## [1.5.7] - 2024-09-20

Expand Down Expand Up @@ -348,7 +360,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Manifest of component `bk-expanded-filters` includes property `readFromUrl`
- Manifest of component `bk-file-picker-modal` is available


## [1.3.14] - 2023-06-15

### Added
Expand Down