README
README
LabeledCheckbox componentI legit think Android Studio is ragebaiting me, as soon as i start the rec the app starts to lag, when i stop the rec it’s fine
only_when_online property in the ServerSchedule data classString instead of Long for the IDs)ScrollableTabRow not using all the horizontal space when in landscape modePopup calls at the top of screen/tab filesformatDate function from my Zipline appViewModel for better ordering instead of putting everything is a generic onereturns in some places instead of many if else blocksScrollableTabRow component improperly placing icons when there was no textdata classes inside each other so i can do Server.Attributes.Limits instead of having a class with a long name like ApplicationServerAttributesLimits
rotateServerDatabasePassword and deleteServerDatabase, they were using the wrong endpoint (/server instead of /servers)IconButton component from my Zipline app and slightly modified it (the MoreActionsButton component now uses that)Notification object component’s background color.env fileswriteServerFile having a wrong Content-Type (it had application/json instead of text/plain since the input is a raw string)> part of the tagTextInput component to have a fontFamily property so that in the core editor i can set the text to be monospace(Sorry for the slightly laggy video, not sure if it’s cuz it’s via a emulator or cuz i compressed the video from 136 MiB down to 36 MB)
File component’s “more actions” menu (before it was empty)uploadServerFiles to be able to upload multiple files at oncedrwxr-xr-x) to int/octal (like 755)Popup component and Storage object form my Zipline appSecureStorage class to add the file download folder variableFile component to avoid repeating same codesurfaceContainer used in notificationsConsole tab instead of the general server screen, this way it auto reconnects when the user switches back to the console tab (since it disconnects when the user moves to another tab to save resources)Button component
)formatMs function from my zipline app to convert ms to human readable time like “1h 30m 20s” for the server uptimeWebSocketManager class renamed the setPowerState function to sendPowerSignal as it makes more senseOn the console screen i wanted the console to follow its actual colors but only lib i found to do that doesn’t support jetpack compose that well so i had to rely on the XML’s TextView (but in compose thanks to the AndroidView component)
object to easily access the WebSocketManager from a ViewModel classCurrently working on the specific server page, right now it’s empty but i got websocket working, i’ll push it once it’s finished
listServers not working cuz of wrong path (i didn’t know how to tell retrofit to use just the baseUrl, then after it threw an error i googled it and realized i just had to put .)getServerResources response class, now the server state uses a enum instead of a generic stringServer class to better fix some typed and add 1 missing keyuploadServerFile HTTP method (i didn’t do i it initially cuz the docs were confusing and i couldn’t understand how to select the upload directory, turns out i was setting the directory query on the request to get the signed url instead of the signed url itself 😭shimmerable modifier from my Zipline app to make skeleton loadingsuspend functions so i fixed itNotification object from my Zipline app, tho i gotta fix it a bit cuz the color is kinda ugly and i still don’t know which one in the palette to use cuz imo none of them fits, maybe i’ll just use a separate color out of the palette for itTextInput component to add a optional required field which when set to true adds a red * next to the label, might do this with switches toonow i gotta do the frontend part
Finished creating the methods to call the application API (basically just copy pasted same code and changed the method & the fuction vars)
Now i gotta make the same thing for the client API
Header component from one of my other apps