Commit Graph
6 Commits
Author SHA1 Message Date
Iuri Matias 00f809c6c5 several fixes and improvements 2026-06-15 16:07:07 -04:00
Dario LipicarandClaude Opus 4.8 a90f7d1bcd Replace per-module Methods screen with an Interface screen (methods + events) (#210)
* Replace per-module Methods screen with an Interface screen (methods + events)

A module exposes two halves of its API — methods you call and events you
subscribe to. The per-module screen now shows both. The 'View Methods'
button becomes 'Interface', and PluginMethodsView is renamed to
PluginInterfaceView with a Methods section (unchanged, with Call) and a
new Events section below it (event name in amber, signature, and the
event's description; no Call button).

- CoreModuleManager: getEvents(name) -> invokeRemoteMethod(name,
  "getPluginEvents"), mirroring getMethods.
- MainUIBackend: getCoreModuleEvents(name) delegates to it.
- CoreModulesView: 'Interface' button; openInterface()/showingInterface.
- PluginInterfaceView (renamed): loads methods + events, renders both.
- docs: project.md view description.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* Harden PluginInterfaceView: stable width + clear stale state

Address review feedback (#210):

- PluginInterfaceView: bind the inner ColumnLayout to the ScrollView's
  availableWidth (via an id) instead of parent.width. Inside a Qt 6
  ScrollView parent.width resolves against the internal Flickable
  contentItem and can transiently collapse to 0 during Repeater reflow —
  the same fix already applied in CoreModulesView/UiModulesTab.
- loadMethods()/loadEvents(): clear methods/events (and resultText) when
  pluginName becomes empty, so a reset view can't show a previous
  plugin's interface.
- CoreModuleManager.h: correct the stale 'Both return' comment now that
  there are three JSON introspection methods (getMethods/getEvents/
  callMethod).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-04 17:18:04 -03:00
Iuri Matias f65db317a6 update liblogos; use new APIs 2026-05-19 16:24:35 -04:00
Dario Lipicar 20a3ce3beb switch to new liblogos function names (#173)
* switch to new liblogos function names

* pr comments
2026-04-24 11:00:06 -03:00
Dario Lipicar 6cb4786311 fix getMethods (#157) 2026-04-17 10:48:12 -03:00
Dario Lipicar 5de629a95b improved package management (#155)
* improved package management

* pr comments

* bugfix
2026-04-17 01:16:38 -03:00