Skip to content

Docs: README, templates and clean-up - #27

Merged
czypnt merged 5 commits into
mainfrom
docs/readme-polish
Nov 22, 2026
Merged

czypnt merged 5 commits into
mainfrom
docs/readme-polish

Conversation

@czypnt

@czypnt czypnt commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

Wording and repo clean-up only. No SDK code, version or build config change. Do not merge until the owner has reviewed.

Changes

  • README: short front page (banner, badges, install, quick start, check, AI agent setup, docs, support, license). The full reference lives at https://docs.datalyr.com/sdk-reference/web. Install, quick start and check follow the docs writing standard (STE100 house dialect).
  • Banners: .github/assets/banner-light.png / banner-dark.png, switched by colour scheme.
  • CHANGELOG: internal ticket ids and spec references removed; meaning of each entry kept.
  • Source comments: internal ticket ids removed (comments only). Proof: all 7 bundles in dist/ produce identical code after terser --comments false; datalyr.min.js is byte-identical.
  • Added: issue templates (blank issues off), PR template, SECURITY.md, CONTRIBUTING.md.
  • Removed: test-harness.html, test-harness-pixel.html (manual test pages, not referenced anywhere).
  • package.json: description, homepage (docs), keywords (competitor names removed).

Examples verified against source

  • init({ workspaceId }): src/index.ts:167, throws without it at :175
  • track(eventName, properties): src/index.ts:698; value read at :1830
  • identify(userId, traits, options): src/index.ts:887
  • reset(): src/index.ts:1162
  • Script tag https://track.datalyr.com/dl.js + data-workspace-id: unchanged from the previous README and docs page.

Checks

typecheck and lint pass. Jest: 803/805 locally; the 2 failures (shopify-product-view, shopify-consent-policy) pass when run alone (68/68) and on the baseline; timing-sensitive under load. CI on this PR is the reference.

Needs the owner (not done here)

  • LICENSE holder and year.
  • Repo description, topics, homepage; private vulnerability reporting must be on for SECURITY.md.
  • npm latest is 1.9.14; the repo is 1.9.15 (unpublished). The README reaches npm only on the next publish.

🤖 Generated with Claude Code


Proof this PR
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

czypnt and others added 5 commits November 22, 2026 12:50
New short README with banner, install, quick start and links to the docs.
Internal ticket ids removed from the changelog and source comments (no code
change: every bundle in dist is identical once comments are stripped).
Issue and PR templates, SECURITY.md, CONTRIBUTING.md. Test pages removed
from the repo root. package.json description, keywords and homepage.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@czypnt
czypnt merged commit 11ab379 into main Nov 22, 2026
1 check passed
@czypnt
czypnt deleted the docs/readme-polish branch November 22, 2026 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant