Git Product home page Git Product logo

Comments (13)

tinevez avatar tinevez commented on August 26, 2024

Hello

Could you test the command-finder branch?
Right now the command finder is implemented for all the views, but not the extra windows.
The default shortcut is ctrl shift F
I would be glad to have a first feedback

from mastodon.

stefanhahmann avatar stefanhahmann commented on August 26, 2024

I think this branch goes very much into the direction to what was asked by the user who approached me with this idea.

This would be my feedback after testing:

  • It would be nice, if there was an alternative way to access the command finder. With only the CTRL + Shift + F shortcut, it would be a bit hidden. I think, if there was some additional visual search bar, users would benefit even more from the existence of the Mastodon command finder

  • The list of available commands seems incomplete:

    • E.g., if opened from BDV, I cannot set the 2d drag rotate in the command finder, while in the dialog File > Preferences > KeyMap, I can:
      grafik
    • It is unclear to me how commands from plugins could be added to the command finder
  • The command finder shows duplicates, because for some commands multiple short cuts are defined. For such situations, it would be nice, if only one row would be used that shows all shorts cuts. Cf. e.g. this example from IntelliJ:
    grafik
    vs command finder:
    grafik

  • The Workflow e.g. CTRL + Shift + F > Fix Project Path > Run > Cancel should maybe leave the command finder open, since users may want to run some other commands

  • A Double Click on an action should start the action as well

from mastodon.

stefanhahmann avatar stefanhahmann commented on August 26, 2024

I will make the version of this branch available for the user who had the idea for this feature and ask him for feedback as well.

from mastodon.

tinevez avatar tinevez commented on August 26, 2024

Thanks!

  • It would be nice, if there was an alternative way to access the command finder. With only the CTRL + Shift + F shortcut, it would be a bit hidden. I think, if there was some additional visual search bar, users would benefit even more from the existence of the Mastodon command finder

Yes, this is true. I am still a bit unsure though. I think that if we add too many widgets we will loose data content and confuse the new users. I need to think and use it.

  • The list of available commands seems incomplete:
    • E.g., if opened from BDV, I cannot set the 2d drag rotate in the command finder, while in the dialog File > Preferences > KeyMap, I can:

It's actually on purpose. What you mention here are Behaviors, they require something with the mouse (drag, click etc). The command finder only work for Actions that can just run as is.

  • The Workflow e.g. CTRL + Shift + F > Fix Project Path > Run > Cancel should maybe leave the command finder open, since users may want to run some other commands

Mrmlml not such a fan of letting it open. Maybe we could make this configurable?

  • A Double Click on an action should start the action as well

Yes.

from mastodon.

stefanhahmann avatar stefanhahmann commented on August 26, 2024

Yes, this is true. I am still a bit unsure though. I think that if we add too many widgets we will loose data content and confuse the new users. I need to think and use it.

I see your point. I would still vote for it, since it helps also new users.

It's actually on purpose. What you mention here are Behaviors, they require something with the mouse (drag, click etc). The command finder only work for Actions that can just run as is.

I see. How can actions from plugins be added?

from mastodon.

tinevez avatar tinevez commented on August 26, 2024

I see. How can actions from plugins be added?

I realize that I collect actions only from one Actions instance. In Mastodon, they are spread over several instances, sorted by category. I need to rewrite this to include several instances, including the Plugins one.

from mastodon.

stefanhahmann avatar stefanhahmann commented on August 26, 2024

Mrmlml not such a fan of letting it open. Maybe we could make this configurable?

Yes. Maybe this is an option. A checkbox in the command finder dialog "keep open". It could be off by default.

I realize that I collect actions only from one Actions instance. In Mastodon, they are spread over several instances, sorted by category. I need to rewrite this to include several instances, including the Plugins one.

Sounds good.

from mastodon.

tinevez avatar tinevez commented on August 26, 2024

Can you test again?

  • the plugin actions should be supported
  • installed also on the main window
  • common commands are merged in the table
  • double-click works

from mastodon.

tinevez avatar tinevez commented on August 26, 2024
  • commands are updated when the user edits them
  • the 'manual' descriptions can be added

from mastodon.

stefanhahmann avatar stefanhahmann commented on August 26, 2024

Can you test again?

Yes.

the plugin actions should be supported

I still have difficulties with this. E.g. I was looking in the command finder for some actions from the Trees Management, but can't see them:

grafik

In the Preferences dialog, I can see them however:

grafik

Is there something that needs to be adapted on the side of the plugins?

installed also on the main window

Works nicely!

common commands are merged in the table

Works nicely!

double-click works

Works nicely.

from mastodon.

tinevez avatar tinevez commented on August 26, 2024

I think you need to run the command finder on the window that can accept the commands to see them.
For instance the tree management commands you mention are only visible in trackscheme and bdv context, so they will appear only in these windows.
If you want them to appear everywhere you need to add them to the mastodon context

from mastodon.

stefanhahmann avatar stefanhahmann commented on August 26, 2024

Yes, I can confirm that it works exactly like this. Thanks for the explanation

from mastodon.

jgirstmair avatar jgirstmair commented on August 26, 2024

Hi JY and Stefan! I tested the latest version of the command finder, which I find extremely useful (I am the user who asked for it 😅 inspired by Fiji's quick search bar). I couldn't find any issues and was already happy to discover some new commands like 'select all links' that I haven't been aware of. I will keep testing it and come back here in case I notice something unexpected or if I have further suggestions. But right now I think it could stay like it is. One minor thing I agree with Stefan: It would be nice to have the option somewhere that the command finder stays open after running a command. I had a feeling Fiji's quick search bar used to behave like this, but it got changed. Right now it also closes after executing any command. Is there a specific reason why this was changed and why it should be avoided in Mastodon's command finder? Cheers

from mastodon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.