WebOS

WebOS Used AI

16 devlogs
15h 22m
Created by Tobias Kisling

A simulated linux-like "OS" that runs in your browser.

Timeline

Added a Windows-like start menu (Yes, I want to simulate a linux-like OS but why not).
Readded the prevent-select class because stupid me deleted it when implementing the new CSS. It's really not a good idea to paste in so much code at once, it is getting very confusing quickly.
Fixed the margin on the desktop clock.

Update attachment

Made a lot of progress on the GUI, it is now looking relatively good.
(For anyone wondering how I'm doing these changes so fast, I have multiple versions of the project for testing purposes, I worked on the CSS upgrade way longer than 45min - obviously. The 45 minutes were just implementing the CSS changes...)

I also added desktop clock, now it looks a bit like Windows 7.

Update attachment

Finally: Working file saving.
Also wired up the buttons in the GUI of the text editor.

Update attachment

Added showWindow function.
Added editor command that opens files through the terminal in the editor.
The editor is now also openable through the file explorer.
Fixed error handling in editor functions (No more inserting the error message into the text area.)

Update attachment

Added question alert with (YES/NO/CANCEL) options. However, I don't like my current approach for this at all, because I would rather use a single function with a return value, but for now it's sufficient.

Added very basic editor functionality.

Added a debug icon because why not?

Update attachment

Added functional alerts (Currently only Warning, Info and Error) that can be accessed through the taskbar (for now). I'm going to add more different types later, but I need to create a different approach first.

Update attachment

Added a lot of placeholders...
One for the coming editor, which currently is just a blank window.
The second one for some alerts (Warning, Error, Info, etc).

Update attachment

Added new logo. Added dedicated start page that currently looks terrible.
Added the logout and shutdown commands.
Added shutdown page (the boot page but with other messages).

Update attachment

Created finger command which is only a placeholder for now.
Actually fixed that issue with touch/mkdir now, stupid me from a few hours ago tried to compare null to null.

Update attachment
Tobias Kisling Tobias Kisling about 2 months ago
I obviously meant comparing null as value to null as string, I was unaware that quotation marks aren’t displayed in the devlog.

Added an information doc about my AI usage on this project (Spoiler: No coding tasks were done by AI).
Added simulated bootloader (GRUB-like) and bootscreen (work not finished, there are some links missing besides other stuff to implement).
Fixed graphical issue with file explorer header bar.
Fixed bug that created files/folders named null when file/folder creation through file explorer was aborted (Who thought it was a good idea to let window.prompt() return null if the prompt is cancelled?).

Update attachment

Added a file browser utility that makes working with folders/files a bit easier.

Update attachment

Added support for multiple users which can be saved in localStorage.
Added the following commands:
whoami, listusers, useradd, userdel, su.

Update attachment

Added a taskbar with a selfmade icon which is definetely going to be replaced later, as my graphic design skills are really bad.
Added functionality for fullscreen, minimizing and closing windows.
Added an actual username root that replaces user for now (Until su is implemented).
Changed the exit command to reset and close the terminal.

I added filesystem simulation using localStorage (Note: some code has been taken from a previous project of mine, an Escape Room where I already used localStorage to store simulated files).
I added the following commands: pwd, cat, rm, mkdir, ls, cd, touch, clear, exit.
Also, I added file writing functionality to the echo command, now that the filesystem has been established.

Update attachment

Made some minor changes to GUI (Prevent selection of window header, padding to prevent output overlapping with input).
Added basic command processing and the first usable commands: echo and help.

Added base GUI layout for the central part of this project - the terminal.
From it, the user later will be able to input various commands.

Update attachment