Latest Updates

Documenting code, one commit at a time.

Building Resilient Avatars: Handling Expired External URLs and UI Fallbacks in Laravel

The Problem

Imagine a platform where users connect through their profiles, featuring their professional avatars. In our devlog-ist/landing project, which serves as a vital community and recruiter hub, we faced a significant challenge: a staggering 73% of LinkedIn avatars displayed on our job board and recruiter views were broken. The culprit? Expired URLs from LinkedIn's CDN.

Proactive Avatar Management: Scheduling Weekly Refreshes for devlog-ist/landing

Introduction

In the devlog-ist/landing project, maintaining a seamless user experience often involves ensuring that all elements, including user avatars, are consistently available and up-to-date. When relying on external services for profile images, proactive management becomes crucial to prevent disruptions.

The Problem

A common challenge with externally sourced user avatars,

Securing Admin Access: Implementing Email Verification with Laravel and Filament Middleware

Securing Admin Panels: The Importance of Email Verification

Imagine an admin panel where critical actions are performed, but the identity of the user is not fully verified. This introduces a significant security vulnerability. For the Breniapp/brenia project, a robust application built with Laravel and Filament, enhancing security by ensuring user email verification was a key objective,

Reactivating Mentees: Restoring Future Bookings in a Transaction

The Problem

In our landing project, we encountered a critical bug within the mentorship feature. When a mentee decided to unsubscribe, all their future scheduled sessions were correctly marked as 'Cancelled'. However, the reactivation process was incomplete. It would successfully reactivate the mentee's subscription status but crucially, it left all previously cancelled bookings in their

Unlocking Mentee Engagement: Shifting from Auto-Reprobation to Transparent Communication

Introduction

In the landing project, we manage various community initiatives, including a mentorship program designed to connect mentees with experienced mentors. A core challenge in such programs is managing attendance and ensuring engagement. Our initial approach to handling mentee absences involved an automated 'reprobation' flow, intended to streamline the process for non-attending

Mastering E2E Testing: Architecting a Secure Playwright Suite with Faked AI Services and CI/CD Integration

Introduction

For Breniapp, our user onboarding process is a critical first impression, featuring complex multi-step flows and integrations with AI services. Ensuring its robustness, especially after continuous development, demands comprehensive end-to-end (E2E) testing. Historically, our CI workflows lacked E2E coverage for onboarding and only ran basic checks on select PRs.