Skip to content

Feat/service details content - #54

Merged
HaritMT25 merged 3 commits into
mainfrom
feat/service-details-content
Aug 18, 2026
Merged

Feat/service details content#54
HaritMT25 merged 3 commits into
mainfrom
feat/service-details-content

Conversation

@HaritMT25

Copy link
Copy Markdown
Collaborator

No description provided.

load_service_details() held one cached value for the whole process, so the path argument was ignored after the first call and whichever caller ran first fixed the value for everyone. The cache is now keyed by path: a different path reads fresh, the default path still memoises. Caught by the missing-file test, which had been passing only while the real file happened to be empty.
list_org_subcats.R prints the sub-keys an organization's wheel actually renders, derived from org_subcat_keys() rather than read off the spreadsheet, since the rendered set depends on label matching and established-state gating. merge_service_details.R combines one JSON file per organization into the single file the app reads, validating sub-keys against the taxonomy and rejecting unknown dimensions, over-long text, duplicate organizations and filename/id mismatches, refusing to write on any problem. It also normalises the fragment form a coding chat emits, plus markdown fences, trailing commas and BOMs.
One authored JSON file per organization under data/service_details/, merged into data/service_details.json by R/scripts/merge_service_details.R.
@HaritMT25
HaritMT25 force-pushed the feat/service-details-content branch from 5e0a683 to 58e93d1 Compare August 18, 2026 03:42
@HaritMT25
HaritMT25 merged commit e245b03 into main Aug 18, 2026
1 check passed
@HaritMT25
HaritMT25 deleted the feat/service-details-content branch August 18, 2026 03:43
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