Latest Updates

Documenting code, one commit at a time.

JavaScript 10 posts
×

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 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
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
JavaScript

Enhancing User Engagement with a Referral Earnings Dashboard

Motivating users to actively participate in referral programs is key to driving growth. A well-designed dashboard widget can significantly increase engagement by providing clear visibility into commission terms, earnings summaries, and accessible sharing options.

The Power of Visual Incentives

Displaying a user's potential earnings and making it easy to share their referral link directly

Read more
JavaScript

Enhancing Our Content Generation Process with Randomization

Streamlining Content Creation

We've recently enhanced our content generation process by introducing a 'random mode' to our manual post generator. This feature aims to accelerate content creation and reduce repetitive tasks. The primary goal is to automate the selection of post examples and prompts, thereby enabling faster and more varied content output.

Random Mode Implementation

Read more

Enhancing AI Auditability Through Structured Summaries

Improving the auditability of AI interactions is crucial for maintaining security and control. A recent update focuses on preventing the exposure of raw code to AI models, enhancing data security, and providing better insights into flagged code changes.

The Challenge of Raw Diffs

Previously, raw git diffs were sent to AI models for analysis. This approach, while providing detailed context,

Read more
Python JavaScript

Adding a Safe Mode and Improving Code Generation

This post discusses recent improvements to our application, focusing on enhanced security measures and smarter code generation capabilities.

Safe Mode Implementation

We've introduced a 'safe mode' feature, giving tenants more control over security audits during post generation. By default, safe mode is enabled, ensuring all generated content undergoes a thorough security check.

Read more