-
Notifications
You must be signed in to change notification settings - Fork 186
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
Port admin settings to vue #1880
Conversation
36e11bf
to
784fb88
Compare
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
784fb88
to
f51234c
Compare
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Ended up also fixing the 25 compatibility issue as it was only a 4 lines change |
Hi thanks for working on this :) Currently I can't get this running, I only see a white page in the admin settings. I just ran make in the news directory and checked it with the builtin php server |
86772fd
to
c51f5d6
Compare
Should be fixed, I forgot to add it to the makefile |
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
c51f5d6
to
e96494f
Compare
Co-authored-by: anoy. <anoymouserver@users.noreply.github.com> Signed-off-by: Carl Schwan <carl@carlschwan.eu>
The build issue is solved 👍 While checking the settings I noticed that the top setting for useCronUpdates does not behave correctly. But in the UI the switch is set to false, if you then switch it to true it actually get's saved as false in the DB. |
Co-authored-by: anoy. <anoymouserver@users.noreply.github.com> Signed-off-by: Carl Schwan <carl@carlschwan.eu>
006f179
to
3fd534b
Compare
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
3fd534b
to
a6b44ac
Compare
After quick test in my dev setup it seems to work now, changing the settings works as expected. I will do more tests later. |
I checked again, here are some things I noticed. When changing a value in the admin settings there is no indicator if the change was saved or not, I think an indicator would be good. Running make placed three files in the |
The failing test is of course also a problem, I think the issue is that the cron setting useCronUpdates is now saved as 1/0 in the DB |
Oh turns out the app config does not support booleans so we need to deal with it :) |
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.
I think with these changes it should work, tests run locally and I tested it in my dev instance and the toggle seems to behave like it should
Co-authored-by: Benjamin Brahmer <info@b-brahmer.de> Signed-off-by: Carl Schwan <carl@carlschwan.eu>
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.
Looks good, only thing I'm missing is a visual indicator for successful saving :)
Oh right, I forgot about it |
I think the explore.scss can be deleted :) |
07ab1ea
to
2a66365
Compare
While renaming the mobile.scss the |
2a66365
to
6874034
Compare
Fixed |
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
6874034
to
dca6ca0
Compare
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.
The code looks good to me, I haven't tested it though.
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.
The success message is not popping up.
Error message works though.
Start php server load settings page, kill php server.
Change value -> Error Message 👍
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.
nvm, seems to be related to my dev setup.
I upgraded my test vm to NC25 and it worked, before that also tested on nc 24 also fine :)
Thanks for merging :) I'll try to find some free time to port the main webui to vue but can't promise any ETA |
No description provided.