~dricottone/blog

Now content

Added a new post.

Also added highlighting to the code in an older post.
Chat fixes

Input fields now clear on reload of the web page.

Empty messages now can't be sent. Need to create some UI indicator of
the error, but for now the error is logged to the console at least.
UI Changes

The chat shortcode has been reworked. Rather than appearing as
paragraphs, the UI elements have been sorted into tabs that are hidden
by default and toggled by buttons.

IDs have been added+changed to accomodate this.

Button and input styling have been abstracted slightly. I am considering
moving these styles further out, to my blog CSS.
Fix to highlighted syntax
Styling chat bubbles

CSS for 'own' and 'other' chat bubbles. This is managed with some clever
positioning and rotation of borders. Colors and sizes are all TBD.

Minor tweaks to the JS to enable this. The message is now returned from
decrypt/verify functions as an object, where message.message contains
the content (which formerly was the entire return value) and
message.trust contains the MessageAuthenticated enum value.

I likely will add further styling for messages that could not be
decrypted, and for messages where the signature could not be verified.
Lightbox version bump; Added link to Upptime
Add favicon

Image for favicon was published by Popo le Chien under Creative Commons
CC0 1.0 on Wikimedia Commons. See
https://commons.wikimedia.org/wiki/File:Rigatoni_closeup.png .

Favicon was compressed and converted by real favicon generator. See
https://realfavicongenerator.net/ .
Publishing the blog post
Next