Skip to content

Instantly share code, notes, and snippets.

View alexlazarian's full-sized avatar

Alex L. alexlazarian

View GitHub Profile
@alexlazarian
alexlazarian / placeholder.md
Created February 2, 2026 16:13
GitDiffSearch assets

Demo assets for GitDiffSearch VS Code extension

@alexlazarian
alexlazarian / jus-1204-select-editor-migration-scope.md
Created May 4, 2026 16:38
JUS-1204 Select Editor Migration — Scope Document (2026-04-29)

Select Editor Migration Scope (JUS-1204 follow-up)

Date: 2026-04-29 Scope: Migrate the Select domain (domains/select/rails/bid, rails/launchpad, rails/messaging, gems/messaging_connector) from TinyMCE v7/v8 (@tinymce/tinymce-react + tinymce) onto the shared RichTextEditor from @justicebid/jb-ui (Tiptap v3) — the same editor the Rate Review portal now uses. Out of scope: Schema/column changes; backend API contract changes; sanitizer allow-list expansion or contraction (we will only adjust sanitizers when the existing list strictly forbids something the shared editor produces); ActionMailer/HTML email pipeline rewrites (introducing inline-style post-processing is a separate project); migration of any surface whose render path is fundamentally incompatible with React-bundle-only stylesheet flow until that path is independently fixed; release strategy, soak windows, Sentry baselines, or feature-flag rollouts. Status: scoping document — not implementation.

Overview

Select ha

@alexlazarian
alexlazarian / jus-1204-status-2026-05-01.md
Created May 4, 2026 16:38
JUS-1204 Select Editor Migration — Status (2026-05-01)

JUS-1204 — Select editor migration: checkpoint 1

Date: 2026-05-01 Branch: alexlazarian/JUS-1204-followup-select (off main) Status: 5 of 15 surfaces migrated. Launchpad fully done at code level. Ready for browser verification.

What landed

Three commits on the branch:

@alexlazarian
alexlazarian / jus-1204-verification-checklist-2026-05-01.md
Created May 4, 2026 16:38
JUS-1204 Select Editor Migration — Verification Checklist (2026-05-01)

JUS-1204 Verification Checklist — Tiptap Migration

Date: 2026-05-01 Branch: alexlazarian/JUS-1204-followup-select Scope: Confirm the TinyMCE → Tiptap migration introduces no user-visible regressions across the Select domain (15 editor surfaces, the shared message-form gem, the bidder text-answer flow, three Rails apps, and three email templates).

The plan is split into two phases. Before merge is everything a person on a dev laptop with the local stack running can confirm (build, click-through, dev mail-catcher). After deploy is everything that needs the staging environment, real mail clients, real production-shape data, or a longer soak window.

Tick a checkbox only when you have personally observed the expected behaviour or output. If a check is non-applicable (e.g. you have no permissions on a particular surface), strike it through with a note rather than ticking it.

@alexlazarian
alexlazarian / 00-REPORT.md
Last active May 5, 2026 05:30
JUS-1204 Tiptap migration: PRE vs POST verification + DB round-trip findings

JUS-1204 — TinyMCE → Tiptap migration verification report

Captured: 2026-05-04 PR: #630 — Modernization of bid /setup/ pages PRE worktree: .worktrees/jus-1204-pre @ origin/main (15d626697d) POST branch: alexlazarian/JUS-1204-followup-select (HEAD)


TL;DR

@alexlazarian
alexlazarian / diffly-cockpit-setup.md
Last active May 5, 2026 05:49
Diffly Reviewer Cockpit — schema + setup prompt for .diffly/findings.json

Diffly Reviewer Cockpit — Setup Guide

Diffly is a VS Code extension for reviewing git diffs. The Reviewer's Cockpit turns AI-generated review findings into a triageable workflow inside the panel: per-finding Agree / Disagree / Dismiss / Asked chips, an "Ask Author" list of absences (missing tests, missing rate limits, etc.), a suggested review order, and a one-click batched GitHub review post.

The cockpit is driven by a single file at the repo root: .diffly/findings.json. Diffly's file watcher picks up changes automatically — no reload needed.

This gist documents the JSON schema, the prompt for generating it with any coding agent, and a few examples.


@alexlazarian
alexlazarian / clu-470-hotfix-1-before.md
Last active May 6, 2026 19:58
CLU-470 hotfix-1: Law firm Fee % validation blocks edits when total != 100% (before screenshot)

CLU-470 hotfix-1 — Law Firm edit blocked when fee % sum != 100

QA report

the current hard validation requiring Fee % to sum to exactly 100% is blocking us from making any edits or adding new law firms. even with Law Firm Admin and Tekmir Admin permissions, the system triggers a "Failed to update law firm" error because the total doesn't hit 100% mid-edit.

Issue

@alexlazarian
alexlazarian / pricing-matrix-extraction.md
Created May 9, 2026 02:49
PricingMatrix component extraction: a diagram-driven walkthrough

PricingMatrix Component Extraction: A Diagram-Driven Walkthrough


Act 1 — The problem: everything tangled in one place

graph TD
    subgraph BID["select-bid — one monolithic matrix module"]
        MT["MatrixTable\nentry point"]