piker/piker/ui
Tyler Goodlet bbb98597a0 Add annot removal via client methods or ctx-mngr
Since leaking annots to a remote `chart` actor probably isn't a thing we
want to do (often), add a removal/deletion handler block to the
`remote_annotate()` ctx which can be triggered using a `{rm_annot: aid}`
msg.

Augmnent the `AnnotCtl` with,
- `.remove() which sends said msg (from above) and returns a `bool`
  indicating success.
- add an `.open_rect()` acm which does the `.add_rect()` / `.remove()`
  calls underneath for use in scope oriented client usage.
- add a `._annot_stack: AsyncExitStack` which will always have any/all
  non-`.open_rect()` calls to `.add_rect()` register removal on client
  teardown, to avoid leaking annots when a client finally disconnects.
- comment out the `.modify()` meth idea for now.
- rename all `Xstream` var-tags to `Xipc` names.
2023-12-24 14:42:12 -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 Add license headers to pertinent files 2020-11-06 12:23:14 -05:00
_anchors.py Even more correct "default view" snap-to-pp-marker 2022-04-30 11:36:23 -04:00
_annotate.py Adjust `.ui` modules to new set-style "optional" annots 2023-03-10 18:20:22 -05:00
_app.py Log a warning on no symcache support in a backend 2023-07-17 17:31:12 -04:00
_axes.py Whenever there is overlays, set a title on main chart price-y axis! 2023-06-27 13:41:47 -04:00
_chart.py Add some new hotkey maps for chart zoom and pane hiding 2023-08-02 20:41:56 -04:00
_cursor.py Always pass full `ShmArray._array` buf to `ContentsLables` updates so the label can be used outside the "backfilled-valid" range 2023-12-22 12:06:55 -05:00
_curve.py First (untested) draft remote annotation ctl API 2023-12-19 15:36:54 -05:00
_dataviz.py First (untested) draft remote annotation ctl API 2023-12-19 15:36:54 -05:00
_display.py First (untested) draft remote annotation ctl API 2023-12-19 15:36:54 -05:00
_editors.py Woops, remove the label-proxy, not the widget.. 2023-12-24 13:59:16 -05:00
_event.py Bleh, move `.data.types` back up to top level pkg 2023-08-05 15:57:10 -04:00
_exec.py ui._exec: use new `get_runtime_vars()` name 2023-09-28 12:31:24 -04:00
_feedstatus.py Fill in label with pairs from `status` value of backend init msg 2022-06-05 22:08:00 -04:00
_forms.py Add some new hotkey maps for chart zoom and pane hiding 2023-08-02 20:41:56 -04:00
_fsp.py First (untested) draft remote annotation ctl API 2023-12-19 15:36:54 -05:00
_icons.py Add an icon setter api to `Selection` 2021-09-14 12:25:30 -04:00
_interaction.py Pass scene-points to `.select_box` as per prior comments 2023-12-22 12:09:08 -05:00
_l1.py TOSQUASH: 84f19308 (l1 rework) 2023-02-12 15:38:43 -05:00
_label.py Fix reading font size from user config 2023-06-19 15:13:01 -04:00
_lines.py Some linting fixes after trying out `ruff` 2023-05-24 17:25:23 -04:00
_notify.py ARRG, disable `dunst` notifications for now in order mode 2023-05-09 14:49:26 -04:00
_ohlc.py Change ui stuff to use new `Position.cumsize` attr name 2023-07-26 12:40:09 -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 Bleh, move `.data.types` back up to top level pkg 2023-08-05 15:57:10 -04:00
_remote_ctl.py Add annot removal via client methods or ctx-mngr 2023-12-24 14:42:12 -05:00
_render.py Start `piker.toolz` subpkg for all our tooling B) 2023-07-20 15:23:01 -04:00
_search.py Port cache-`dict` search to new `rapidfuzz` api 2023-10-01 17:46:46 -04:00
_signalling.py Change over the UI layer to use `MktPair` 2023-05-24 15:30:17 -04:00
_style.py Fix reading font size from user config 2023-06-19 15:13:01 -04:00
_window.py Adjust `.ui` modules to new set-style "optional" annots 2023-03-10 18:20:22 -05:00
cli.py A working remote annotations controller B) 2023-12-22 15:19:20 -05:00
order_mode.py order_mode: fix to avoid `Dialog.uuid` on null dialog.. 2023-10-20 13:57:52 -04:00
view_mode.py Adjust all `.tsp` imports to use new sub-pkg 2023-12-18 11:54:28 -05:00