Latest Updates

Documenting code, one commit at a time.

PHP Laravel

Streamlining Content Publishing: Integrating Dev.to with Filament

This post explores the addition of a new feature to the landing page project. This project provides a set of marketing pages for DevLog-ist, and this new feature allows for streamlined publishing of content directly to Dev.to from within the Filament admin panel.

The Need for Integrated Publishing

Content creators often use multiple platforms to reach their audience.

Read more

Themed Pagination: Enhancing User Experience on devlog-ist/landing

The devlog-ist/landing project aims to provide a customizable landing page experience. A key aspect of user experience is the pagination, which allows users to navigate through content easily. This post explores how we enhanced the pagination by introducing themed styles that align with different portfolio themes.

The Challenge

Previously, the pagination used a generic Laravel style, which

Read more
Node.js JavaScript

Improving LinkedIn Publish Performance by Caching Images Server-Side

The devlog-ist/landing project focuses on creating landing pages. Recently, we tackled a performance bottleneck during the LinkedIn publishing process. The issue arose from sending large base64 encoded images directly within the publish request, leading to 413 errors from Nginx due to exceeding the maximum request size.

The Problem

LinkedIn's API has limits on request size. Sending a

Read more
JavaScript Node.js

Independent Control for LinkedIn Post Generation

When developing tools for content generation, flexibility is key. A recent update to the devlog-ist/landing project focuses on providing more granular control over how content is generated for different platforms. Specifically, we've decoupled the random mode setting for LinkedIn from the portfolio's random mode.

The Problem: One Size Doesn't Fit All

Previously, a single "random mode"

Read more
PHP Laravel Serde

Improving Code Quality and Performance in Reimpact Platform

This post delves into recent improvements made to the Reimpact/platform project, focusing on enhancing code quality, fixing cross-module dependencies, and optimizing database queries. The project aims to provide a robust platform for managing various business processes.

Validation and Data Integrity

A significant aspect of this update involves strengthening data validation across multiple

Read more
PHP Laravel

Preventing Scope Downgrades in OAuth Flows

Introduction

When implementing OAuth flows, ensuring that user permissions (scopes) are correctly managed is crucial. A subtle bug can lead to unintended scope downgrades, limiting the application's access to necessary resources. This post discusses a fix in the devlog-ist/landing project to prevent such downgrades during GitHub login.

The Problem

The devlog-ist/landing project

Read more

Fixing Alpine.js x-for Errors in SVG on Laravel Landing Pages

When building interactive landing pages with Laravel and Alpine.js, you might encounter unexpected issues when using Alpine.js directives inside SVG elements. Specifically, the <template x-for> loop can cause errors due to how browsers handle foreign objects within SVG. This post details a solution to this problem.

The Problem: <template x-for> Inside SVG

SVG elements have their own

Read more
PHP Laravel

Optimizing User Activity Sync in devlog-ist/landing

The devlog-ist/landing project is focused on [project description]. We've been working on improving how user activity is synced, specifically addressing limitations with the Events API. This involves handling date range restrictions and implementing a more robust commit synchronization strategy.

The Events API has a limited range of about 90 days and pagination caps, causing errors when syncing

Read more