-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathautomation-pillar.html
More file actions
113 lines (105 loc) · 4.09 KB
/
Copy pathautomation-pillar.html
File metadata and controls
113 lines (105 loc) · 4.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Builder — Automation pillar</title>
<link rel="stylesheet" href="shell.css">
</head>
<body>
<!-- Automation pillar [built]: the package's flows on the same canvas the engine runs.
Flow "Notify on Task Completed" selected; "Send Completion Email" node selected
-> node config in the inspector.
data-build="shell" = built in the builder (composition/chrome)
data-reuse="<comp>" = existing Studio/objectui component, dropped in unchanged -->
<div class="builder">
<!-- ===== top bar (built) ===== -->
<div class="topbar" data-build="shell">
<span class="app">app ▾</span>
<nav class="pilltabs">
<a href="#">Data</a>
<a class="active" href="#">Automation</a>
<a href="#">Interface</a>
<a href="#">Access</a>
</nav>
<div class="right">
<span>⚙</span>
<span>Save draft</span>
<button class="btn-publish">Publish</button>
</div>
</div>
<div class="body">
<!-- ===== left rail: flows (built) — flat list today; target = grouped by trigger ===== -->
<aside class="rail" data-build="shell">
<div class="label">AUTOMATIONS</div>
<div class="search">Search</div>
<ul>
<li class="active">Notify on Task Completed</li>
<li>Reassign Task</li>
<li>Project Budget Approval</li>
<li>Scheduled Project Digest</li>
<li>Inbound Task Webhook</li>
</ul>
<div class="new">+ New flow</div>
</aside>
<!-- ===== main: canvas strip + flow canvas ===== -->
<main class="main">
<!-- canvas strip (built chrome around the reused canvas) -->
<div class="canvas-strip" data-build="shell">
<span>Trigger: <b>autolaunched</b></span>
<span>Status: <b>draft</b></span>
<span>Run as: <b>user</b></span>
<span>v1</span>
<span class="pill on">Variables</span>
<span class="pill">Runs</span>
<span class="pill">Problems</span>
<span class="pill">Debug</span>
<span class="spacer"></span>
<span class="add">+ Add node</span>
<span>100%</span>
</div>
<!-- flow canvas = reused FlowCanvas -->
<div class="canvas-wrap">
<div class="canvas reuse" data-reuse="FlowCanvas">
<div class="node">
<span class="ic">▶</span>
<span><span class="nlabel">On Task Update</span><br><span class="kind">START · status == "done"</span></span>
</div>
<div class="node-link"></div>
<div class="node">
<span class="ic"></></span>
<span><span class="nlabel">Send Completion Email</span><br><span class="kind">SCRIPT · email</span></span>
</div>
<div class="node-link"></div>
<div class="node">
<span class="ic">◉</span>
<span><span class="nlabel">End</span><br><span class="kind">END</span></span>
</div>
<span class="reuse-tag">flow canvas = existing FlowCanvas (reused)</span>
</div>
</div>
</main>
<!-- ===== right inspector: node config = reused form ===== -->
<aside class="inspector" data-build="shell">
<div class="eyebrow">NODE</div>
<h3>Send Completion Email</h3>
<hr>
<div class="reuse form" data-reuse="node-config:flow">
<div class="flabel">Type</div>
<div class="field">Script ▾</div>
<div class="flabel">Email template</div>
<div class="field">task_completed ▾</div>
<div class="flabel">To</div>
<div class="field">{{record.owner.email}}</div>
<div class="toggle-row"><span>Continue on error</span><span class="toggle"></span></div>
<span class="reuse-tag">node config form (reused)</span>
</div>
</aside>
</div>
<!-- ===== legend ===== -->
<div class="legend">
<span><span class="sw built"></span>solid = shell / composition (built in the builder)</span>
<span><span class="sw reused"></span>dashed = existing Studio component (reused, not rebuilt)</span>
</div>
</div>
</body>
</html>