Latest Updates

Documenting code, one commit at a time.

Enhancing Calendar UX in Breniapp

Introduction

This post details recent improvements to the calendar user experience in the Breniapp project. The focus was on refining text sizes, padding, modal presentation, and content titles for a more intuitive and visually appealing interface.

Height Calculation and Grid Adjustments

The calendar height calculation was adjusted to better fill the viewport, ensuring a more consistent

Read more
PHP Laravel CSS

Improving UI Compactness in Reimpact Platform

The Reimpact platform aims to provide a streamlined user experience. One aspect of this is ensuring that UI elements, such as widgets, are compact and efficient in their use of screen space.

The Problem: Widget Padding

QuickLinksWidget cards, used for displaying quick access links, were taking up more space than necessary due to excessive padding.

Read more

Enhancing Report Generation in Reimpact/platform: Storing and Displaying Report Data

This post discusses recent enhancements to the report generation process within the Reimpact/platform project, focusing on storing and displaying the generated report data.

The Feature

The primary goal of these changes is to persist generated report data and provide flexible views for different report types. This involves adding a report_data column to the packaging_generated_reports

Read more

Tenant Context Troubles: Debugging Queue Deserialization in a Multi-Tenant Laravel App

In the Reimpact/platform project, we encountered a tricky issue with queue deserialization in our multi-tenant environment. This post details the problem, our investigation, and the solution we implemented.

The Problem

Our application uses a queue to generate reports. A GenerateReportJob is dispatched, serializing the GeneratedReport model.

Read more

Improving Migration Handling in the Reimpact Platform

Introduction

In the Reimpact platform, we recently addressed an issue related to how database table names were being handled during migration seeding. Specifically, the system wasn't accurately extracting table names from migration files, leading to discrepancies and potential errors.

The Problem

Previously, the migrationTableAlreadyCreated method relied on parsing table names directly

Read more

Tenant Migrations: Ensuring Data Consistency in Multi-Tenant Applications

When building multi-tenant applications with Laravel, ensuring each tenant's database schema is correctly migrated can be a challenge. In the Reimpact platform, we encountered issues with tenant schemas either re-running all migrations on each deploy or skipping them entirely. This led to potential data inconsistencies and application instability.

The Problem

Without a dedicated migration

Read more
PHP Laravel CSS

Bypassing Filament CSS Pipeline for Quick Widget Styling

When working with UI frameworks like Filament in Laravel projects, you sometimes encounter situations where the framework's CSS pipeline interferes with custom styling. We recently ran into this issue in the Reimpact platform while developing the QuickLinksWidget.

Filament, being based on Tailwind CSS, compiles its own version of Tailwind. This can lead to inconsistencies if your project's

Read more