Latest Updates

Documenting code, one commit at a time.

English 10 posts
×

Streamlining Filament Forms with Namespace Updates and Tenant Context Resolution

Keeping dependencies up-to-date can be a headache, especially when upgrading major versions of frameworks. Let's look at how recent changes in the Reimpact platform addressed a namespace change in Filament v5 and improved tenant context resolution.

The Challenge: Filament v5 Namespace Update

Filament is a popular Rapid Application Development (RAD) framework for Laravel.

0 PHP Filament

Filament v5 Action Updates in Reimpact Platform

The Reimpact platform has undergone an update to align with Filament v5, specifically addressing changes in how actions are handled within tables. This adjustment ensures compatibility and leverages the latest features offered by the framework.

The Transition from Tables\Actions\Action

In previous versions of Filament, actions within tables were managed using Tables\Actions\Action.

Enhancements to Tenant Warehouse Management in Platform

Introduction

The Reimpact platform is undergoing improvements to its multi-tenancy architecture, specifically focusing on tenant warehouse management. This involves refining database queries and updating tenant schemas for better isolation and data integrity.

The Problem

Previously, the GeneratedReportResource was incorrectly querying the company_id on tenant-specific warehouse

Enhancing Tenant Management and File Handling in Laravel Applications

Introduction

When building multi-tenant applications with Laravel, ensuring proper tenant context and efficient file handling are critical. Recent updates to the Reimpact platform focus on improving these aspects, streamlining tenant schema management and simplifying large file uploads.

Tenant Schema Isolation Improvements

Proper tenant schema isolation is essential for maintaining data

Embracing Filament: Streamlining Testing in Laravel Projects

In modern Laravel projects, choosing the right tools is crucial for efficient development and maintainability. The Reimpact/platform project is undergoing a transition from Nova to Filament, aiming to leverage Filament's capabilities for streamlined administration interfaces. This transition impacts testing strategies, requiring a shift from Nova-specific tests to those aligned with Filament.

Improving Onboarding Flow by Refining Uncertainty Detection

Introduction

In the Breniapp/brenia project, ensuring a smooth user onboarding experience is critical. A key part of this is understanding and responding appropriately to user input, especially when users express uncertainty. We recently addressed an issue where our system was incorrectly flagging valid responses as uncertain, leading to a frustrating user experience.

The Problem

0 PHP Stripe

Streamlining Subscription Management and Credit Purchases in Breniapp

Introduction

Managing subscriptions and in-app credits can be complex, especially when integrating with payment gateways like Stripe. Breniapp is enhancing its platform to provide a smoother experience for both administrators and users by focusing on plan management and credit purchasing.

Plan Deletion and Stripe Product Archival

Previously, deleting a plan might have left lingering data

0 PHP Laravel

Refactoring for Clarity: Removing Redundant Relationships and Enhancing Widget Functionality in Laravel

In the Reimpact/platform project, we're constantly striving for a cleaner, more maintainable codebase. Recently, we undertook a refactoring effort focused on removing unnecessary relationships, improving widget functionality, and ensuring data consistency across tenants.

Removing Non-Existent Relationships

One area identified for improvement was the MassiveUploadWithErrorsResource.

Improving Text Rendering in HTML5 Canvas with Explicit Line Height

Introduction

When working with HTML5 canvas and libraries like html2canvas for rendering web content into images, unexpected rendering issues can arise. One common problem is incorrect vertical text centering, particularly when dealing with text overlays. This post explores a fix for this issue by explicitly setting the line height for text elements before rendering.

The Problem: