piker/piker/ui
Gud Boi 2516d97fe4 Pass `loglevel` down through `.ui` graphics tasks
Add `loglevel` propagation to UI graphics tasks and sampler stream
opens to enable proper console logging in chart update loops. This
ensures the graphics and FSP subsystems receive the same loglevel
as their parent and/or sibling UI-actor tasks.

Deats,
- add `loglevel` param to `graphics_update_loop()` and
  `increment_history_view()` with default `'warning'`.
- pass `loglevel` to `open_sample_stream()` calls in both fns.
- use `partial()` to pass `loglevel` through to `nurse.start_soon()`
  calls in `display_symbol_data()` and `graphics_update_loop()`.

Also logging, doc-strs, and code-style tweaks,
- change `print()` -> `log.debug()` for hidden-chart and
  interaction-pause msgs in graphics loop.
- change `log.info()` -> `log.debug()` for resize events in
  `GodWidget` and `MainWindow`.
- add multiline style to resize log msg in `GodWidget`.
- add docstring to `MainWindow.on_focus_change()`.
- moar union type annot adjustments.
- switch to explicit kwarg `period_s=` for `open_sample_stream()`
  in `increment_history_view()`.
- multiline style for `names` list in `open_fsp_actor_cluster()`.
- change `count=2` -> `count=len(names)` in
  `open_fsp_actor_cluster()`.
- add TODO about using `.experimental` for cluster import (once that
  get's patched into upstream `tractor`).
- multiline style for `or` in `FspAdmin.start_engine_task()`.
- comment-out unused `brokernames` in `ui.cli.chart()`.
- add commented breakpoint in `ui.cli.chart()`.
- fix docstring style in `OrderMode.on_submit()`.

(this commit msg was generated in some part by [`claude-code`][claude-code-gh])
[claude-code-gh]: https://github.com/anthropics/claude-code
2026-02-23 12:22:48 -05:00
..
kivy Port kivy monitor to new tractor stream api 2021-04-29 09:10:11 -04:00
quantdom Drop quantdum legend item 2021-05-24 12:23:02 -04:00
__init__.py Port all `.ui*` submods to new `.ui.qt` imports 2024-05-01 14:33:10 -04:00
_anchors.py Port all `.ui*` submods to new `.ui.qt` imports 2024-05-01 14:33:10 -04:00
_annotate.py Port all `.ui*` submods to new `.ui.qt` imports 2024-05-01 14:33:10 -04:00
_app.py .ui._app: enable console logging in `_async_main()` 2026-02-23 12:22:48 -05:00
_axes.py Port all `.ui*` submods to new `.ui.qt` imports 2024-05-01 14:33:10 -04:00
_chart.py Move `GodWidget` to new `._widget` mod 2026-02-22 16:08:07 -05:00
_cursor.py Add order-cancel debugging and multiline kbd logs 2026-02-23 12:22:48 -05:00
_curve.py Rm unused import in `.ui._curve` 2026-02-22 16:05:52 -05:00
_dataviz.py Add order-cancel debugging and multiline kbd logs 2026-02-23 12:22:48 -05:00
_display.py Pass `loglevel` down through `.ui` graphics tasks 2026-02-23 12:22:48 -05:00
_editors.py Guard against `None` chart in `ArrowEditor.remove()` 2026-02-22 22:08:35 -05:00
_event.py Adjust to `trio`'s strict eg nurseries throughout! 2026-01-06 22:27:58 -05:00
_exec.py Move `GodWidget` to new `._widget` mod 2026-02-22 16:08:07 -05:00
_feedstatus.py Adjust feed status fields/display-pane to new actor-ID 2026-01-06 22:27:58 -05:00
_forms.py Port all `.ui*` submods to new `.ui.qt` imports 2024-05-01 14:33:10 -04:00
_fsp.py Pass `loglevel` down through `.ui` graphics tasks 2026-02-23 12:22:48 -05:00
_icons.py Port all `.ui*` submods to new `.ui.qt` imports 2024-05-01 14:33:10 -04:00
_interaction.py Add order-cancel debugging and multiline kbd logs 2026-02-23 12:22:48 -05:00
_l1.py Fix `Qt6` types for new sub-namespaces 2026-02-22 16:03:19 -05:00
_label.py Adjust feed status fields/display-pane to new actor-ID 2026-01-06 22:27:58 -05:00
_lines.py Add order-cancel debugging and multiline kbd logs 2026-02-23 12:22:48 -05:00
_notify.py ARRG, disable `dunst` notifications for now in order mode 2023-05-09 14:49:26 -04:00
_ohlc.py Port all `.ui*` submods to new `.ui.qt` imports 2024-05-01 14:33:10 -04:00
_orm.py Adjust `.ui` modules to new set-style "optional" annots 2023-03-10 18:20:22 -05:00
_overlay.py Facepalm, align overlay plot view exactly to parent 2023-03-10 18:20:22 -05:00
_pg_overrides.py Fix `._pg_overrides` import cycle caused by our `Axis` override 2023-12-22 12:05:18 -05:00
_position.py Use a `unit_prefix: str` (like u or $) on health bar 2024-05-01 14:09:39 -04:00
_remote_ctl.py Use `get_fonts()`, add `show_txt` flag to gap annots 2026-02-22 22:08:35 -05:00
_render.py Port all `.ui*` submods to new `.ui.qt` imports 2024-05-01 14:33:10 -04:00
_search.py `.ui._search`: collapse EGs as needed, use `tn` naming. 2026-01-06 22:27:58 -05:00
_signalling.py Change over the UI layer to use `MktPair` 2023-05-24 15:30:17 -04:00
_style.py Add `get_fonts()` API and fix `.px_size` for non-Qt ctxs 2026-02-22 22:08:35 -05:00
_widget.py Pass `loglevel` down through `.ui` graphics tasks 2026-02-23 12:22:48 -05:00
_window.py Pass `loglevel` down through `.ui` graphics tasks 2026-02-23 12:22:48 -05:00
cli.py Pass `loglevel` down through `.ui` graphics tasks 2026-02-23 12:22:48 -05:00
order_mode.py Pass `loglevel` down through `.ui` graphics tasks 2026-02-23 12:22:48 -05:00
qt.py Add `piker.ui.qt` as a `PyQt6` shim module 2024-05-01 14:30:18 -04:00
view_mode.py Adjust all `.tsp` imports to use new sub-pkg 2023-12-18 11:54:28 -05:00