tiny-pilot / tinypilot

Use your Raspberry Pi as a browser-based KVM.
https://tinypilotkvm.com
MIT License
2.99k stars 249 forks source link

Store snippets for pasting #1347

Open jotaen4tinypilot opened 1 year ago

jotaen4tinypilot commented 1 year ago

(Originally rooted in https://github.com/tiny-pilot/tinypilot/issues/1346; related to https://github.com/tiny-pilot/tinypilot/issues/1137.)

It might be handy for users to be able to build up a library of text snippets that they regularly want to paste and send to their target devices. E.g., their public SSH key, or some URL, etc.

That could be a separate dialog, where users could add and manage these snippets, and then send them over via one click.

Screenshot 2023-03-31 at 16 30 56

This mockup is built directly on the Virtual Media UI, and it probably isn’t the most optimal design for this use-case; it’s just for getting the idea across.

This issue is probably at least “large” in size, because we need to build multiple UI components, API endpoints, and DB functionality. We’d also need to do some upfront design work.

cghague commented 1 year ago

It could be worth including the ability to send snippets at a pre-defined and/or recurring time. We have had a few requests for this feature from customers (example 1, example 2).

db39 commented 1 year ago

We've had another forum user asking for a similar feature (to save hot key combinations) so that they can quickly switch between machines using their 'chained' KVM.

jotaen4tinypilot commented 4 months ago

As discussed in the dev meeting, I went through our issues to find ones with big surface area. This one isn’t particularly small, unfortunately, but I think it would be a cool improvement to the UI in the long run, and it seems users would appreciate it. Considering that it’s a bit more effort, we could consider not pushing it down the road for too long – maybe there are also ways to approach this iteratively, where we can ship something meaningful early, and then improve on it.

mtlynch commented 4 months ago

I think this is a little too big to squeeze anything into 2.6.4, but I put it on the list for 2.6.5. If you have ideas of a minimal version of this, that'd be helpful for planning it in small chunks.

cghague commented 1 month ago

We've received a new request for this feature on the forum.

shalver-tp commented 1 month ago

@cghague Will this issue cover the macros/snippets feature discussion we had going in Support Engineering? Feel free to update anything in this issue to make sure we are on track.

Related: https://github.com/tiny-pilot/tinypilot-pro/issues/1177 and https://github.com/tiny-pilot/tinypilot/issues/481

We may potentially need to get a better definition of what this is. I think the goal of this work is that we want to give users a way to send keyboard shortcuts and or "common" commands via the UI.

jdeanwallace commented 3 weeks ago

@shalver-tp

Will this issue cover the macros/snippets feature...

The way I understand this task is that it's only for sending text to the target device.

As you mentioned, https://github.com/tiny-pilot/tinypilot/issues/481 seems more suited for keyboard macros/shortcuts.

With that in mind, is this task still appropriately prioritized for project 2.6.5?

shalver-tp commented 3 weeks ago

@jdeanwallace Thanks for checking. Let me put this on hold for now. I'll update after some thought and planning.

shalver-tp commented 2 weeks ago

@jdeanwallace We're going to deprioritize this for 2.6.5.