-
Notifications
You must be signed in to change notification settings - Fork 167
Use @hierarchy annotation #601
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
base: main
Are you sure you want to change the base?
Changes from all commits
a88f385
e299356
1571deb
3edc983
9f2fa1b
ccd6d3f
4b213f9
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -94,7 +94,7 @@ annotate AdminService.GenreHierarchy with { | |
| ID @UI.Hidden; | ||
| }; | ||
|
|
||
| annotate AdminService.GenreHierarchy with @Hierarchy.RecursiveHierarchyActions #GenreHierarchy: { | ||
| annotate AdminService.GenreHierarchy with @Hierarchy.RecursiveHierarchyActions #GenreHierarchyHierarchy: { | ||
| $Type : 'Hierarchy.RecursiveHierarchyActionsType', | ||
| // any name can be the action name with namespace/no bound action name | ||
| ChangeNextSiblingAction: 'AdminService.moveSibling', | ||
|
|
@@ -104,7 +104,7 @@ annotate AdminService.GenreHierarchy with @UI: { | |
| PresentationVariant #VH: { | ||
| $Type : 'UI.PresentationVariantType', | ||
| Visualizations : ['@UI.LineItem'], | ||
| RecursiveHierarchyQualifier: 'GenreHierarchy' | ||
| RecursiveHierarchyQualifier: 'GenreHierarchyHierarchy' | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think we should avoid the duplicate HierarchyHierarchy |
||
| }, | ||
| LineItem : [{ | ||
| $Type: 'UI.DataField', | ||
|
|
@@ -196,19 +196,7 @@ annotate AdminService.Books.texts { | |
| // | ||
| // Annotations for hierarchy ContentsHierarchy | ||
| // | ||
| annotate AdminService.ContentsHierarchy with @Aggregation.RecursiveHierarchy#ContentsHierarchy: { | ||
| $Type: 'Aggregation.RecursiveHierarchyType', | ||
| NodeProperty: ID, // identifies a node | ||
| ParentNavigationProperty: parent // navigates to a node's parent | ||
| }; | ||
|
|
||
| annotate AdminService.ContentsHierarchy with @Hierarchy.RecursiveHierarchy#ContentsHierarchy: { | ||
| $Type: 'Hierarchy.RecursiveHierarchyType', | ||
| LimitedDescendantCount: LimitedDescendantCount, | ||
| DistanceFromRoot: DistanceFromRoot, | ||
| DrillState: DrillState, | ||
| LimitedRank: LimitedRank | ||
| }; | ||
| annotate AdminService.ContentsHierarchy with @hierarchy; | ||
|
|
||
| annotate AdminService.Books actions { | ||
| @( | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -93,7 +93,7 @@ | |
| "controlConfiguration": { | ||
| "@com.sap.vocabularies.UI.v1.LineItem": { | ||
| "tableSettings": { | ||
| "hierarchyQualifier": "GenreHierarchy", | ||
| "hierarchyQualifier": "GenreHierarchyHierarchy", | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think we should avoid the duplicate HierarchyHierarchy |
||
| "type": "TreeTable" | ||
| } | ||
| } | ||
|
|
||
This file was deleted.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should avoid the duplicate HierarchyHierarchy