Git Product home page Git Product logo

Comments (7)

msinn avatar msinn commented on June 16, 2024

You can't use relative Item References in Logics. (Relative to what???)
So that issue named in the title can't be fixed.

I realize that this behaviour is somehow correct.. as the logic isn't added yet but maybe in the admin interface the button could then be greyed out or changed to "reload and add"?

That can't be done without knowing, that the logic contains a fatal error and that is only detected by trying to load that logic.

from smarthome.

onkelandy avatar onkelandy commented on June 16, 2024

Not sure what I was expecting regarding relative items in logics (I know what I expected but it's bullshit of course)
Regarding the other issue..
When I am in the logic editor and f** up the code and I save and reload the logic gets checked and unloaded. However, I don't get any feedback on that in the admin interface. I can still try to run the logic, etc. The feedback is only in the log but it would be very helpful to get that in the interface.

Another usability improvement would be to have a different button in a logic that was disabled. Let's say I change I messed up logic. Right now I have to save it, go back to the overview and add it manually. Instead of "save and reload" it would be great to have a button "save and add".

from smarthome.

msinn avatar msinn commented on June 16, 2024

I have already an entry in my backlog to be able to load a logic that has been unloaded due to a fatal error from the editor screen.

For the usability improvement:

Another usability improvement would be to have a different button in a logic that was disabled.

When a logic is disabled (paused), the Icon of the button changes from "pause" to "play" to reflect the actual status.

from smarthome.

msinn avatar msinn commented on June 16, 2024

Changed title of issue to reflect the issue discussed here.

from smarthome.

msinn avatar msinn commented on June 16, 2024

Die Version 0.8.17 von shngAdmin im develop sollte Dein Issue lösen.

Gib mal Feedback dazu.

from smarthome.

onkelandy avatar onkelandy commented on June 16, 2024

Nach dem Update gab es beim Start einen Fehler wegen der fehlenden admin.yaml Datei. Hab die aus dem test Ordner mal ins etc Verzeichnis kopiert, dann startet es.

Der Rest sieht nun sehr gut aus. Alert wird angezeigt bei einer kaputten Logik und nach dem Fixen und nun auch ein Neuladen möglich, top.

from smarthome.

msinn avatar msinn commented on June 16, 2024

Die admin.yaml ist nun auch da (wird, falls sie nicht existiert, von der admin.yaml.default kopiert.

from smarthome.

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.