Latest Updates

Documenting code, one commit at a time.

Improving Image Downloads in Breniapp

Introduction

In Breniapp, we recently tackled an issue where downloaded images were not reflecting the complete visual output displayed on screen. Specifically, text and logo overlays, which were rendered using HTML and CSS, were missing from the downloaded image, resulting in users receiving only the base image.

The Problem

The original download implementation was simply fetching the

Read more

Handling Tenant Database Schema Updates in Laravel

When developing multi-tenant applications with Laravel, managing database schema updates across tenants can be tricky. This post discusses how to address a common issue: ensuring that all tenant databases have the necessary schema changes after migrations.

The Problem: Missing Columns After Migration

In a multi-tenant Laravel application, each tenant typically has its own database schema.

Read more

Enhancements to Carousel Functionality in Breniapp

The Breniapp project focuses on providing innovative solutions. Recent development efforts have centered on improving the carousel feature, addressing formatting issues, data capture, and download capabilities.

Carousel Enhancements

The latest updates to the carousel functionality in Breniapp include several key improvements:

Dynamic Aspect Ratio

The carousel now dynamically adjusts

Read more

Improving HTML Canvas Capture with Absolute Positioning in Breniapp

Introduction

In the Breniapp project, we encountered an issue where html2canvas was misrendering flexbox alignments, specifically items-center and items-end. This resulted in text overlays appearing shifted during the capture process. To address this, we implemented a strategy to temporarily convert flex wrappers to absolute-positioned elements before the capture and then restore them

Read more

Refactoring for Readability: The Migration Edition

Working on the landing project, we recently focused on improving the clarity and style of our database migration code.

The Importance of Readable Migrations

Database migrations are a crucial part of any evolving application. They define the structure of your data and how it changes over time. Clean, readable migrations are essential for:

  • Maintainability: Easier to understand and
Read more
PHP CSS HTML

Improving UI Consistency with Flexbox in Breniapp

In the Breniapp project, maintaining a consistent user interface across different screen sizes and devices is crucial. Recent work focused on leveraging Flexbox to achieve this, specifically addressing the positioning of a timestamp within a library card component.

The Challenge

The original layout didn't consistently pin the timestamp to the bottom of the library card, especially when

Read more