flexdesk 0.15.0 → 0.15.2

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.
Files changed (189) hide show
  1. package/LICENSE +0 -0
  2. package/README.md +3 -1
  3. package/THIRD_PARTY_LICENSES.md +0 -0
  4. package/css/base.css +0 -0
  5. package/css/flexdesk.css +0 -0
  6. package/css/overrides.css +0 -0
  7. package/css/reset.css +0 -0
  8. package/css/tokens.css +0 -0
  9. package/dist/canvas.js +0 -0
  10. package/dist/canvas.js.map +0 -0
  11. package/dist/charts.js +0 -0
  12. package/dist/charts.js.map +0 -0
  13. package/dist/chunk-3PHCPZHT.js +0 -0
  14. package/dist/chunk-3PHCPZHT.js.map +0 -0
  15. package/dist/chunk-6JSOVNID.js +0 -0
  16. package/dist/chunk-6JSOVNID.js.map +0 -0
  17. package/dist/chunk-CWPMLX67.js +0 -0
  18. package/dist/chunk-CWPMLX67.js.map +0 -0
  19. package/dist/chunk-FBGP5KN5.js +0 -0
  20. package/dist/chunk-FBGP5KN5.js.map +0 -0
  21. package/dist/chunk-FL5KFNQH.js +0 -0
  22. package/dist/chunk-FL5KFNQH.js.map +0 -0
  23. package/dist/chunk-FOOS3T5L.js +0 -0
  24. package/dist/chunk-FOOS3T5L.js.map +0 -0
  25. package/dist/chunk-JYWURG5T.js +0 -0
  26. package/dist/chunk-JYWURG5T.js.map +0 -0
  27. package/dist/chunk-NLTOY57M.js +0 -0
  28. package/dist/chunk-NLTOY57M.js.map +0 -0
  29. package/dist/chunk-NNFTETK3.js +0 -0
  30. package/dist/chunk-NNFTETK3.js.map +0 -0
  31. package/dist/chunk-O5OHMWBB.js +0 -0
  32. package/dist/chunk-O5OHMWBB.js.map +0 -0
  33. package/dist/chunk-RQM5Z2MU.js +0 -0
  34. package/dist/chunk-RQM5Z2MU.js.map +0 -0
  35. package/dist/chunk-SN4LSOAR.js +0 -0
  36. package/dist/chunk-SN4LSOAR.js.map +0 -0
  37. package/dist/chunk-WVFGV5FT.js +0 -0
  38. package/dist/chunk-WVFGV5FT.js.map +0 -0
  39. package/dist/core.js +0 -0
  40. package/dist/core.js.map +0 -0
  41. package/dist/editor.js +0 -0
  42. package/dist/editor.js.map +0 -0
  43. package/dist/flexdesk.css +0 -0
  44. package/dist/flow.js +0 -0
  45. package/dist/flow.js.map +0 -0
  46. package/dist/host.js +0 -0
  47. package/dist/host.js.map +0 -0
  48. package/dist/reset.css +0 -0
  49. package/dist/tile_registry-6WZPTUZV.js +0 -0
  50. package/dist/tile_registry-6WZPTUZV.js.map +0 -0
  51. package/dist/tiles.js +0 -0
  52. package/dist/tiles.js.map +0 -0
  53. package/dist/tokens.css +0 -0
  54. package/dist/widgets.js +12 -0
  55. package/dist/widgets.js.map +2 -2
  56. package/dist/wm.js +3 -1
  57. package/dist/wm.js.map +2 -2
  58. package/package.json +1 -1
  59. package/src/canvas/canvas_adapter.js +0 -0
  60. package/src/canvas/edge_router.js +0 -0
  61. package/src/canvas/graph/connector_router.js +0 -0
  62. package/src/canvas/graph/history_service.js +0 -0
  63. package/src/canvas/graph/node_platform.js +0 -0
  64. package/src/canvas/index.js +0 -0
  65. package/src/charts/chart_types.js +0 -0
  66. package/src/charts/data_series_plot_window.js +0 -0
  67. package/src/charts/downsample.js +0 -0
  68. package/src/charts/plot_config.js +0 -0
  69. package/src/charts/plot_popout_window.js +0 -0
  70. package/src/charts/plotly_wrapper.js +0 -0
  71. package/src/core/event_bus.js +0 -0
  72. package/src/core/logging.js +0 -0
  73. package/src/core/settings.js +0 -0
  74. package/src/core/state_guard.js +0 -0
  75. package/src/core/state_guard_config.js +0 -0
  76. package/src/core/state_machine.js +0 -0
  77. package/src/editor/editor_pane.js +0 -0
  78. package/src/editor/monaco_editor_factory.js +0 -0
  79. package/src/editor/monaco_loader.js +0 -0
  80. package/src/editor/notebook_search.js +0 -0
  81. package/src/editor/notebook_tab_bar.js +0 -0
  82. package/src/editor/notebook_undo_manager.js +0 -0
  83. package/src/editor/split_pane_container.js +0 -0
  84. package/src/flow/canvas_editor/editor.js +0 -0
  85. package/src/flow/canvas_editor/index.js +0 -0
  86. package/src/flow/canvas_editor/layout.js +0 -0
  87. package/src/flow/canvas_editor/strings.js +0 -0
  88. package/src/flow/kit/always_before.js +0 -0
  89. package/src/flow/kit/catalogue.js +0 -0
  90. package/src/flow/kit/chip_input.js +0 -0
  91. package/src/flow/kit/dom.js +0 -0
  92. package/src/flow/kit/findings.js +0 -0
  93. package/src/flow/kit/history.js +0 -0
  94. package/src/flow/kit/index.js +0 -0
  95. package/src/flow/kit/keys.js +0 -0
  96. package/src/flow/kit/logic_graph.js +0 -0
  97. package/src/flow/kit/references.js +0 -0
  98. package/src/flow/kit/settings_panel.js +0 -0
  99. package/src/flow/kit/settings_schema.js +0 -0
  100. package/src/flow/kit/step_picker.js +0 -0
  101. package/src/flow/kit/strings.js +0 -0
  102. package/src/flow/kit/value_picker.js +0 -0
  103. package/src/flow/kit/widgets.js +0 -0
  104. package/src/flow/lanes/editor.js +0 -0
  105. package/src/flow/lanes/index.js +0 -0
  106. package/src/flow/lanes/layout.js +0 -0
  107. package/src/flow/lanes/pipeline.js +0 -0
  108. package/src/flow/lanes/preview.js +0 -0
  109. package/src/flow/lanes/strings.js +0 -0
  110. package/src/flow/outline/editor.js +0 -0
  111. package/src/flow/outline/index.js +0 -0
  112. package/src/flow/outline/mapping.js +0 -0
  113. package/src/flow/outline/menu.js +0 -0
  114. package/src/flow/outline/operations.js +0 -0
  115. package/src/flow/outline/recognise.js +0 -0
  116. package/src/flow/outline/strings.js +0 -0
  117. package/src/help/help_modal.js +0 -0
  118. package/src/help/help_registry.js +0 -0
  119. package/src/host/host.js +0 -0
  120. package/src/host/photino_host.js +0 -0
  121. package/src/host/photino_host.md +0 -0
  122. package/src/host/pywebview_host.js +0 -0
  123. package/src/tiles/chart_tiles.js +0 -0
  124. package/src/tiles/config_schema.js +0 -0
  125. package/src/tiles/layout_persistence.js +0 -0
  126. package/src/tiles/tile_base.js +0 -0
  127. package/src/tiles/tile_grid.js +0 -0
  128. package/src/tiles/tile_registry.js +0 -0
  129. package/src/tiling/bottom_panel_tabs.js +0 -0
  130. package/src/tiling/command_palette.js +0 -0
  131. package/src/tiling/content_registry.js +0 -0
  132. package/src/tiling/desktops.js +0 -0
  133. package/src/tiling/entity_sources.js +0 -0
  134. package/src/tiling/keymap.js +0 -0
  135. package/src/tiling/kind_taxonomy.js +0 -0
  136. package/src/tiling/landing_table.js +0 -0
  137. package/src/tiling/loading_overlay.js +0 -0
  138. package/src/tiling/nav_panel.js +0 -0
  139. package/src/tiling/page_factory.js +0 -0
  140. package/src/tiling/panel_keys.js +0 -0
  141. package/src/tiling/shell.js +0 -0
  142. package/src/tiling/tab_strip.js +0 -0
  143. package/src/tiling/tile_breadcrumb.js +5 -1
  144. package/src/tiling/tile_renderer.js +0 -0
  145. package/src/tiling/tile_tab_menu.js +0 -0
  146. package/src/tiling/tile_tree.js +0 -0
  147. package/src/tiling/wm.js +0 -0
  148. package/src/tiling/zoom.js +0 -0
  149. package/src/ui/base/component_base.js +0 -0
  150. package/src/ui/base/controller_base.js +0 -0
  151. package/src/ui/base/page_base.js +0 -0
  152. package/src/ui/components/about_dialog.js +0 -0
  153. package/src/ui/components/action_dropdown.js +0 -0
  154. package/src/ui/components/alert_log.js +0 -0
  155. package/src/ui/components/alerts_pane.js +16 -0
  156. package/src/ui/components/attribute_list_editor.js +0 -0
  157. package/src/ui/components/autocomplete_field.js +0 -0
  158. package/src/ui/components/column_fit.js +0 -0
  159. package/src/ui/components/computing_status_window.js +0 -0
  160. package/src/ui/components/confirm_dialog.js +0 -0
  161. package/src/ui/components/context_menu.js +0 -0
  162. package/src/ui/components/data_table.js +0 -0
  163. package/src/ui/components/detail_header.js +0 -0
  164. package/src/ui/components/drag_reorder.js +0 -0
  165. package/src/ui/components/fact_table.js +0 -0
  166. package/src/ui/components/gallery_picker.js +0 -0
  167. package/src/ui/components/inline_renamer.js +0 -0
  168. package/src/ui/components/managed_window.js +0 -0
  169. package/src/ui/components/modal.js +0 -0
  170. package/src/ui/components/notification_history.js +0 -0
  171. package/src/ui/components/record_list.js +0 -0
  172. package/src/ui/components/row_activation.js +0 -0
  173. package/src/ui/components/slide_out_panel.js +0 -0
  174. package/src/ui/components/slider_field.js +0 -0
  175. package/src/ui/components/sortable_list.js +0 -0
  176. package/src/ui/components/table_filter_chips.js +0 -0
  177. package/src/ui/components/table_state_store.js +0 -0
  178. package/src/ui/components/table_values.js +0 -0
  179. package/src/ui/components/toast.js +0 -0
  180. package/src/ui/components/tree_view.js +0 -0
  181. package/src/ui/components/window_taskbar.js +0 -0
  182. package/src/ui/controllers/panel_state_machine.js +0 -0
  183. package/src/ui/controllers/window_chrome_controller.js +0 -0
  184. package/src/ui/notification_center.js +0 -0
  185. package/src/ui/utils/auto_scrollbars.js +0 -0
  186. package/src/ui/utils/overlay_scrollbar.js +0 -0
  187. package/src/ui/utils/raf_resize_observer.js +0 -0
  188. package/src/ui/utils/scroll_lock.js +0 -0
  189. package/src/ui/utils/tooltip_service.js +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flexdesk",
