@milabench/bujang 0.1.9 → 0.1.10

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@milabench/bujang",
3
- "version": "0.1.9",
3
+ "version": "0.1.10",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -323,12 +323,17 @@ export const SshConnectButton: React.FC = () => {
323
323
  ? `${connected} of ${shared.length} clusters connected${missing ? ': log in to the others' : ''}`
324
324
  : 'Open the ssh connections of the clusters'}
325
325
  >
326
- <LuPlug />
327
- Connect
328
- {connected > 0 && (
329
- <Badge colorPalette="green" variant="solid" size="xs" ml={1}>
330
- {connected}
331
- </Badge>
326
+ {connected > 0 ? (
327
+ <>
328
+ <Box as="span" w="8px" h="8px" borderRadius="full" flexShrink={0}
329
+ bg="var(--color-status-running, #22c55e)" />
330
+ {connected} connected
331
+ </>
332
+ ) : (
333
+ <>
334
+ <LuPlug />
335
+ Connect
336
+ </>
332
337
  )}
333
338
  </Button>
334
339
  <SshConnectDialog open={open} onClose={() => setOpen(false)} />
@@ -207,7 +207,7 @@ const RunningCard: React.FC<{ data: JanitorOverview }> = ({ data }) => {
207
207
  // ─── Periodic jobs ──────────────────────────────────────────────────
208
208
 
209
209
  const PERIODIC_HELP: Record<string, string> = {
210
- 'job sync': 'pulls the job folders of the clusters that have unfinished jobs (rsync), then updates the index of the jobs page for what changed. Not a database sync.',
210
+ 'full sync': 'pulls the job folders of the clusters that have unfinished jobs (rsync), then updates the index of the jobs page for what changed. Not a database sync.',
211
211
  book_keeping: 'hourly: full rsync of each cluster, accounting of the finished jobs, then removal of their folders on the cluster',
212
212
  scheduled_check: 'submits the scheduled jobs that are due',
213
213
  janitor_prune: 'removes the history older than the retention',