Latest Updates

Documenting code, one commit at a time.

PHP JavaScript

Enhancing Content Platform Support in Devlog-ist/landing

Introduction

The devlog-ist/landing project is evolving to support multi-platform content. This post details the addition of a platform discriminator, allowing content to be tailored for different platforms like portfolio sites, LinkedIn, and Dev.to. This enhancement ensures that examples and prompts are appropriately styled and presented for their intended audience.

Content Platform

Read more
JavaScript HTML CSS

Conditional Display of Portfolio URL in devlog-ist/landing

Introduction

In web applications, displaying certain data based on specific conditions is a common requirement. This post delves into how the devlog-ist/landing project implemented conditional display of the portfolio URL column, enhancing the user interface by showing the column only for published posts.

The Challenge

The initial design of the devlog-ist/landing project displayed

Read more

Enforcing Diagram Generation in AI Prompts

Sometimes, seemingly small changes can have a significant impact on the consistency and quality of AI-generated content. Recently, we encountered an issue in the devlog-ist/landing project where the Mermaid diagram generation was intermittently producing empty strings, despite being a crucial visual component.

The Problem

The initial AI prompt configuration defined the mermaid_diagram

Read more
PHP HTML CSS

Enhancing Content Management with Direct Portfolio Links

Introduction

In content management systems, providing easy access to the published output is crucial for content creators. A common frustration is the need to navigate through multiple screens to view the final result of their work. This update to the landing page project addresses this issue by adding a direct link to the published portfolio post from the edit page.

The Problem

Read more
PHP HTML JavaScript

Enhancing Content Display and Editing in Landing

This post details recent improvements to the devlog-ist/landing project, which is designed to create effective landing pages.

We focused on refining how prompts are displayed and improving the post editing form to include a portfolio URL.

Bullet List Rendering for Prompts

Previously, portfolio and LinkedIn prompts were rendered as plain text. To enhance readability and organization, we've

Read more
CSS JavaScript HTML

Enhancing Landing Page Readability with Dynamic Text Scaling

Introduction

The devlog-ist/landing project focuses on creating an engaging landing page experience. A key aspect of a successful landing page is readability, ensuring content is easily accessible across different devices and screen sizes. This post details improvements made to enhance text readability on the landing page, specifically focusing on dynamic text scaling.

The Problem

Read more

Enhancing User Engagement: Implementing LinkedIn Share for Landing Pages

Introduction

We recently added a "Share on LinkedIn" feature to our landing page project, devlog-ist/landing. The goal was to increase user engagement and expand the reach of user portfolios by enabling seamless sharing on LinkedIn. This post details the implementation process, covering AI-powered post generation, direct publishing via the LinkedIn API, and considerations for different user

Read more
PHP CSS JavaScript

Sticky Situations: Fixing a Filament Sidebar Scroll Issue

Ever felt like a crucial part of your UI just wouldn't stay put? That's the kind of problem we tackled recently in the devlog-ist/landing project, which aims to provide a streamlined blogging platform for developers.

The Problem

The Filament admin panel's sidebar, designed for quick navigation on desktop, was failing to maintain its sticky position during page scrolling.

Read more
PHP HTML CSS

Enhancing SEO on the Landing Project

The landing project aims to provide a public-facing website. We've been working on improving its search engine optimization (SEO). This ensures the site is easily discoverable and receives explicit indexing signals on every crawlable page.

The recent updates focused on adding meta robots directives to control indexing and following behavior, canonical URLs to avoid duplicate content issues,

Read more
JavaScript Laravel

CSRF Tokens: Preventing Onboarding Tour Issues

When building interactive tours, ensure all API requests include CSRF tokens to prevent unexpected failures. Let's look at a recent fix in Reimpact/platform, a project focused on modernizing user interaction flows. The team addressed an issue where the onboarding tour restarted on every page load.

The Problem: Missing CSRF Tokens

The tour's JavaScript fetch calls lacked the X-CSRF-TOKEN

Read more