Latest Updates

Documenting code, one commit at a time.

English 10 posts
×
JavaScript

Isolating Concerns: Refining Prompt Generation for Specific Outputs

In complex systems, separating concerns is crucial for maintainability and clarity. A recent update to the devlog-ist/landing project highlights this principle by refining the prompt generation process for different output formats.

The Problem: Contaminated Instructions

Previously, when generating content for both portfolio posts and LinkedIn, the instructions for LinkedIn (plain text,

Read more
PHP

Tenant-Aware Asset URLs in devlog-ist/landing

Introduction

When building multi-tenant applications, serving assets correctly across different subdomains can be tricky. This post explores how devlog-ist/landing addresses this challenge by ensuring asset URLs respect tenant subdomains.

The Problem: Incorrect Asset URLs

In a multi-tenant setup where each tenant has its own subdomain, generating asset URLs using

Read more

Streamlining Content Generation: Separating Concerns for Enhanced Maintainability

This post details a recent refactoring effort within the devlog-ist/landing project, focusing on improvements to content generation workflows. By separating concerns and enhancing the user interface, we've aimed to create a more maintainable and user-friendly experience.

The Challenge

Previously, the logic for generating content, particularly for platforms like LinkedIn, was tightly

Read more
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
PHP

Improving Content Generation with Contextual LinkedIn Prompts

Introduction

The devlog-ist/landing project focuses on streamlining content creation. A recent enhancement ensures that when generating content, especially for platforms like LinkedIn, the appropriate prompts and examples are included to tailor the output effectively.

The Problem

Previously, the content generation process within the PostResource's generate_with_prompt action had a

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