@mcPickleRick
Good Spot on that MNDS, I didn't notice that before, I've attached the fixed config page header. The firmware update going to sleep thing should be fixed by editing this function.
Code:
void handleFlashRequest(AsyncWebServerRequest* request) {
autosleep = false; //don't go to sleep when flashing....
request->send(200, "text/plain", "Flashing now...");
}
The thing about the amoled you mention is not an issue for this firmware because it's not designed for that board, it's specifically made for waveshare mini with 4MB flash or just generic esp32s2/s3 boards without screens. Amoled has it's own non public code base, you'll need to modify the code with some of the code from the examples I posted. The wake up on the mini is via a touch gpio pin, so you just need to alter the code to use that. If you are going to fit the mini inside your switch I strongly suggest you get a touch sensor and wire up as the instructions suggest so you can wake up the chip and reset it if you need to.
The file editor is designed that way to only allow editing specific files with the following extensions - const char* ALLOWED_EXTENSIONS[] PROGMEM = { "txt", "html", "js", "mjs", "css", "cache" };
This is the reason it's not showing other files, you can edit the code to allow more extensions and also the editor_gz file (unpack and convert the array back to html). So basically that's a feature and not a bug. it's done like that on purpose because the file needs to fit in the 2MB psram (so we don't want to edit too large files) as that's where it's edited and saved before it gets written back to flash.
I think the header bars on each page is designed the way it is for a reason, as some have buttons and stuff and it was the only way to fit things on the screen, I am not a graphics guru or css/html/javascript expert so maybe you can redesign the layout and post the modified html/css files? I'll let mrdude know though so he is aware, or he probably will read this as he's on this forum from time to time.