You are browsing as a guest. Sign up (or log in) to start making projects!

2h 54m 39s logged

Lotta Features!: Toasts, Container Recreation, and Ability to reconfigure services

  1. Added toast messages - needed a better way to show error messages so I implemented toasts. These were implemented using a MutationObserver, which watches an element for changes, in this case for new nodes being added to it. This lets me automatically remove toasts after a certain time and fade them out. Using a MutationObserver allows toasts to be added using HATEOS (HTMX) instead of only being able to create toasts from JavaScript.
  2. Added the ability to reconfigure services. Before only the value was shown, but now you can update configuration and save it. Added an API endpoint so virtual servers could request new service configuration. Also reworked code to use toasts, and generally improved code quality by moving code into separate functions
  3. Added the option to recreate containers. This is needed to update the container image, and/or refresh configuration, for example new ports or even a different image. This depended on the changes in 2.

  1. Toasts
  2. Reconfigure services
  3. Recreate containers
0
11

Comments 0

No comments yet. Be the first!