Skip to content

Instantly share code, notes, and snippets.

@eins78
eins78 / 2026-03-09-quacds-894-validate-refactoring-gist.md
Last active March 9, 2026 11:20
QUACDS-894: Validation demo — LandingPagePage isolates VP landing pages from ProductPagePage theme changes

QUACDS-894: Validate LandingPagePage Refactoring

2026-03-09 — PR #299

What changed

We refactored VpStarterBranchPage and EnterpriseIndustryTemplate to use a new LandingPagePage template instead of ProductPagePage. This isolates VP landing pages from future Quatico theming changes to ProductPagePage.

Validation

Barrel Exports + Shortest Valid Import Codemod

2026-03-06 by Showboat

What changed

PR #846 (CDSTLZ-193-esm) migrates webbloqs to native ESM with nodenext module resolution. Consumer repo audits revealed that @webbloqs/react has 9 flat files at src/ root (i18n, models, validation, etc.) imported 518+ times across ewz repos — but with no explicit barrel exports. Under strict ESM, these require .js extensions.

@eins78
eins78 / bb-source-batch3-demo.md
Created March 3, 2026 08:44
bb CLI — source command renames + source diff

bb CLI — source command renames + source diff

Renamed listing commands to plural, reworked commits for dual mode, merged diffstat into diff --stat.

Before After
source branch source branches
source tag source tags
source commit [ref] source commits [ref] (list mode) / source commits <sha> (detail)
source diffstat <spec> source diff <spec> / source diff <spec> --stat
@eins78
eins78 / 2026-03-02-pre-commit-hooks.md
Created March 2, 2026 18:56
Pre-commit hook improvements: speed + CI parity

Pre-Commit Hook Improvements: Speed + CI Parity

2026-03-02T18:53:55Z by Showboat 0.6.1

What Changed

The pre-commit hook was slow (~45s) and incomplete (prettier gaps vs CI). This commit:

  1. Targeted typecheck — only checks packages affected by staged TS files (uses cross-package dependency graph)
@eins78
eins78 / bb-source-batch2-demo.md
Created February 28, 2026 02:25
bb CLI batch 2 — pr diff/status/activity + source search/commit/diffstat

bb CLI — batch 2 demo

Commands added: pr diff, pr status, pr activity, source search, source commit, source diffstat

bb --help (updated)

$ bb --help
bb — Bitbucket Cloud CLI
@eins78
eins78 / 2026-02-27-fast-path-e2e-v2.md
Created February 27, 2026 13:06
E2E benchmark: websmith PR #109 + magellan PR #147 — transpileModule fast path (89.4s → 0.88s, 101x speedup)

E2E: transpileModule Fast Path v2 (websmith PR #109 + magellan PR #147)

2026-02-27T12:57:56Z by Showboat 0.6.1

What Changed

Two coordinated PRs optimize magellan compile --client in cpq-cds:

| PR | Repo | Branch | Changes |

@eins78
eins78 / 2026-02-23-storybook-scss-inline.md
Last active February 23, 2026 19:24
Storybook SCSS ?inline dual-mode loading — Build Verification

Storybook SCSS ?inline dual-mode loading — Build Verification

2026-02-23T19:04:07Z by Showboat 0.6.1

30 SCSS imports now use ?inline suffix. webpack.config.js uses shared loader module. Verifying production build still works.

npm run typecheck --prefix packages/client 2>&1

Fix: CSS Cache-Control Headers

Date: 2026-02-23 Branch: fix/cache-control-headersdevelop PR: #279

Problem

Static resources served with Cache-Control: no-cache, no-store, max-age=0, must-revalidate because custom ResourceHandler registrations never set cache headers, and Spring Security fills in aggressive defaults.