Coder Social home page Coder Social logo

Feature Request: Exec line about zen HOT 4 CLOSED

zen-mod avatar zen-mod commented on August 16, 2024
Feature Request: Exec line

from zen.

Comments (4)

mharis001 avatar mharis001 commented on August 16, 2024 1

#16 will add this. Decided to go with the behaviour that exists in vanilla with requiring the OK button to execute. The code will only execute if its not empty and open as empty.

In terms of locality, I decided it might be best for QOL that the code run where the object is local since I think most of the commands that are used by Zeus' in this attribute require arguments local. This can easily be changed to be global if you think that would be better.

In terms of the history, it is currently limited to 20, but again, can be increased if you think that number is too low. For the bookmarking feature, I still need to think about how to cleanly integrate that into a UI.

Would love to you hear your thoughts on this and again thanks for the feedback.

from zen.

mharis001 avatar mharis001 commented on August 16, 2024

Thank you for the feature request. When going to implement this I was unsure exactly what way would be best since changes to attributes in ZEN are only applied for attributes that had a selection occur.

So, if the user was to enter code, it would execute when the user pressed ok, but the next the user opens the attributes display, should it execute again when the user presses ok? My original solution was to add a button next to the input box.

On the topic of saving executed code pieces, there needs to be limit on the number of stored items since we are storing it in profileNamespace. What would suggest is a good number? 20? 50?

I like the idea of bookmarking frequently used items but I am unsure how to integrate that into a UI.

from zen.

MGZoltan avatar MGZoltan commented on August 16, 2024

In achilles, the code-entry box is a 'one-time' use unless you load a last command through the drop-down of last used commands. So it'll pop back up empty. A button next to the input box would be kind of convenient too though.

from zen.

MGZoltan avatar MGZoltan commented on August 16, 2024

Excellent, thanks for this feature. I'm not exactly sure what general limitations are for a UI. On a bare minimum, assuming you're very hamstringed, I'd say a little star button that adds the current code in the exec box to a longer(?) list or just tells you if adding a new one will push out an old favorite

from zen.

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.