<@U5WPB8H99> <@U6AHR4J4R> What I usually do is to ...
# tornadofx
e
@jschneider @pike What I usually do is to set a
Loader
view as the app main view. This loader view basically does nothing, but checks if it should show a LoginForm using
replaceWith
or if it should open a new window with the actual Workspace if the user is already logged in. I'm showing a progress indicator in the Loader while I check that stored credentials gives access if any, or simply show the login screen at once if credentials aren't stored. The login function will close the login window and open a new window for the workspace view.