Browse Source

Fix workflow schemas.

pull/743/head
Sebastian 4 years ago
parent
commit
0f0f93eef9
  1. 3
      backend/src/Squidex/Areas/Api/Controllers/Apps/Models/WorkflowDto.cs
  2. 4
      frontend/app/features/settings/pages/workflows/workflow-step.component.scss
  3. 2
      frontend/app/features/settings/pages/workflows/workflows-page.component.html
  4. 8
      frontend/app/framework/angular/forms/editors/tag-editor.component.scss

3
backend/src/Squidex/Areas/Api/Controllers/Apps/Models/WorkflowDto.cs

@ -9,6 +9,7 @@ using System.Collections.Generic;
using System.Linq; using System.Linq;
using Squidex.Domain.Apps.Core.Contents; using Squidex.Domain.Apps.Core.Contents;
using Squidex.Infrastructure; using Squidex.Infrastructure;
using Squidex.Infrastructure.Collections;
using Squidex.Infrastructure.Reflection; using Squidex.Infrastructure.Reflection;
using Squidex.Infrastructure.Validation; using Squidex.Infrastructure.Validation;
using Squidex.Web; using Squidex.Web;
@ -36,7 +37,7 @@ namespace Squidex.Areas.Api.Controllers.Apps.Models
/// <summary> /// <summary>
/// The schema ids. /// The schema ids.
/// </summary> /// </summary>
public IReadOnlyList<DomainId>? SchemaIds { get; set; } public ImmutableList<DomainId>? SchemaIds { get; set; }
/// <summary> /// <summary>
/// The initial step. /// The initial step.

4
frontend/app/features/settings/pages/workflows/workflow-step.component.scss

@ -60,6 +60,10 @@
} }
} }
.form-check {
margin: 0;
}
.btn-initial { .btn-initial {
line-height: 1.6rem; line-height: 1.6rem;
padding-left: 0; padding-left: 0;

2
frontend/app/features/settings/pages/workflows/workflows-page.component.html

@ -8,7 +8,7 @@
</ng-container> </ng-container>
<ng-container> <ng-container>
<sqx-list-view [isLoading]="workflowsState.isLoading | async"> <sqx-list-view innerWidth="80rem" [isLoading]="workflowsState.isLoading | async">
<ng-container> <ng-container>
<ng-container *ngIf="workflowsState.errors | async; let errors"> <ng-container *ngIf="workflowsState.errors | async; let errors">
<div class="alert alert-danger" *ngIf="errors.length > 1"> <div class="alert alert-danger" *ngIf="errors.length > 1">

8
frontend/app/framework/angular/forms/editors/tag-editor.component.scss

@ -13,6 +13,10 @@ $inner-height: 1.75rem;
position: relative; position: relative;
} }
.form-check {
margin: 0;
}
.form-control { .form-control {
cursor: text; cursor: text;
padding: .25rem; padding: .25rem;
@ -91,6 +95,7 @@ div {
background: transparent; background: transparent;
border: 0; border: 0;
border-radius: 0; border-radius: 0;
box-shadow: none;
padding: 0; padding: 0;
&:focus, &:focus,
@ -176,7 +181,6 @@ div {
} }
.suggestions-dropdown { .suggestions-dropdown {
max-width: 420px; @include force-width(450px);
min-width: 420px;
padding: 1rem; padding: 1rem;
} }
Loading…
Cancel
Save