+
+
+
+
+
+
+
+
+ {{ 'version-control.remove-other-entities' | translate }}
+
+
+ {{ 'version-control.find-existing-entity-by-name' | translate }}
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ 'version-control.remove-other-entities' | translate }}
-
-
- {{ 'version-control.find-existing-entity-by-name' | translate }}
-
-
-
-
- {{ 'version-control.load-credentials' | translate }}
-
-
- {{ 'version-control.load-attributes' | translate }}
-
-
- {{ 'version-control.load-relations' | translate }}
-
-
+
+
+ {{ 'version-control.load-credentials' | translate }}
+
+
+ {{ 'version-control.load-attributes' | translate }}
+
+
+ {{ 'version-control.load-relations' | translate }}
+
-
-
-
+
+
+
-
+
{{ 'version-control.create-entity-version' | translate }}
@@ -34,7 +34,8 @@
version-control.version-name
-
+
{{ 'version-control.version-name-required' | translate }}
diff --git a/ui-ngx/src/app/modules/home/components/vc/entity-version-create.component.ts b/ui-ngx/src/app/modules/home/components/vc/entity-version-create.component.ts
index 6706d80c71..0b8812f94d 100644
--- a/ui-ngx/src/app/modules/home/components/vc/entity-version-create.component.ts
+++ b/ui-ngx/src/app/modules/home/components/vc/entity-version-create.component.ts
@@ -80,7 +80,7 @@ export class EntityVersionCreateComponent extends PageComponent implements OnIni
this.createVersionFormGroup = this.fb.group({
branch: [this.branch, [Validators.required]],
versionName: [this.translate.instant('version-control.default-create-entity-version-name',
- {entityName: this.entityName}), [Validators.required]],
+ {entityName: this.entityName}), [Validators.required, Validators.pattern(/(?:.|\s)*\S(&:.|\s)*/)]],
saveRelations: [false, []],
saveAttributes: [true, []],
saveCredentials: [true, []]
diff --git a/ui-ngx/src/app/modules/home/components/vc/entity-version-diff.component.scss b/ui-ngx/src/app/modules/home/components/vc/entity-version-diff.component.scss
index cf0bf939b7..e3efdc871b 100644
--- a/ui-ngx/src/app/modules/home/components/vc/entity-version-diff.component.scss
+++ b/ui-ngx/src/app/modules/home/components/vc/entity-version-diff.component.scss
@@ -19,6 +19,7 @@
.entity-version-diff-view {
position: relative;
&:not(.tb-fullscreen) {
+ max-height: 95vh;
&.content-ready {
width: 600px;
@media #{$mat-gt-sm} {
diff --git a/ui-ngx/src/app/modules/home/components/vc/entity-version-diff.component.ts b/ui-ngx/src/app/modules/home/components/vc/entity-version-diff.component.ts
index 29955af18e..c93d970448 100644
--- a/ui-ngx/src/app/modules/home/components/vc/entity-version-diff.component.ts
+++ b/ui-ngx/src/app/modules/home/components/vc/entity-version-diff.component.ts
@@ -161,7 +161,7 @@ export class EntityVersionDiffComponent extends PageComponent implements OnInit,
setTimeout(() => {
this.diffCount = this.differ.getNumDiffs();
this.updateHasNextAndPrevious();
- });
+ }, 1);
});
});
});
diff --git a/ui-ngx/src/app/modules/home/components/vc/entity-version-restore.component.html b/ui-ngx/src/app/modules/home/components/vc/entity-version-restore.component.html
index b096c1907f..cbd2c72c31 100644
--- a/ui-ngx/src/app/modules/home/components/vc/entity-version-restore.component.html
+++ b/ui-ngx/src/app/modules/home/components/vc/entity-version-restore.component.html
@@ -15,7 +15,7 @@
limitations under the License.
-->
-
+
{{ 'version-control.restore-entity-from-version' | translate: {versionName} }}
diff --git a/ui-ngx/src/app/modules/home/components/vc/entity-versions-table.component.html b/ui-ngx/src/app/modules/home/components/vc/entity-versions-table.component.html
index b6accc40dc..2f3abbb12c 100644
--- a/ui-ngx/src/app/modules/home/components/vc/entity-versions-table.component.html
+++ b/ui-ngx/src/app/modules/home/components/vc/entity-versions-table.component.html
@@ -31,32 +31,36 @@
-
-
-
-
+
+
+
+
+
+
+
+