Latest Updates

Documenting code, one commit at a time.

Laravel PHP OAuth

Limiting OAuth Providers in Laravel

Working on the devlog-ist/landing project, we're refining the authentication flow. The goal is to streamline user registration and login, particularly for non-developers who might be contributing recommendations. We've adjusted the available OAuth providers to match user roles.

Previously, both GitHub and LinkedIn were presented as default options on the login and registration pages.

Read more
PHP Laravel OAuth

Enhancing User Security in Laravel OAuth Implementations

OAuth provides a streamlined approach to user authentication, but it's crucial to implement security measures that protect user data and prevent unauthorized access. A common scenario involves social login, where users authenticate via third-party providers like GitHub or LinkedIn.

The Problem: Unregistered Users and Automatic Registration

A potential vulnerability arises when users not yet

Read more
CSS

Improving Sidebar Header Behavior with CSS Sticky Positioning

Addressing layout issues is a common task in web development. One frequent problem is ensuring that headers, particularly in sidebars, remain visible even when the user scrolls down the page. This post details how to resolve a scenario where a sidebar header was being cut off during scrolling by implementing CSS sticky positioning.

The Problem: Header Scroll Cutoff

The original

Read more
CSS HTML JavaScript

Adapting UI Components for Themeable Applications

This post delves into a practical approach for creating flexible UI components that seamlessly adapt to various themes within an application. We'll explore how to avoid hardcoded styles and instead leverage style variables to ensure consistent visual appearance across different themes.

The Problem: Hardcoded Styles

In many applications, UI components are initially developed with a specific

Read more

Streamlining User Onboarding: Integrating LinkedIn Login for Enhanced Recommendation Flows

Introduction

We've recently enhanced the user experience within our application by integrating LinkedIn login and registration, specifically aimed at simplifying the recommendation flow. This post details the changes and the reasoning behind them.

Key Improvements

Simplified Registration and Login

Previously, recommenders needed a GitHub account, which added friction to the process.

Read more
CSS

Enhancing Video Calls with Custom Backgrounds

In today's environment, video calls have become a staple for communication. To enhance the user experience and provide a more personalized touch, we've added custom background assets for popular video conferencing platforms like Zoom and Meet.

Design and Branding

The custom backgrounds feature a neo-brutalist design incorporating the project's brand colors, logo, and the IBM Plex Mono

Read more
HTML CSS

Elevating Video Calls with Custom Background Assets

In today's remote work landscape, video calls have become a ubiquitous part of our daily routines. To enhance the visual appeal and branding consistency of our video meetings, we've introduced custom background assets.

The Need for Customization

Generic backgrounds can be distracting or lack a professional touch. By providing tailored background images, we aim to:

  • Reinforce brand
Read more

Enhancing GitHub OAuth Flow: Preserving User Permissions

Introduction

This article discusses a common issue in applications using GitHub OAuth for authentication: inadvertently overwriting a user's existing token with one that has fewer permissions. We'll explore how to ensure the application preserves the user's original, broader-scoped token when requesting narrower scopes during subsequent logins.

The Problem

Many applications use GitHub

Read more
HTML JavaScript CSS

Simplifying User Onboarding: Consolidating CTAs into a Single Registration Button

In user interface design, a common challenge is guiding users towards key actions without overwhelming them with options. A recent update to our application's /earn page focused on streamlining the initial user experience by replacing multiple call-to-action (CTA) buttons with a single, unified registration button.

The Problem with Multiple CTAs

Having separate buttons for "Login" and

Read more

Enhancing Theme Preview Performance

Introduction

This post discusses recent improvements made to the theme preview functionality in our application. The focus was on optimizing the user experience by reducing the preview size and removing unnecessary UI elements.

Theme Preview Optimization

A key area of improvement was reducing the size of the theme preview. A smaller preview renders faster, especially on devices with

Read more