tonyc / open890

A web-based remote UI for the Kenwood TS-890.
Other
75 stars 3 forks source link

User-defined markers #116

Open tonyc opened 1 year ago

tonyc commented 1 year ago

Have the ability to create/place a marker on the spectrum scope, through keyboard and also through a UI button click.

Also have the ability to remove a specific marker, or clear all markers at once.

The markers should be associated to the connection, and persist across restarts.

tonyc commented 1 year ago

This has landed in develop, with a couple of caveats:

Tyrbiter commented 1 year ago

Hi Tony

Using Firefox 113 on Fedora, put mouse cursor over spectrum display, tap m and immediately the search box opens with the M of MIC highlighted.

tonyc commented 1 year ago

Hmm, do you have the "Search for text when you start typing" option turned on? I can look into seeing if there's a way to disable it on the client-side in JS.

tonyc commented 1 year ago

Also to note, you don't necessarily need to have the mouse cursor hovering over the spectrum - the keyboard shortcuts will currently drop the marker at the left-side VFO location, not where the mouse is pointing.

Tyrbiter commented 1 year ago

Yes, I had that selected, although I don't remember doing it so maybe it was a default I've never changed.

So if the cursor is over the spectrum it should drop the marker where the cursor is or have you not implemented that yet?

In any case I now get markers, I will wait for development to get it all sorted out.

tonyc commented 1 year ago

So if the cursor is over the spectrum it should drop the marker where the cursor is or have you not implemented that yet?

I haven't decided on this interaction yet, but it seems like a reasonable way to expect it to behave!

Tyrbiter commented 1 year ago

It looks like being a useful feature. Perhaps you could also have a list of fixed markers that are always present, a bit like the macros in config.toml and user configurable. Marking frequencies for unusual modes is the application I'm thinking of, like the freedv frequencies for instance.