Repository navigation
fix(site): align homepage/gateway text with sibling repos; remove all em/en dashes - #16
Merged
Merged
Conversation
… em/en dashes - sync_org_catalog.py: resolve versions from assessment-manifest.json, then root VERSION file, then releases/tags (was: draft default), and deep-sanitize U+2014/U+2013 out of all generated registry text before hashing - registry regenerated: maturity-model-standard v1.0.1, dea-catalog-maturity-models v1.1.0-alpha, maturity-model-template v0.1.0 - homepage cards corrected: DT Operationalized v2.0.1, Operations v3.0.0 with 9 dimensions, component package list (4), dimension names aligned to manifests - hero inspector now shows the real assessment-manifest.json and a verbatim touchpoints.yaml excerpt instead of fabricated samples - scale callout aligned to canonical dea:maturity-bands-v2: L-1..L-5 labels, effort multipliers 1.0/1.5/2.5/4.0/6.0; site copy unified on L-1..L-5 with L-0 as the Not Assessed sentinel - telemetry no-JS fallback 26 -> 44 seams (25 touchpoints + 19 handshakes) - all 157 em/en dashes across 31 tracked files replaced with plain hyphens - new scripts/lint-site-text.mjs guard (dash scan + portfolio-card/telemetry facts vs registry) wired into validate-homepage, gateway-validation, deploy Co-authored-by: emmanuel-a-otchere <emmanuel-a-otchere@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes the drift between https://assessment-models.github.io/ and the underlying
Assessment-Models/*repos (plustechnehub-labs/dea-metamodel), and enforces the no-em/en-dash style rule site-wide.Gaps found (site vs. repos)
assets/js/ecosystem.jswere stale: DT Operationalized showedv1.0.1(repo: v2.0.1), Operations showedv2.0.0/ "6 dimensions" (repo: v3.0.0, 9 dimensions),maturity-model-standardshowedv0.1.0-draft(repoVERSION: 1.0.1),maturity-model-templatev0.1.0-draft(VERSION: 0.1.0),dea-catalog-maturity-modelsin the registryv0.1.0-draft(VERSION: 1.1.0-alpha).scripts/sync_org_catalog.py: version resolution used only releases/tags and defaulted tov0.1.0-draft, never reading the repoVERSIONfile. Fixed: manifest -> VERSION file -> releases/tags.assessment-manifest.json(keysorg/repo/model_id/imported_componentsdo not exist in the real file). Now shows the real manifest verbatim, and the touchpoint tab shows a verbatimtouchpoints.yamlexcerpt.dea:maturity-bands-v2(technehub-labs/dea-metamodel@v1.0.0): gates were labeled L-0..L-4 with effort multipliers 1.0/1.15/1.35/1.6/1.85; canonical is L-1..L-5 with 1.0/1.5/2.5/4.0/6.0. Fixed; all site copy unified on "L-1..L-5, L-0 = Not Assessed sentinel" (dea-metamodel issue #214).index.htmland the JS fallback.Changes
scripts/sync_org_catalog.py: VERSION-file resolution +deep_sanitizeof all published strings before hashing.data/ecosystem-registry.json+public/data/...: regenerated (versions above, dash-free, hash/timestamp recomputed).index.html,assets/js/ecosystem.js,gateway/assets/js/metro-graph.js,src/ui/persona.ts,src/ui/walkthrough.ts,src/views/catalog.ts: corrected copy (versions, dimension counts/names, real manifest sample, canonical scale callout, L-1..L-5 wording, 4 component packages, telemetry fallback).scripts/lint-site-text.mjs: fails CI on any U+2014/U+2013 in tracked files, on portfolio-card versions that drift fromdata/ecosystem-registry.json, and on stale telemetry fallbacks. Wired intovalidate-homepage.yml,gateway-validation.yml, anddeploy.yml.Verification
node scripts/lint-site-text.mjs-> OK (0 dashes; cards/fallbacks match registry).git/node_modulesnpx tsc --noEmit-> clean;npm test-> engine tests passed;npm run build:site-> builtschema/ecosystem-registry.schema.jsongithub.com/{owner}/{repo}link inindex.html/ecosystem.jsverified to exist viagh repo viewsync_org_catalog.pywill run normally in CI withGITHUB_TOKEN.