Latest Updates

Documenting code, one commit at a time.

Enhancing SEO with Slug Functionality in Blog Posts

Introduction

In our recent update to the devlog-IST landing application, we addressed a critical need for improved SEO and user navigation by implementing slug functionality in the Post model. This enhancement allows for SEO-friendly URLs that not only provide better search engine indexability but also improve user experience.

The Problem

Prior to this change, blog posts were accessed

Read more

Handling Stale Stripe Customer IDs During Checkout

Introduction

In a recent update to our eCommerce platform, we faced an issue with handling stale Stripe customer IDs during the checkout process. When users referenced a deleted Stripe customer, our application would encounter errors that disrupted the checkout experience. To improve the user journey, we implemented a solution that gracefully handles this scenario.

The Challenge

Read more

Streamlining Support Ticket Notifications in Laravel

Introduction

In our ongoing effort to enhance the performance and maintainability of our Laravel application, we tackled the complexity of our support ticket notification process. Previously, the system was cluttered with unnecessary configurations and queue settings that didn’t align with our streamlined project standards.

The Challenge

The core issue was that the

Read more

Synchronizing Composer Dependencies: A Case Study

Introduction

In our Laravel-based project, we encountered a situation where it was important to ensure our application's dependencies were synchronized with the latest updates from external packages. This post details a specific commit we made to address a synchronization issue with the prism-php/prism package, providing insights into how we managed our Composer dependencies effectively.

Read more

Introducing the Vlog Feature: Enhanced Content Management in Our Application

Introduction

In our latest update, we've implemented a significant enhancement to our application by introducing the Vlog feature. This feature allows users to create, edit, and manage posts effectively through a new resource—SystemPost. In this post, we'll explore the decisions made during development, technical implementations, and the overall impact on the user experience.

The Challenge

Read more

Implementación del Campo "generation_source" en Posts: Un Enfoque Estructurado

Introducción

Recientemente, hemos abordado la necesidad de identificar la fuente de generación de publicaciones en nuestra aplicación. Esto se volvió imprescindible para entender mejor la procedencia del contenido, ya sea manual, auto-generado o mediante un prompt. A continuación, exploraremos cómo se llevó a cabo esta implementación y las decisiones técnicas que se tomaron a lo largo del

Read more

Enhancing Auto-Sync Functionality: Excluding Already-Used Commits

Introduction

In our recent development effort, we aimed to enhance the auto-sync functionality in our post generation system. The primary concern was to ensure that commits already used in existing posts would not be duplicated in the auto-sync process. This adjustment was necessary to maintain the integrity and uniqueness of the posts generated by our system.

The Challenge

Read more

Enhancing Badge Management with Filament

Introduction

The badge management system has been overhauled to provide a more intuitive and user-friendly experience. This update introduces the ability to manually assign badges to users, complete with visibility settings and date tracking.

Development

The UsersRelationManager class was created to handle user-badge relationships. This class extends Filament's RelationManager and

Read more

Resolving Test Suite Failures Caused by Database Transactions

Introduction

Our test suite was experiencing frequent failures due to database transaction issues. The reconnect() method was causing the PDO connection to close, triggering Laravel's RefreshDatabase trait to reset and resulting in deadlocks and "relation does not exist" errors.

The Challenge

The main challenge was to identify the root cause of the issue and find a solution that would

Read more

Disabling AI Models in Production Environments

Introduction

Our production environment required a critical update to ensure AI models remain inactive unless explicitly re-enabled. This post details the implementation of a migration to deactivate all AI models.

The Challenge

The AI models were initially active in production environments, posing potential security and functionality risks. A solution was needed to deactivate these models

Read more