Latest Updates

Documenting code, one commit at a time.

Enhancing Prompt Handling in Post Generation

Introduction

We recently refined our post generation process to provide users with greater control over the final output, especially when incorporating creative or specific instructions. These enhancements focus on improving how user prompts are interpreted and applied during the content creation process.

Key Improvements

Prioritizing User Instructions

Previously, user-provided

Read more

Modularizing Application Features: A Practical Approach

Introduction

This post outlines a strategy for breaking down a large application into smaller, more manageable modules. We'll discuss how to encapsulate features, improve code organization, and facilitate collaboration using a modular architecture.

Step 1: Define Module Boundaries

Identify distinct areas of functionality within your application. For example, a 'batteries' module could

Read more
JavaScript HTML CSS

Refocusing on the Developer Experience: Updating Terminology

Introduction

This update refines the language used in the developer portal to better resonate with individual developers. It involves reverting a B2B-focused hero section to its original developer-centric narrative and consistently using "developers" instead of "builders" across multiple language files.

Changes Implemented

The primary focus was on aligning the messaging with the target

Read more

Handling Video Playback Compatibility in Web Applications

Introduction

Ensuring video playback across different browsers can be a tricky endeavor. Modern web applications often face challenges related to codec support and browser compatibility. This post will explore a common issue related to video format support and a pragmatic approach to resolving it.

The Problem: Inconsistent Codec Support

Different browsers support different video codecs.

Read more

Implementing Localized Promo Videos for Global Audiences

The Challenge

Our application needed to support multiple languages for promo videos, ensuring a localized experience for users across different regions. This included translating video content and optimizing video formats for efficient delivery.

The Solution

We implemented a solution involving content localization, component updates for internationalization (i18n), and video format

Read more
CSS HTML JavaScript

Enhancing UI Responsiveness: Optimizing a Floating Action Button

Introduction

This post details improvements made to a floating action button within a web application, focusing on enhancing the user experience through visual adjustments and code optimization. The primary goals were to reduce the button's footprint and ensure it doesn't obscure page content.

Visual Refinements

To create a cleaner interface, the button's size, padding, and spacing were

Read more

Enhancing Developer Growth Charts with Axis Labels

Introduction

Visualizing data effectively is crucial for understanding trends and patterns. In this post, we'll explore how we enhanced our developer growth charts by adding axis labels, making them more informative and user-friendly across various themes.

The Importance of Axis Labels

Charts without axis labels can be difficult to interpret. Labels provide context, allowing users to

Read more

Adding Full-Text Search to Your Portfolio with PostgreSQL

Implementing full-text search can significantly enhance the user experience of your portfolio or blog. This post details how to add PostgreSQL-powered full-text search to a Laravel application, focusing on accent-insensitive prefix searching across multiple fields.

The Problem: Basic Search Limitations

Simple LIKE queries in SQL often fall short when dealing with complex search

Read more

Refactoring Filament Account Settings for Improved Clarity

Introduction

The original account settings page had become unwieldy, making it difficult for users to find and adjust specific settings. This post outlines the refactoring process to improve the user experience and code maintainability.

The Challenge

The monolithic AccountSettings page contained a large number of fields and configurations, leading to:

  • Difficulty in navigating the
Read more

Enhancements to Portfolio Settings and Automation

Portfolio Badges Visibility

The "Show Badges on Portfolio" toggle has been relocated from the Automation Settings to the Portfolio Settings page. This move aligns the feature with its conceptual location, placing portfolio customization options in a more intuitive and accessible area.

// Filament\Pages\PortfolioSettings.php
Toggle::make('visibility_badges')
    ->label(__('filament.
Read more