Skip to content
This repository was archived by the owner on May 14, 2025. It is now read-only.

Commit b4fd432

Browse files
aclementjvalkeal
authored andcommitted
Revisit validation
EditorService - Tests added (verifying validation of graph) - Moved some messages to constants - Altered validation to make full use of promises (rather than promises to a certain depth then async) - More validation rules related to fan-in/out scenarios graph-to-text - Adjustments to cope better with 'bad input' and try to create some kind of graph (tests added for this case) RenderService - Prevents creation of tap links from destinations (channels/taps) - Prevents link switching working for links from destinations text-to-graph - Fixed handling of map (use setter) markup - no bullet lists on error tooltips if only one entry - tooltips working for destinations Fixes #395
1 parent 8e72ca6 commit b4fd432

10 files changed

+608
-80
lines changed

ui/src/app/streams/flo/decoration/decoration.component.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
</svg:g>
77

88
<template #markerTooltip>
9-
<div>
9+
<ul class="marker-tooltip">
1010
<li *ngFor="let msg of getMessages()">{{msg}}</li>
11-
</div>
12-
</template>
11+
</ul>
12+
</template>
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,26 @@
11
.error-marker-tooltip .tooltip-inner {
22
background-color: red;
33
max-width: 400px;
4+
padding: 2px;
45
}
6+
57
.tooltip.error-marker-tooltip .tooltip-arrow {
68
border-right-color: red;
79
}
10+
11+
.marker-tooltip {
12+
13+
list-style-type: none;
14+
margin: 0;
15+
padding: 0;
16+
17+
li {
18+
border-bottom: 1px solid white;
19+
text-align: left;
20+
}
21+
22+
li:last-child {
23+
border: none;
24+
}
25+
26+
}

0 commit comments

Comments
 (0)