|
16 | 16 | <div class="text--secondary mb-1 mt-3">Description</div> |
17 | 17 | <div data-test="description">{{ journey.description }}</div> |
18 | 18 |
|
19 | | - <div class="text--secondary mb-1 mt-3">Component include patterns</div> |
20 | | - <div>{{ journey.component_include_patterns || '—' }}</div> |
21 | | - |
22 | | - <div class="text--secondary mb-1 mt-3">Component exclude patterns</div> |
23 | | - <div>{{ journey.component_exclude_patterns || '—' }}</div> |
24 | | - |
25 | 19 | <div class="bottom-chip mt-3"> |
26 | 20 | <created-by [createdBy]="journey.created_by" |
27 | 21 | [createdOn]="journey.created_on"></created-by> |
|
41 | 35 | rows="2" |
42 | 36 | matInput></textarea> |
43 | 37 | </mat-form-field> |
44 | | - <text-field formControlName="component_include_patterns" |
45 | | - label="Component include patterns" |
46 | | - placeholder="Component include patterns"> |
47 | | - </text-field> |
48 | | - <text-field formControlName="component_exclude_patterns" |
49 | | - label="Component exclude patterns" |
50 | | - placeholder="Component exclude patterns"> |
51 | | - </text-field> |
52 | | - <div class="pattern-preview"> |
53 | | - <button mat-stroked-button |
54 | | - type="button" |
55 | | - (click)="previewComponents()" |
56 | | - [disabled]="previewing"> |
57 | | - {{ previewing ? 'Previewing...' : 'Preview matching components' }} |
58 | | - </button> |
59 | | - <div *ngIf="previewResults !== null" |
60 | | - class="preview-results"> |
61 | | - <span *ngIf="previewResults.length === 0" |
62 | | - class="text--secondary">No components match the current patterns.</span> |
63 | | - <ul *ngIf="previewResults.length > 0" |
64 | | - class="preview-list"> |
65 | | - <li *ngFor="let c of previewResults">{{ c.key }}</li> |
66 | | - </ul> |
67 | | - </div> |
68 | | - </div> |
69 | 38 | </form> |
70 | 39 |
|
71 | 40 | </ng-container> |
|
0 commit comments