3
- "version": "0.15.0",
3
+ "version": "0.15.2",
4
4
  "description": "A tiling window manager and widget set for desktop-class web applications. Zero runtime dependencies.",
5
5
  "license": "MIT",
6
6
  "repository": {
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/src/host/host.js CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -238,14 +238,18 @@ function _renderInto(container, segments) {
238
238
  const isLast = i === segments.length - 1;
239
239
  if (isLast || !seg.onClick) {
240
240
  li.classList.add('twm-topbar-breadcrumb__item--current');
241
+ // The current level, for assistive technology; the title carries
242
+ // the full label once a host's CSS truncates it (Tables BUG-0109).
243
+ li.setAttribute('aria-current', 'page');
241
244
  li.innerHTML = `
242
245
  <span class="material-symbols-outlined twm-topbar-breadcrumb__icon">${_esc(seg.icon)}</span>
243
- <span class="twm-topbar-breadcrumb__current">${_esc(seg.label)}</span>
246
+ <span class="twm-topbar-breadcrumb__current" title="${_esc(seg.label)}">${_esc(seg.label)}</span>
244
247
  `;
245
248
  } else {
246
249
  const btn = document.createElement('button');
247
250
  btn.className = 'twm-topbar-breadcrumb__link';
248
251
  btn.type = 'button';
252
+ btn.title = String(seg.label ?? '');
249
253
  btn.innerHTML = `
250
254
  <span class="material-symbols-outlined twm-topbar-breadcrumb__icon">${_esc(seg.icon)}</span>
251
255
  <span>${_esc(seg.label)}</span>
File without changes
File without changes
File without changes
package/src/tiling/wm.js CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -22,12 +22,20 @@
22
22
  * button is down inside the pane a repaint waits, and runs once it is up.
23
23
  * The bar (chips, the filter, the buttons) is built once and updated in
24
24
  * place, so typing in the filter never loses the caret either.
25
+ *
26
+ * OLDER ENTRIES LOAD AS YOU SCROLL (Tables STORY-0293): when the list is
27
+ * scrolled to within :data:`MORE_WITHIN_PX` of its end and the source has
28
+ * more, the next page is asked for — once at a time. *Load older* stays at the
29
+ * end, for a list too short to scroll and for the keyboard.
25
30
  */
26
31
 
27
32
  import { ALERT_LEVELS, ago, dayLabel, normalizeLevel } from './alert_log.js';
28
33
 
29
34
  const CHIPS = [['all', 'All'], ['alert', 'Alert'], ['warning', 'Warning'], ['info', 'Info']];
30
35
 
36
+ /** How near the end of the list a scroll asks for the next page. */
37
+ export const MORE_WITHIN_PX = 48;
38
+
31
39
  /**
32
40
  * @param {HTMLElement} host
33
41
  * @param {object} opts
@@ -271,6 +279,14 @@ export function mountAlertsPane(host, {
271
279
  });
272
280
  input.addEventListener('input', () => { q = input.value; paint(); });
273
281
 
282
+ let loadingMore = false;
283
+ list.addEventListener('scroll', () => {
284
+ if (loadingMore || !log.hasMore()) return;
285
+ if (list.scrollTop + list.clientHeight < list.scrollHeight - MORE_WITHIN_PX) return;
286
+ loadingMore = true;
287
+ Promise.resolve(log.loadMore()).catch(() => {}).finally(() => { loadingMore = false; });
288
+ });
289
+
274
290
  const unsubscribe = log.subscribe(() => paint());
275
291
  // "5 min ago" moves on its own.
276
292
  const timer = setInterval(paint, 60000);
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes