UI[Map]: Fix help popover styles in settings; make popover body scrollable

This commit is contained in:
Vladyslav_Prykhodko 2025-03-27 12:30:10 +02:00
parent 151a087e45
commit 896a7f0b45
10 changed files with 16 additions and 7 deletions

View File

@ -60,7 +60,8 @@
[validationArgs]="[]"
[editorCompleter]="customPrettyActionEditorCompleter"
functionTitle="{{ 'widget-action.custom-pretty-function' | translate }}"
[helpId]="helpId">
[helpId]="helpId"
[helpPopupStyle]="{width: '900px'}">
</tb-js-func>
</div>
</div>

View File

@ -101,7 +101,8 @@
[validationArgs]="[]"
[editorCompleter]="customPrettyActionEditorCompleter"
functionTitle="{{ 'widget-action.custom-pretty-function' | translate }}"
[helpId]="helpId">
[helpId]="helpId"
[helpPopupStyle]="{width: '900px'}">
</tb-js-func>
</mat-tab>
</mat-tab-group>

View File

@ -256,6 +256,7 @@
[editorCompleter]="customActionEditorCompleter"
withModules
helpId="widget/action/custom_action_fn"
[helpPopupStyle]="{width: '900px'}"
></tb-js-func>
</ng-template>
<ng-template [ngSwitchCase]="widgetActionType.placeMapItem">

View File

@ -95,7 +95,8 @@
[functionArgs]="['data', 'dsData']"
[globalVariables]="functionScopeVariables"
functionTitle="{{ 'widgets.maps.data-layer.color-function' | translate }}"
[helpId]="helpId">
[helpId]="helpId"
[helpPopupStyle]="{width: '900px'}">
</tb-js-func>
</div>
</ng-template>

View File

@ -43,6 +43,7 @@
display: flex;
flex-direction: column;
min-height: 0;
overflow: auto;
}
.tb-data-layer-color-settings-panel-buttons {
height: 40px;

View File

@ -46,7 +46,8 @@
[globalVariables]="functionScopeVariables"
[functionArgs]="['data', 'dsData']"
functionTitle="{{ (patternType === 'label' ? 'widgets.maps.data-layer.label-function' : 'widgets.maps.data-layer.tooltip-function') | translate }}"
[helpId]="helpId">
[helpId]="helpId"
[helpPopupStyle]="{width: '900px'}">
</tb-js-func>
<ng-container *ngIf="patternType === 'tooltip'">
<div class="tb-form-row space-between column-xs">

View File

@ -88,7 +88,8 @@
[globalVariables]="functionScopeVariables"
[functionArgs]="['data', 'childCount']"
functionTitle="{{ 'widgets.maps.data-layer.marker.clustering.marker-color-function' | translate }}"
helpId="widget/lib/map/clustering_color_fn">
helpId="widget/lib/map/clustering_color_fn"
[helpPopupStyle]="{width: '900px'}">
</tb-js-func>
</ng-template>
</mat-expansion-panel>

View File

@ -41,6 +41,7 @@
display: flex;
flex-direction: column;
min-height: 0;
overflow: auto;
}
.tb-marker-image-settings-panel-buttons {
height: 40px;

View File

@ -70,7 +70,8 @@
[globalVariables]="functionScopeVariables"
[functionArgs]="['data', 'dsData']"
functionTitle="{{ 'widgets.maps.timeline.location-snap-filter-function' | translate }}"
helpId="widget/lib/map/trip_point_as_anchor_fn">
helpId="widget/lib/map/trip_point_as_anchor_fn"
[helpPopupStyle]="{width: '900px'}">
</tb-js-func>
</ng-template>
</mat-expansion-panel>

View File

@ -8013,7 +8013,7 @@
"pattern-type-function": "Function",
"label-pattern": "Label (pattern examples: '${entityName}', '${entityName}: (Text ${keyName} units.)' )",
"label-function": "Label function",
"tooltip-pattern": "Tooltip (for ex. 'Text ${keyName} units.' or <link-act name='my-action'>Link text</link-act>')",
"tooltip-pattern": "Tooltip (for ex. 'Text ${keyName} units.' or <link-act name='my-action'>Link text</link-act>)",
"tooltip-function": "Tooltip function",
"tooltip-trigger": "Tooltip trigger",
"tooltip-trigger-click": "Show tooltip on click",