-
Notifications
You must be signed in to change notification settings - Fork 269
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* [ACS-6831] Refactor property panel feature to mitigate bugs and increase code quality * [ACS-6831] Introduce new interace for metadata panel * ACS-6831 Corrected tests * ACS-6831 Fixed unit tests * ACS-6831 Fixed unit tests * ACS-6831 Cleaning code * ACS-6831 Added tests * ACS-6831 Replaced fdescribe with describe * [ACS-6831] Use default properties enum, fix editing state * [ACS-6831] Expand correct section based on displayAspect property * [ACS-6831] Lint fix --------- Co-authored-by: Aleksander Sklorz <[email protected]>
- Loading branch information
1 parent
872abc3
commit f7dcab7
Showing
12 changed files
with
569 additions
and
585 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
docs/content-services/interfaces/content-metadata-panel.interface.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
Title: Content Metadata Panel interface | ||
Added: v6.7.0 | ||
Status: Active | ||
Last reviewed: 2024-02-22 | ||
--- | ||
|
||
# [Content Metadata Panel interface](../../../lib/content-services/src/lib/content-metadata/interfaces/content-metadata-panel.interface.ts "Defined in content-metadata-panel.interface.ts") | ||
|
||
Specifies required properties for metadata panel to be displayed in [ContentMetadataCardComponent](../components/content-metadata-card.component.md). | ||
|
||
## Basic usage | ||
|
||
```ts | ||
export interface ContentMetadataPanel { | ||
panelTitle: string; | ||
expanded?: boolean; | ||
} | ||
``` | ||
|
||
### Properties | ||
|
||
| Name | Type | Default value | Description | | ||
| ---- | ---- | ------------- | ----------- | | ||
| panelTitle | `string` | | Title for the panel the will be displayed in expansion panel header. | | ||
| expanded | `boolean` | | Specifies if given panel is expanded. | | ||
|
||
## See also | ||
|
||
- [ContentMetadataCardComponent](../components/content-metadata-card.component.md) | ||
- [Dynamic Component](../../extensions/components/dynamic.component.md) | ||
- [Content Metadata Custom panel interface](./content-metadata-custom-panel.interface.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
264 changes: 150 additions & 114 deletions
264
...ices/src/lib/content-metadata/components/content-metadata/content-metadata.component.html
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.