querysub 0.227.0 → 0.228.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -172,6 +172,36 @@ type ServiceConfig = ${serviceConfigType}
|
|
|
172
172
|
sort(machines, x => -x.heartbeat);
|
|
173
173
|
|
|
174
174
|
return <div className={css.vbox(16).fillWidth}>
|
|
175
|
+
<style>{`
|
|
176
|
+
@keyframes rainbow-slide {
|
|
177
|
+
0% { background-position: 100% 100%; }
|
|
178
|
+
100% { background-position: 0% 0%; }
|
|
179
|
+
}
|
|
180
|
+
.rainbow-flash {
|
|
181
|
+
background: linear-gradient(-45deg,
|
|
182
|
+
hsl(0, 70%, 50%),
|
|
183
|
+
hsl(60, 70%, 50%),
|
|
184
|
+
hsl(120, 70%, 50%),
|
|
185
|
+
hsl(180, 70%, 50%),
|
|
186
|
+
hsl(240, 70%, 50%),
|
|
187
|
+
hsl(300, 70%, 50%),
|
|
188
|
+
hsl(0, 70%, 50%),
|
|
189
|
+
hsl(60, 70%, 50%),
|
|
190
|
+
hsl(120, 70%, 50%),
|
|
191
|
+
hsl(180, 70%, 50%)
|
|
192
|
+
);
|
|
193
|
+
background-size: 300% 300%;
|
|
194
|
+
color: white;
|
|
195
|
+
font-weight: bold;
|
|
196
|
+
text-shadow:
|
|
197
|
+
3px 3px 6px rgba(0, 0, 0, 0.9),
|
|
198
|
+
-3px -3px 6px rgba(0, 0, 0, 0.9),
|
|
199
|
+
3px -3px 6px rgba(0, 0, 0, 0.9),
|
|
200
|
+
-3px 3px 6px rgba(0, 0, 0, 0.9),
|
|
201
|
+
0 0 12px rgba(0, 0, 0, 0.8);
|
|
202
|
+
animation: rainbow-slide 3s linear infinite;
|
|
203
|
+
}
|
|
204
|
+
`}</style>
|
|
175
205
|
<div className={css.vbox(4).fillWidth}>
|
|
176
206
|
<InputLabel
|
|
177
207
|
label="Title"
|
|
@@ -313,7 +343,7 @@ type ServiceConfig = ${serviceConfigType}
|
|
|
313
343
|
<button className={css.pad2(12, 8).button.bord2(0, 0, 20).hsl(0, 0, 80)}
|
|
314
344
|
onClick={() => {
|
|
315
345
|
configT.parameters.poke = (configT.parameters.poke || 0) + 1;
|
|
316
|
-
void this.
|
|
346
|
+
void this.updateConfigSynced(configT);
|
|
317
347
|
}}>
|
|
318
348
|
Poke
|
|
319
349
|
</button>
|
|
@@ -352,8 +382,8 @@ type ServiceConfig = ${serviceConfigType}
|
|
|
352
382
|
</button>
|
|
353
383
|
</>}
|
|
354
384
|
|
|
355
|
-
{this.state.isSaving && <div className={css.pad2(12, 8).
|
|
356
|
-
Deploying
|
|
385
|
+
{this.state.isSaving && <div className={css.pad2(12, 8).bord2(0, 0, 20) + " rainbow-flash"}>
|
|
386
|
+
Deploying changes
|
|
357
387
|
</div>}
|
|
358
388
|
|
|
359
389
|
<div className={css.marginAuto}></div>
|
|
@@ -169,7 +169,7 @@ const runScreenCommand = measureWrap(async function runScreenCommand(config: {
|
|
|
169
169
|
// Throw if it already exists
|
|
170
170
|
await runPromise(`${prefix}tmux new -s ${screenName} -d`);
|
|
171
171
|
} catch { }
|
|
172
|
-
await runPromise(`${prefix}tmux send-keys -t ${screenName} 'echo "Updating running command at $(
|
|
172
|
+
await runPromise(`${prefix}tmux send-keys -t ${screenName} 'echo "Updating running command at ${new Date().toISOString()}"' Enter`);
|
|
173
173
|
// Send ctrl+c to kill any running command
|
|
174
174
|
await runPromise(`${prefix}tmux send-keys -t ${screenName} 'C-c' Enter`);
|
|
175
175
|
await runPromise(`${prefix}tmux send-keys -t ${screenName} 'cd ${config.folder}' Enter`);
|