Skip to content

Commit

Permalink
Fix: align code with parameter mgmt (#315)
Browse files Browse the repository at this point in the history
* fix: align search and detail including tests with parameter mgmt

* fix: align search and detail including tests with parameter mgmt

* fix: extend tests

* fix: tests
  • Loading branch information
HenryT-CG authored Dec 22, 2024
1 parent e93cff3 commit 6ae4f0f
Show file tree
Hide file tree
Showing 17 changed files with 1,031 additions and 799 deletions.
1 change: 1 addition & 0 deletions src/app/_am-mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
}
}
}

@mixin displaying-text-ellipsis($lines: 1) {
text-overflow: ellipsis;
overflow: hidden;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<p-dialog
[header]="'ACTIONS.' + this.changeMode + '.ANNOUNCEMENT' | translate"
[(visible)]="displayDetailDialog"
[header]="'DIALOG.DETAIL.' + this.changeMode + '.HEADER' | translate"
[(visible)]="displayDialog"
(onHide)="onDialogHide()"
[showHeader]="true"
[baseZIndex]="10000"
Expand Down Expand Up @@ -67,6 +67,7 @@
</label>
</span>
</div>

<div class="w-full relative">
<p-badge
*ngIf="changeMode !== 'VIEW'"
Expand Down Expand Up @@ -99,12 +100,8 @@
</div>
<p-fieldset [toggleable]="false" [collapsed]="false" styleClass="surface-100 pb-3 px-2">
<ng-template pTemplate="header">
<span
[pTooltip]="'DIALOG.DETAIL.ANNOUNCEMENT.PROPERTIES.TOOLTIP' | translate"
tooltipPosition="top"
tooltipEvent="hover"
>
{{ 'DIALOG.DETAIL.ANNOUNCEMENT.PROPERTIES' | translate }}
<span [pTooltip]="'DIALOG.DETAIL.TAB.TOOLTIPS.PROPS' | translate" tooltipPosition="top" tooltipEvent="hover">
{{ 'DIALOG.DETAIL.TAB.PROPS' | translate }}
</span>
</ng-template>
<div class="flex flex-wrap flex-column justify-content-between row-gap-3 sm:row-gap-4 mt-2">
Expand All @@ -128,7 +125,7 @@
tooltipEvent="hover"
>
</p-dropdown>
<label for="am_detail_form_workspace_name"> {{ 'ANNOUNCEMENT.WORKSPACE' | translate }} </label>
<label for="am_detail_form_workspace_name">{{ 'ANNOUNCEMENT.WORKSPACE' | translate }} </label>
</span>
</div>

Expand All @@ -150,7 +147,7 @@
tooltipEvent="hover"
>
</p-dropdown>
<label for="am_detail_form_application_name"> {{ 'ANNOUNCEMENT.PRODUCT_NAME' | translate }} </label>
<label for="am_detail_form_application_name">{{ 'ANNOUNCEMENT.PRODUCT_NAME' | translate }} </label>
</span>
</div>
</div>
Expand Down Expand Up @@ -205,7 +202,7 @@
tooltipPosition="top"
tooltipEvent="hover"
></p-calendar>
<label for="am_detail_form_end_date"> {{ 'ANNOUNCEMENT.END_DATE' | translate }}</label>
<label for="am_detail_form_end_date">{{ 'ANNOUNCEMENT.END_DATE' | translate }}</label>
</span>
</div>
</div>
Expand Down
Loading

0 comments on commit 6ae4f0f

Please sign in to comment.