-
Notifications
You must be signed in to change notification settings - Fork 123
Web UI 1.5 #2037
Comments
I think this is not really a feature that will be used a lot, you can always just duplicate and delete the other key. I could add a new button, but I think there are already too many buttons next to the items and it would only get more confusing.
Not easily with the current version of the library. Also, I tested it by editing css in the browser and it doesn't look that nice as the contrast between key/value gets lost:
I don't think this is possible without turning the input field into a textarea or implementing a custom input field. Is this really such an important feature?
it seems like it does not persist visibility to the kdb anymore, I will look into this. I noticed that this only happens with mounted keys. Even calling
It does however work for non-mounted keys (in the Web UI and
I made it copy/duplicate when pressing Alt while drag & dropping.
Errors come from elektrad directly, so they are the result of |
I missed it already several times. I think it is possible without any button: What about clicking on the key name?
No, it is nice to have.
Yes, if the mountpoint does not support meta data, it will be discarded. But I do not think this was the problem I had. |
Please do no move bugs to "ideas":
"meta-data arrays are not supported" should not be too hard to implement? Isn't the check/enum basically doing this? |
Good idea! I implemented that.
I tried creating a normal and an array key with visibility advanced, both worked fine. How can I reproduce this problem?
I had a look at this but it's not trivial to solve. I think concurrent editing is a good idea, but currently Elektra Web is quite far from supporting this.
I moved this because it was in "not so important" and it is not easy to fix (at the moment I do not know how to fix it without rewriting the tree view library). |
Thank you ❤️
I'll try with http://webui.libelektra.org/ when it is available again (#1901).
Can you describe the problems? Does launching multiple elektrad solve the problem? The main problem with this problem is that it can easily occur in the live demo. What about having a configuration setting for instances to not remember the tree view? (As workaround for this issue to be used in the live demo.)
Hopefully you find a solution. |
It is available, you just have to specify the port right now (will be fixed with multiple docker containers): http://webui.libelektra.org:33334/
Well, the main problem is that I cannot reproduce it. When I open two browser instances (Chrome and Firefox ESR) on my laptop the problem does not happen yet (even with http://webui.libelektra.org:33334/). I tried opening, closing and writing text on both windows, I didn't get a single error. Maybe it only happens when the requests (such as opening subkeys or entering data) get sent at the exact same time?
I think that would reduce the possibility of the issue happening, because synchronizing the tree view does a |
In the correct version?
Are you sure the latest version is running?
Did you try to use auto-refresh? Or ask a second user, it was easily reproducible in the last meeting.
It should use |
No, it is still the old version.
It does not happen with just two people working on it at the same time, we can try reproducing it again in the next meeting.
It does use it exactly once. However, it is called every time you open or close a subtree. |
I tried Can you please update all docker images now to contain Web-UI 1.5? |
@markus2330 the docker image is already up-to-date. I just tried running the same command and arrays work fine for me there. Maybe you still have an old image in your cache? |
No, it downloaded an image an hour ago. I'll create a new issue with instructions how to reproduce. |
Unfortunately, I found some other small issues in the Web UI:
copy value makes key blue, is it possible to color the value?creating arrays with different visibility does not work ("user" is used). Or is it even generally broken? (also with normal keys?)there should be detailed information in showing the full error (for bug reports and similar)merchandising/changelog:
not so important (It would be great to have them but might be okay to not have it.):
and as discussed:
make 3 Dockerfiles (base, elektrad, and web), mount+import some stuff to make it more interesting-> create live demo of web-ui #1901if you want we can merge the PR #2029 first.
The text was updated successfully, but these errors were encountered: