Skip to content

Update Explore States Window when renaming states #54

@Vijayanth-Reddy-K

Description

@Vijayanth-Reddy-K

One additional bug regarding the State Machine that my colleagues at work highlighted to me when describing all the features they love about the JKI State Machine. (This was the only complaint/bug, FYI 🙂). The following was highlighted using the 2018 version of the SM, but it still remains today.

If I choose to explore states, like so:
Image

I get this:
Image

With this window open, if one goes and renames one of those listed states, say, Initialize Core Data to Initialize Data Core using the helper, it changes the state name everywhere: inside the case structure representing the state, and in every constant that is wired to Add States to Queue VI.

Well, everywhere BUT the above String Constant window. (A related sub-bug: Rename that window to "Linked States" or something more relevant, perhaps?)

Addendum: If I click on Find Callers on the right click menu for one of the states (UI: Front Panel State) from the above window, and rename, say, Macro Initialize, the Find Callers window does not update the name either.

I would hazard a guess that the scripting code does not update any popup dialogs at all.

The only way to get the updated name for now, is to open a new window.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions