You are browsing as a guest. Sign up (or log in) to start making projects!

3h 1m 5s logged

# I FINISHED THE MAIN PAGE’S FEATURES!!!

I added a create and remove user function. I also entirely overhauled how they’re stored.

Time for the boring dev talk:
Before, the DB ref was (‘/LighterWebUI/users/’) and now it’s (‘/LighterWebUI/users/${userId}’), meaning I can modify them as I need without having to first fetch the array, modify it and then re-send it to the db.
It’s a TINY bit more efficient, and a lot easier to use.

Also, STATISTICS! I took a few measurements, here are the results.

<100MB idle (about 95MB)
Idling with 10 browser tabs running it took it way up to… 105MB :pepe-thumbsup:

According to my very thorough single Google search, the average idle for OpenWebUI is 400-650MB, making mine 4-6x less RAM usage!

I also improved some of the logic surrounding the presets for API endpoints.

UX improvements too!

I MASSIVELY improved the UI of certain things like the user profile system, which now doesn’t display the currently selected profile as an option (not super significant, but nice). I also added the option to add new users.

The chats list now (finally) shows which chat you’re active in.

It highlights it in a lighter gray.

I also made it so that when you use the “override model selection”, the options disappear so you don’t have an empty element :)

I fixed the colours and improved continuity across colourful elements (before I had like 4 different blue colours that were basically identical XD)

I feel like the UI is kinda Discord-esque on the user page, which I quite like :D
I also added a lil function to close all menus, which streamlines all the others instead of manually closing every one of them.
As far as I can remember that’s basically it!
OH WAIT NO I added a new settings menu! It’s totally different now. :)

I organised some things and split it into two sides, regular and advanced.

I’m very close to finishing the project! Probably <10 hours left on it.
(I’m gonna fix the weird text spacing soon DW lol)

I’ll also add a ‘cancel’ option to the New User menu.
As usual, if I remember anything else I’ll add it in the comments :D
Thanks for reading guys! <3
Happy hacking!

0
28

Comments 1

@Capy

I don’t think I can upload more than 4 photos, so I couldn’t get the advanced menu in there, but I might put it in the next one!