Latest Updates

Documenting code, one commit at a time.

Simplifying Widget Queries in Reimpact/platform

When developing widgets in Reimpact/platform, efficiency is key. A recent update addresses an issue with Filament's default sorting behavior in subqueries, specifically within the TopExceptionsWidget. Let's explore the problem and the solution.

The Problem

Filament, a PHP framework, automatically applies ORDER BY model.id when using HasRecords. This default behavior becomes problematic

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
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