Back button in io.Connect Desktop

Is there a way to create a button that can return me to a previously selected context/state? E.g. I’m jumping through symbols and want to go back to the previous one I’ve selected. Is there a way to track the history of what have been selected?

There isn’t an automatic capability for retaining context history. It would be very expensive to maintain the history for all contexts since some contexts can be very large or may change frequently.

But, implementing such a feature is straightforward. One needs to set up a service to do the job of storing context history in a stack and to handle traversing forward and back. (Most systems will have at least one user service already where such a subsystem could live.) The paradigm changes then in that context would then set by the service rather than apps themselves. The apps would send commands to the service via the interop API, such as io.interop.invoke(“myservice.setcontext”, “IBM”) and io.interop.invoke(“myservice.contextback”). The service would register for these commands and respond accordingly.

Here is a very quick implementation that Claude.AI wrote for me:

https://claude.ai/public/artifacts/aca7f663-134e-4c4d-9121-8f427331862e

Note that uses io’s shared context. The exact solution would be similar but would need small adaptations to work with workspace contexts or fdc3 contexts. Also, making this work with color channels (aka fdc3 “user channels”) is slightly more complex as the service would need to listen on certain color channels.

1 Like