-
Notifications
You must be signed in to change notification settings - Fork 196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Advanced networking settings #899
Advanced networking settings #899
Conversation
const saveGeneralSettings = () => { | ||
const changingStaticIp = useSettingsStore().network.connectionType === NetworkConnectionType.Static; | ||
const changingStaticIp = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Figure out code formatting for one line statements
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
linter??
@@ -82,12 +85,11 @@ export const useSettingsStore = defineStore("settings", { | |||
this.network = data.networkSettings; | |||
}, | |||
saveGeneralSettings() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should likely be renamed to save network settings in both the front and backend as it is only ever used for network settings due to general settings being read-only and lighting being handled by the websocket.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cursed that it's split up like that
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably best to handle in another PR
I'm confused, why CI is failing? This PR doesn't touch photon-lib |
I agree it's weird. Re running |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minus formatting fixes, everything looks fine
Removes physicalInterface from NetworkConfig, we can get it by looking it up in the list of NetworkManager interfaces instead. Exposes managed NetworkManager interface in the UI.
Add disable-networking and clear-config command line opts
Don't love the UI yet, idk.