Latest Updates

Documenting code, one commit at a time.

JSON PHP 10 posts
×

Refactoring PostgreSQL Dashboard Functions in Reimpact/platform

The Reimpact/platform project is focused on [description]. Recent work has concentrated on improving the reliability and accuracy of PostgreSQL dashboard functions. A key area of focus was addressing data type mismatches and sequence issues that could lead to errors and inconsistencies in the displayed data.

The Problem

One specific issue involved the product_ranking function, where a

Read more

Don't Wake Me Up: Scheduled Reminders for Mentorship Sessions

The landing project focuses on creating a user-friendly experience. A new feature has been added to send timely reminders for scheduled mentorship sessions.

The Goal: Prompt and Prepared Participants

The primary goal of this feature is to ensure that both mentors and mentees are well-prepared and punctual for their scheduled sessions. Automated email reminders, delivered 24 hours and 1 hour

Read more
PHP

Theming Mentorship Pages with Query Parameters in Landing

Introduction

The landing project aims to provide a consistent and engaging user experience. A new feature adds the ability to preview different themes on the mentorship page using a simple query parameter, mirroring the functionality already present on portfolio pages. This allows for rapid iteration and testing of various visual styles.

Implementation

The core of this feature involves

Read more
PHP HTML Email

Improving Email Template Rendering and Campaign Layouts

Introduction

The devlog-ist/landing project recently addressed a couple of key issues in its email functionality: a mismatch in email template placeholder syntax and the lack of a consistent layout for campaign emails. These fixes ensure more reliable and visually appealing email communications.

The Problem

Two primary problems were identified:

  1. **Inconsistent Template
Read more

Timezone Conversions in Web Applications: A Practical Approach

Handling timezones correctly can be a major headache in web development. Getting it wrong leads to confusing user experiences and potential data inconsistencies. Let's explore a practical approach to displaying times in the user's timezone, focusing on a recent update to the landing project.

The Problem: Server Time vs. User Time

Web applications often store times in a single timezone

Read more

Improving User Experience: Copying Mentorship Links on Share

Introduction

In the ongoing development of the landing project, a key focus is to enhance user experience and streamline interactions. A recent improvement targets the share functionality, specifically for mentorship links. The goal is to make sharing links easier and more intuitive for users.

The Problem: Manual Copying

Previously, sharing a mentorship link required users to manually

Read more
PHP

Fixing Portfolio CV Generation in Landing Project

The landing project focuses on creating a smooth user experience for generating portfolios.

The Problem

The portfolio CV generation process was failing due to two key issues:

  1. The role_name field, required by the backend validation, was not being sent from the portfolio modal.
  2. The Accept header was incorrectly set to application/pdf instead of application/json.
Read more

Improving File Handling in Landing: A Move from Streaming to Storage

The landing project focuses on creating engaging landing page experiences. Recently, we tackled an issue with generating and serving CV files, specifically DOCX files. The initial approach of streaming the generated file directly to the user via php://output was causing file corruption issues. This post details the problem and the solution we implemented.

The Problem: Corrupted DOCX Files

Read more

Targeted Campaigns: Country-Based Filtering

The devlog-ist/landing project focuses on creating effective landing pages and user onboarding flows. A recent feature addition enables country-specific targeting for email campaigns, leveraging country detection during user onboarding to improve campaign relevance.

The Problem

Previously, email campaigns were broadcast to all users, regardless of their location.

Read more