Latest Updates

Documenting code, one commit at a time.

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
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
HTML CSS JavaScript

Addressing Video Playback Issues on Landing Page

The Issue

Users reported that embedded WebM videos on the landing page were not playing correctly across all browsers and devices. This was particularly noticeable with VP9-encoded WebM files.

The Solution

To ensure a consistent and reliable user experience, the decision was made to temporarily remove the problematic WebM video files and rely solely on MP4 versions for video playback.

Read more

Optimizing Auto-Sync Frequency for Enhanced Responsiveness

Introduction

We recently adjusted the frequency of our automated synchronization process to improve system responsiveness and data consistency. This post details the change and the reasoning behind it.

The Change

The auto-sync schedule was updated from running hourly to every minute. This adjustment aims to provide near real-time updates for critical data.

Schedule::command('posts
Read more
CSS PHP JavaScript

Fixing Filament Admin Sidebar Header Positioning

The Issue

The Filament admin panel's sidebar header was not behaving as expected on desktop screens. Specifically, its positioning wasn't sticky, leading to a poor user experience when scrolling through long lists of navigation items.

The Fix

A CSS update was implemented to ensure the sidebar header remains fixed at the top of the screen on desktop viewports.

Read more