@nuvin/session 0.2.1-rc.0 → 0.2.1-rc.1
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/dist/ui/index.js
CHANGED
|
@@ -90,9 +90,7 @@ function buildPickerRows(input) {
|
|
|
90
90
|
continue;
|
|
91
91
|
}
|
|
92
92
|
rows.push({ kind: "new", server: server.name });
|
|
93
|
-
const sessions = [...server.status.sessions].sort(
|
|
94
|
-
(a, b) => b.lastActivityAt - a.lastActivityAt
|
|
95
|
-
);
|
|
93
|
+
const sessions = [...server.status.sessions].sort((a, b) => b.createdAt - a.createdAt);
|
|
96
94
|
for (const session of sessions) {
|
|
97
95
|
rows.push({ kind: "session", server: server.name, session });
|
|
98
96
|
}
|
package/dist/ui/picker-rows.d.ts
CHANGED
|
@@ -43,8 +43,8 @@ export type BuildPickerRowsInput = {
|
|
|
43
43
|
/**
|
|
44
44
|
* Pure dashboard content model (spec §4). For each daemon in the directory:
|
|
45
45
|
* a header with the daemon name, then its connection status. An online daemon
|
|
46
|
-
* shows a New-session row, its live sessions (
|
|
47
|
-
*
|
|
46
|
+
* shows a New-session row, its live sessions (newest-created first), and a
|
|
47
|
+
* History entry-point row. A connecting/offline daemon shows only a status
|
|
48
48
|
* row (offline → sessions unknown). Unresolvable config entries (issues) render
|
|
49
49
|
* as offline sections after the connected daemons.
|
|
50
50
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"picker-rows.d.ts","sourceRoot":"","sources":["../../src/ui/picker-rows.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAE9D;;;;;GAKG;AACH,MAAM,MAAM,WAAW,GAAG;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF;;;;;;;GAOG;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