Skip to content

Instantly share code, notes, and snippets.

@azizpunjani
azizpunjani / SMARTPAGES_AI_READINESS_PLAN.md
Last active February 6, 2026 22:13
SmartPages AI Readiness Plan - Technical evaluation and implementation strategy

SmartPages AI Readiness Plan

Executive Summary

This document outlines a technical evaluation and implementation plan for making SmartPages "AI Ready" based on the requirements in the AI Readiness Evaluation document. After deep analysis of the codebase, I've identified the current state, gaps, and a phased approach to achieve AI-native content creation and transformation.

Recommendation: Incremental Refactor - The existing architecture has solid foundations that can be extended for AI-first workflows without a full platform migration.


@azizpunjani
azizpunjani / ai-text-transform-analysis-v2.md
Last active February 6, 2026 22:17
AI Text Transform - Implementation Analysis (streaming, patterns, recommendations) - Updated

AI Text Transform - Architecture Decision

Overview

Implement AI text refinement features (shorten, elaborate, professional) for SmartPages/Lexical editor.


The Problem

@azizpunjani
azizpunjani / ai-text-transform-analysis.md
Created February 5, 2026 14:46
AI Text Transform - Implementation Analysis (streaming, patterns, recommendations)

AI Text Transform - Implementation Analysis

Overview

Analysis of implementing the AI Text Transform feature for Highspot, including streaming capabilities.

Based on the original technical design gist.


@azizpunjani
azizpunjani / nutella-66718-analysis.md
Created February 4, 2026 18:30
PR 66718 Analysis: UAT Send Activities on Visibility Change
@azizpunjani
azizpunjani / referrer-header-implementation.md
Last active February 2, 2026 21:58
SmartPages Referrer Header Implementation Summary

SmartPages Referrer Header Implementation Summary

Problem

Customer wants referrer headers sent when links are clicked in SmartPages/Digital Rooms. Currently, rel="noreferrer" prevents this in some blocks.


Block Analysis

Blocks That ADD noreferrer (Need Changes)

@azizpunjani
azizpunjani / ai-text-transform-tech-design.md
Last active February 2, 2026 17:16
AI Text Transform - Technical Design

AI Text Transform - Technical Design

Overview

A set of reusable AI text transformation tools that any team at Highspot can integrate into their feature.


Goals

@azizpunjani
azizpunjani / ai-text-transform-tech-design.md
Last active January 30, 2026 16:00
AI Text Transform - Technical Design

AI Text Transform - Technical Design

Overview

A set of reusable AI text transformation tools that any team at Highspot can integrate into their feature.


Goals

@azizpunjani
azizpunjani / payload.json
Created February 22, 2024 23:07
PUT payload to set view state
{
"pagedesigner": {
"create": true,
"pageDesign": {
"settings": {
"pitch": {
"items": [],
"content_blocks": []
},
"kind": "DigitalRoom"
@azizpunjani
azizpunjani / answers.sql
Last active October 15, 2016 16:36
Answers
#List the names and total profit for all salespeople who have orders with customers in IL
SELECT
sp.name, SUM(o.profit) as Profit
FROM
salespeople AS sp
INNER JOIN
orders AS o ON sp.id = o.salesperson_id
INNER JOIN
customers AS c ON c.id = o.cust_id
WHERE
@azizpunjani
azizpunjani / component.js
Last active July 26, 2016 17:56
Component format
const propTypes = {
...
}
const defaultProps = {
...
}
export default function MyComponent() {