Latest Updates

Documenting code, one commit at a time.

PHP Queue JavaScript

Improved Retry Handling for AutoSyncGeneratePostJob

Introduction

The AutoSyncGeneratePostJob is crucial for automatically generating posts. Recently, we encountered an issue where rate limits were causing the job to exhaust its retry budget prematurely, leading to job failures even when the underlying issue was temporary.

The Challenge

The original job configuration used a $tries property to define the maximum number of attempts.

Read more
PHP MySQL JavaScript

Dashboard Stability: Handling Missing Commits Table

Introduction

The application's dashboard was experiencing crashes for tenants that had not yet run the commits migration. This post details the solution implemented to gracefully handle the absence of the commits table in the tenant schema, preventing dashboard failures.

The Problem

When the dashboard attempted to query the commits table to display user activity and calculate API

Read more

Streamlining Filament Navigation: Enhancing User Experience

Overview

This update focuses on improving the user experience within the Filament admin panel by reorganizing the navigation structure. Specifically, resources related to support and feedback have been relocated to a dedicated 'Support' navigation group.

Motivation

The primary goal is to declutter the 'System' navigation group. By moving support-related resources to their own group, the

Read more

EcoRuta Form Redesign: Modernizing the User Interface with a Focus on Dark Mode

Introduction

The EcoRuta form, used for managing certified recycling routes, has undergone a significant redesign. This update focuses on modernizing the user interface, improving the user experience, and adding dark mode support to align with the Landing module's design patterns.

Key Changes

The redesign includes several key improvements:

  • Layout Update: The form now utilizes
Read more

Enhancements to AI Settings and Post Generation Access Control

Overview

This update focuses on refining access control for AI settings and improving the Post Generator navigation within the application. Key changes include restricting access to AI configuration settings to superadmin users only and reordering the Post Generator in the navigation menu for improved user experience.

AI Settings Access Control

To enhance security and prevent

Read more

Dependency Update: Lodash to v4.17.23

Introduction

This post details a recent dependency update to Lodash within the platform. Lodash is a utility library providing helpful functions for working with arrays, objects, strings, and numbers. Keeping dependencies up-to-date is crucial for maintaining security, performance, and compatibility.

The Update

The platform's Lodash dependency has been bumped from version 4.17.21 to 4.17.

Read more
PHP MySQL JavaScript

Implementing Dual-Write for User/Tenant Data Separation

Introduction

Our application initially stored user-specific data directly within the Tenant model. As we've grown, the need for a more scalable and maintainable solution became apparent. To address this, we embarked on a project to separate user profiles into a dedicated table within each tenant's schema.

The Challenge

Storing user data directly in the Tenant model created several

Read more