Sunny Update as of November 22nd
There have been a few PRs this past month, and now that I’m streaming more of my work on Sunny, progress will be slower. Most of this month's work revolves around the “Log Pose” feature, a dashboard that lives under my primary monitor with the current time and weather, as well as my and Ashar’s calendars.
Also, I deployed what I’ve done on Sunny to Forge. It’s on a Digital Ocean Droplet (2 vCPUs / 2GB / 60GB Disk) with everything I host (like this website). Since the cool kids use SQLite these days, I’m using that database driver. I had problems installing the app because I forgot to add Flux to the packages section, but once I remembered, the rest of the installation process was smooth.
List of PRs:
Log Pose Feature
PR: #21
This was the biggest PR this month, with 46 files changed. In this PR, I installed Spatie’s laravel-dashboard package, which allows the creation of a dashboard by using Livewire components as “tiles”. Tiles update themselves via polling.
Spatie and others made many existing tiles, but I ended up creating all my own, though I used others as inspiration!
Add ability to add/edit tiles
PR: #22
Since I’m using SQLite and can’t figure out how to insert data into the database over an SSH connection (via TablePlus or Tinkerwell) I added the ability to add/edit tiles from Sunny directly. I’m only doing this for the “coworkers” tile since I didn’t want to leave that data committed to the repo. A nice bonus with this change is that it makes reordering folks easier, so folks I’m on a project with or working closely with are at the top.
Favicons
PR: #23
Arc is my browser of choice, and not having favicons in Arc looks terrible, so this PR added favicons generated by https://realfavicongenerator.net/. I added two versions of the Sunny, one for local development and one for production. I haven’t done this before, but I have already found it incredibly helpful since I don’t have to look at the URL to determine what environment I’m looking at.
Log Pose scroll bars
PR: #24
I’m spoiled by macOS scrollbars and really dislike default scrollbars, so I added some CSS to make them small and out of the way on the Raspberry Pi, which is the main place where I see the Log Pose page.