Latest Updates

Documenting code, one commit at a time.

Improving Job Reliability with Time-Based Retries in Landing

In the landing project, we've been focusing on improving the reliability of background jobs, especially when dealing with rate limiting and throttling exceptions. Previously, we used a fixed number of retry attempts, but this approach proved to be problematic.

The Problem

When jobs are released back to the queue due to rate limiting or throttling middleware, each release counted towards the

Read more

Targeted Campaigns: Country-Based Filtering

The devlog-ist/landing project focuses on creating effective landing pages and user onboarding flows. A recent feature addition enables country-specific targeting for email campaigns, leveraging country detection during user onboarding to improve campaign relevance.

The Problem

Previously, email campaigns were broadcast to all users, regardless of their location.

Read more
PHP Filament

Balancing Filament Versions in Platform Development

When developing a platform like Reimpact's, managing dependencies across different environments can become a challenge, especially when using frameworks like Filament. This post explores how to handle version mismatches gracefully during development and deployment.

The Problem: Version Conflicts

Imagine a scenario where your production environment relies on an older version of a framework (e.

Read more

Mitigating Session Logout Issues After User Impersonation

Introduction

Have you ever experienced a user being unexpectedly logged out immediately after being impersonated? This issue often stems from inconsistencies in session data following authentication switches. Let's explore how to address this in a PHP-based platform.

The Problem: Stale Session Password Hashes

In many web applications, especially those employing middleware for

Read more

Global Impersonation: Fixing a Routing Glitch in a Laravel Platform

Working on the Reimpact platform, we encountered a routing issue that prevented the 'stop impersonation' feature from working consistently across all panels. This post details the problem and the solution implemented to ensure global functionality.

The Problem

The impersonation.stop route was not always accessible because the RouteServiceProvider responsible for registering it wasn't

Read more

Enhancing Data Visualization in Filament with PostgreSQL Functions

Introduction

This post explores how the Reimpact/platform project enhanced its Filament-based dashboard by leveraging PostgreSQL functions to improve data visualization. The focus was on creating a more insightful and efficient packaging dashboard.

From MySQL to PostgreSQL: A Performance Shift

The initial implementation relied on MySQL stored procedures. To optimize performance and

Read more

Enhancing User Experience with Filament Impersonation

Introduction

The Reimpact platform is undergoing improvements to enhance user experience and administrative capabilities. A key feature recently added is the ability for administrators to impersonate users, streamlining support and testing processes. This post will explore the implementation of Filament impersonation and associated fixes.

The Problem

Previously, the platform relied on a

Read more
PHP Filament

Refactoring Filament Actions: Namespace Updates

When working with the Reimpact/platform project, keeping dependencies up-to-date is crucial for stability and leveraging the latest features. This post details a recent refactor addressing namespace changes in the Filament framework, specifically concerning Actions.

The Challenge: Filament v5 Namespace Changes

Filament, like many actively developed frameworks, undergoes periodic updates that

Read more

Enhancements and Fixes in the Reimpact Platform

Introduction

This post summarizes recent updates to the Reimpact platform, focusing on improvements to the Filament admin panel integration and related code maintenance. These changes streamline the user experience and ensure code consistency across the platform.

Filament Panel Restoration

A key update involves restoring all Filament admin panels within the platform.

Read more

Unifying Branding Across Filament Panels in Reimpact Platform

Introduction

Maintaining a consistent brand identity across multiple admin panels can be a challenge. In the Reimpact platform, we faced this issue with our eight Filament panels, each serving different modules. The goal was to ensure a unified look and feel while streamlining maintenance and updates.

The Problem

Previously, each Filament panel had its own branding configuration, leading

Read more