Closed leRoe93 closed 3 years ago
Will let this open for review until today evening around 9/10 pm so that everyone has a chance to have a look in it. After that I will merge it no matter the review ratio :)
I really like the new design, but i have one question. Why is the hostName displayed in the settings view? I removed it completely in #52 , now it is again in the SettingsView.fxml, but only there so i guess there went something wrong at merging?
Thats really odd.. I feel like I encountered stuff I had changed aswell, but dont know where to pinpoint it.
like the new design, but i have one question. Why is the hostName displayed in the settings view? I removed it completely in #52 , now it is again in the SettingsView.fxml, but only there so i guess there went something wrong at merging?
Thats really odd.. I feel like I encountered stuff I had changed aswell, but dont know where to pinpoint it.
Very strange indeed, but as long nothing very severe got broken we should be able to live with it.
Merging now as already announced.
Here is my proposal on how to deal with the settings from now on.
The
ConfigManager
is used to access all general settings and this is why it now stores the static variables from the previously usedSystemSettings
(now removed). For the syntactic sugar it wraps the getter and setters for theuserSettings
object to provide shorter calls across the project. Also theSettingsModel
class got removed, because it served no necessary purpose (ConfigManager
is the underlying model in terms of MVVM here).Furthermore, changing the Api port restarts the whole
WebApi
, because it simply has to. On changing the timeout, only theSessionWatchdog
timeout loop gets restarted respectively!The logs now also get written into the workspace using the
user.dir
system property. Due to the assumption that the workspace will always be created right next to the directory VISAB is opened from, this works just fine - manually setting a property is more difficult than I thought, but lets forget about it, current state works fine.Please let me know if something now has inconsistencies which I oversaw somehow!