Gerardo Ruiz Gerardo Ruiz

Latest Updates

Documenting code, one commit at a time.

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 prevent the test suite failures without compromising the database transactions.

The Solution

Read more

Enhancing User Experience with Dark Mode in Admin Panel

Introduction

Our Admin Panel was due for a user experience enhancement. With the increasing adoption of dark mode in modern applications, we decided to enable this feature to provide an alternative visual theme for our users.

The Challenge

The primary challenge was to integrate dark mode seamlessly into our existing Admin Panel configuration without disrupting the current user interface.

The Solution

We updated the AdminPanelProvider to enable dark mode by setting the darkMode

Read more

Enhancing User Experience with Dark Mode in Admin Panel

Introduction

Our application's Admin Panel has undergone a significant improvement with the introduction of dark mode. The new feature enhances the user interface experience for users who prefer a dark theme, aligning with project standards for UI customization and improving accessibility.

Development

To achieve this, we updated the AdminPanelProvider to enable dark mode by setting the darkMode option to true. The implementation involved modifying the AdminPanelProvider class to

Read more

Subscribe to Newsletter

Get weekly updates with new posts delivered to your inbox.