flexdesk 0.4.1 → 0.4.3
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/README.md +24 -0
- package/dist/charts.js +2 -2
- package/dist/{chunk-XKDTIT4Q.js → chunk-4RGQSRMC.js} +2 -2
- package/dist/{chunk-QIU5S2RU.js → chunk-P4AALM3A.js} +2 -2
- package/dist/{chunk-QIU5S2RU.js.map → chunk-P4AALM3A.js.map} +2 -2
- package/dist/tiles.js +2 -2
- package/dist/widgets.js +1 -1
- package/dist/wm.js +232 -107
- package/dist/wm.js.map +3 -3
- package/package.json +1 -1
- package/src/tiling/shell.js +8 -1
- package/src/tiling/tile_breadcrumb.js +9 -8
- package/src/tiling/tile_renderer.js +1 -1
- package/src/tiling/wm.js +258 -118
- package/src/ui/components/data_table.js +5 -1
- /package/dist/{chunk-XKDTIT4Q.js.map → chunk-4RGQSRMC.js.map} +0 -0
package/README.md
CHANGED
|
@@ -114,6 +114,7 @@ await createShell({
|
|
|
114
114
|
snapPromotion: true, // drag a floating window onto a tile: it snaps, and docks back in
|
|
115
115
|
promoteInPlace: true, // a window floated out of a tile stays inside that tile's pane
|
|
116
116
|
backToOpenList: true, // Back in a record opened beside its list closes onto that list
|
|
117
|
+
floatActiveTab: true, // floating a tile takes the tab on screen, not the whole pane
|
|
117
118
|
chrome: {
|
|
118
119
|
topNav: document.getElementById('nav'),
|
|
119
120
|
zoom: document.getElementById('status-bar'), // content zoom, 50–200%
|
|
@@ -139,6 +140,29 @@ the nearest tab to the left, else to the right, that is not a record (no
|
|
|
139
140
|
`props.id`) and belongs to the same top-nav section. Per-tab history still comes
|
|
140
141
|
first, and a record with no such list beside it still walks up in place.
|
|
141
142
|
|
|
143
|
+
**`floatActiveTab`** is for apps whose tabs are separate records rather than
|
|
144
|
+
views of one pane. The float button, Alt+F and the tile menu take only the tab
|
|
145
|
+
on screen and leave its siblings in the tile, so the window holds one tab and
|
|
146
|
+
draws no strip. Without it the whole pane floats, strip and all.
|
|
147
|
+
|
|
148
|
+
**Back and the breadcrumb are one rule.** `wm.navigateBack()` (Backspace) and
|
|
149
|
+
`wm.navigateUp(kind, props, { ctx })` (every breadcrumb crumb) share it. With
|
|
150
|
+
`backToOpenList`, a record whose section has a list open closes onto that list;
|
|
151
|
+
otherwise Back walks the taxonomy up and a crumb navigates to its level, in
|
|
152
|
+
place. A crumb naming an entity, such as an epic above a story, opens that
|
|
153
|
+
entity. `navigate` stays the verb for going to exactly a target; use
|
|
154
|
+
`navigateUp` for anything that means "up to this level".
|
|
155
|
+
|
|
156
|
+
A filter or other props passed to `openInPrimary` for a list that is already
|
|
157
|
+
showing are applied to it. A bare open, such as a top-nav click, keeps the tab
|
|
158
|
+
as you left it.
|
|
159
|
+
|
|
160
|
+
**Back in a floating window** always acts on that window, whichever option is
|
|
161
|
+
set. The last click decides: inside a window, Backspace walks that window up;
|
|
162
|
+
anywhere else, it walks the focused tile as before. With `backToOpenList`, a
|
|
163
|
+
record in a window closes onto an open list of its section, first among the
|
|
164
|
+
window's own tabs and then in any tile of its desktop.
|
|
165
|
+
|
|
142
166
|
## The host port
|
|
143
167
|
|
|
144
168
|
FlexDesk never touches `pywebview`, `fetch`, `localStorage` or the filesystem. It
|
package/dist/charts.js
CHANGED
|
@@ -39,10 +39,10 @@ import {
|
|
|
39
39
|
setPlotlySource,
|
|
40
40
|
uid,
|
|
41
41
|
updateChart
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-4RGQSRMC.js";
|
|
43
43
|
import {
|
|
44
44
|
createRafResizeObserver
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-P4AALM3A.js";
|
|
46
46
|
import {
|
|
47
47
|
ManagedWindow
|
|
48
48
|
} from "./chunk-LH5TSOZW.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DataTable,
|
|
3
3
|
createRafResizeObserver
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-P4AALM3A.js";
|
|
5
5
|
import {
|
|
6
6
|
ManagedWindow
|
|
7
7
|
} from "./chunk-LH5TSOZW.js";
|
|
@@ -2370,4 +2370,4 @@ export {
|
|
|
2370
2370
|
openPlotPopoutWindow,
|
|
2371
2371
|
openRawTracesWindow
|
|
2372
2372
|
};
|
|
2373
|
-
//# sourceMappingURL=chunk-
|
|
2373
|
+
//# sourceMappingURL=chunk-4RGQSRMC.js.map
|
|
@@ -1133,7 +1133,7 @@ var DataTable = class {
|
|
|
1133
1133
|
const isServerSide = typeof onPageChange === "function";
|
|
1134
1134
|
const processedRows = isServerSide ? rows : this._getProcessedRows();
|
|
1135
1135
|
const offset = isServerSide ? configOffset || 0 : this._state.offset;
|
|
1136
|
-
const pageRows = isServerSide ? processedRows : processedRows.slice(offset, offset + pageSize);
|
|
1136
|
+
const pageRows = isServerSide || !this.config.pagination ? processedRows : processedRows.slice(offset, offset + pageSize);
|
|
1137
1137
|
const table = document.createElement("table");
|
|
1138
1138
|
table.className = readonly ? "twm-preview-table twm-preview-table--readonly" : "twm-preview-table";
|
|
1139
1139
|
table.tabIndex = 0;
|
|
@@ -2065,4 +2065,4 @@ export {
|
|
|
2065
2065
|
createRafResizeObserver,
|
|
2066
2066
|
DataTable
|
|
2067
2067
|
};
|
|
2068
|
-
//# sourceMappingURL=chunk-
|
|
2068
|
+
//# sourceMappingURL=chunk-P4AALM3A.js.map
|