Skip to content

Commit d666c49

Browse files
committed
fix: Correct scenario data lookup and remove partner tour content
- Fix Nunjucks selectattr bug that caused all scenario pages to show LocalGov Drupal content instead of their own data - Add custom findScenarioById filter to properly lookup scenarios by ID - Remove partner-tour.njk page and related references - Remove demo video components and progress tracking (per user request) - Update NDX:Try URLs to correct paths - Restore step navigation in walkthrough sidebar
1 parent b6cf13a commit d666c49

64 files changed

Lines changed: 908 additions & 2868 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

_bmad-output/implementation-artifacts/tech-spec-ga4-implementation.md

Lines changed: 676 additions & 0 deletions
Large diffs are not rendered by default.

eleventy.config.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,14 @@ export default function(eleventyConfig) {
6060
eleventyConfig.addPassthroughCopy({ 'src/lib': 'lib' });
6161

6262
// Add custom filters
63+
64+
// Lookup scenario by ID from scenarios array
65+
// This replaces the broken selectattr filter
66+
eleventyConfig.addFilter('findScenarioById', (scenarios, id) => {
67+
if (!scenarios || !id) return null;
68+
return scenarios.find(s => s.id === id) || null;
69+
});
70+
6371
eleventyConfig.addFilter('capitalize', (str) => {
6472
if (!str) return '';
6573
return str.charAt(0).toUpperCase() + str.slice(1);

src/_data/errorMessages.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"userMessage": "Your AWS account doesn't have permission to create these resources.",
5252
"troubleshootingSteps": [
5353
"Check you're logged into the correct AWS account",
54-
"Verify your Innovation Sandbox has CloudFormation permissions",
54+
"Verify your NDX:Try session has CloudFormation permissions",
5555
"Contact your AWS administrator if permissions are restricted"
5656
],
5757
"supportLink": "/help/permissions-error"
@@ -83,7 +83,7 @@
8383
"userMessage": "You're not logged into AWS Console.",
8484
"troubleshootingSteps": [
8585
"Click the 'Check AWS Login' link on the deploy page",
86-
"Sign into your Innovation Sandbox account",
86+
"Sign into your NDX:Try session account",
8787
"Return to NDX:Try and try deploying again"
8888
],
8989
"supportLink": "/help/aws-login"
@@ -194,7 +194,7 @@
194194
"userMessage": "Your AWS session has expired.",
195195
"troubleshootingSteps": [
196196
"Sign out of AWS Console",
197-
"Sign back in with your Innovation Sandbox credentials",
197+
"Sign back in with your NDX:Try session credentials",
198198
"Return to NDX:Try and try deploying again"
199199
],
200200
"supportLink": "/help/aws-login"

src/_data/evidence-pack-sample.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ cto_evaluation:
5858

5959
technical_runbook:
6060
deployment_steps:
61-
- step: "Login to AWS Console with Innovation Sandbox credentials"
61+
- step: "Login to AWS Console with NDX:Try session credentials"
6262
time: "1 minute"
63-
- step: "Click 'Deploy to Innovation Sandbox' button from NDX:Try portal"
63+
- step: "Click 'Deploy to NDX:Try session' button from NDX:Try portal"
6464
time: "30 seconds"
6565
- step: "Review CloudFormation parameters (pre-configured)"
6666
time: "1 minute"
@@ -238,7 +238,7 @@ developer_evaluation:
238238
technical_runbook_summary:
239239
deployment:
240240
- "One-click CloudFormation deployment"
241-
- "Pre-configured parameters for Innovation Sandbox"
241+
- "Pre-configured parameters for NDX:Try session"
242242
- "Automatic IAM role creation with least privilege"
243243
- "3-5 minute deployment time"
244244

@@ -267,7 +267,7 @@ evaluation_summary:
267267
- "Impressive natural language understanding"
268268
- "Cost-effective compared to current call center operations"
269269
- "Scalable architecture that can grow with demand"
270-
- "Innovation Sandbox made evaluation safe and low-risk"
270+
- "NDX:Try session made evaluation safe and low-risk"
271271

272272
weaknesses:
273273
- "Initial setup requires AWS account and basic understanding"

src/_data/phaseConfig.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ phases:
1111
optional: false
1212
fork: false
1313
icon: "rocket"
14-
description: "Deploy the demo to your Innovation Sandbox and experience it working"
14+
description: "Request a session via NDX:Try and experience it working"
1515

1616
- id: walkthrough
1717
label: "WALK THROUGH"
@@ -129,7 +129,7 @@ transitionMessages:
129129
parallelEntry:
130130
missingTryPhase:
131131
title: "Start from the beginning"
132-
message: "To get the full experience, start by deploying the demo to your Innovation Sandbox."
132+
message: "To get the full experience, start by requesting a session via NDX:Try."
133133
cta: "Go to Deploy"
134134
allowBypass: true
135135
bypassText: "Continue without deployment (screenshots only)"

src/_data/quicksight-sample-data.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -793,7 +793,7 @@ committeeLanguage:
793793
phase1:
794794
title: "Pilot (Month 1-2)"
795795
activities:
796-
- "Deploy QuickSight via AWS Innovation Sandbox (this walkthrough)"
796+
- "Deploy QuickSight via NDX:Try (this walkthrough)"
797797
- "Create dashboard for 2 services (Waste Collection, Housing Requests)"
798798
- "Onboard 5 pilot users (2 service managers, 2 officers, 1 analyst)"
799799
- "Gather feedback on usability, accuracy, and usefulness"
@@ -821,7 +821,7 @@ committeeLanguage:
821821
cost: "£360 (10 users × £18/month × 2 months)"
822822

823823
nextSteps:
824-
- "Complete this AWS Innovation Sandbox walkthrough (10 minutes)"
824+
- "Complete this NDX:Try walkthrough (10 minutes)"
825825
- "Present findings to IT and Service Delivery teams"
826826
- "Prepare business case for Finance committee (template available)"
827827
- "Secure approval for 2-month pilot (£450 budget)"

src/_data/scenarios.yaml

Lines changed: 20 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ scenarios:
1818
- "council-chatbot"
1919
- "text-to-speech"
2020
- "foi-redaction"
21-
securitySummary: "Innovation Sandbox isolated - safe to experiment with full data protection"
21+
securitySummary: "NDX:Try session isolated - safe to experiment with full data protection"
2222
skillsLearned:
2323
- "Amazon Bedrock"
2424
- "Amazon Polly"
@@ -50,7 +50,7 @@ scenarios:
5050
- "Simplify content to plain English with one click"
5151
- "Generate unique council identities for engaging demos"
5252
prerequisites:
53-
- "AWS account (sandbox provided)"
53+
- "AWS account (provided via NDX:Try)"
5454
- "No technical expertise required"
5555
url: "/scenarios/localgov-drupal/"
5656
order: 1
@@ -90,10 +90,6 @@ scenarios:
9090
description: "Drupal admin password"
9191
- name: "CloudWatchLogsUrl"
9292
description: "CloudWatch Logs for monitoring"
93-
video:
94-
title: "LocalGov Drupal AI Demo Walkthrough"
95-
duration: "12:00"
96-
recordedDate: "2025-01-15"
9793
screenshots:
9894
steps: []
9995
success_metrics:
@@ -248,7 +244,7 @@ scenarios:
248244
relatedScenarios:
249245
- "text-to-speech"
250246
- "quicksight-dashboard"
251-
securitySummary: "Innovation Sandbox isolated - safe to experiment with full data protection"
247+
securitySummary: "NDX:Try session isolated - safe to experiment with full data protection"
252248
skillsLearned:
253249
- "Amazon Bedrock"
254250
- "Conversational AI"
@@ -270,7 +266,7 @@ scenarios:
270266
- "Provide 24/7 resident support without additional staffing"
271267
- "Improve resident satisfaction with instant responses"
272268
prerequisites:
273-
- "AWS account (sandbox provided)"
269+
- "AWS account (provided via NDX:Try)"
274270
- "No technical expertise required"
275271
url: "/scenarios/council-chatbot/"
276272
order: 2
@@ -284,7 +280,7 @@ scenarios:
284280
parameters:
285281
- name: "Environment"
286282
value: "sandbox"
287-
description: "Deployment environment (sandbox for Innovation Sandbox)"
283+
description: "Deployment environment (NDX:Try session)"
288284
- name: "AutoCleanupHours"
289285
value: "2"
290286
description: "Hours until automatic resource cleanup"
@@ -312,13 +308,6 @@ scenarios:
312308
description: "Web interface URL to interact with the chatbot"
313309
- name: "LexBotId"
314310
description: "Amazon Lex bot identifier for API integration"
315-
# Demo Video (Story 2.4 - Zero-Deployment Path)
316-
video:
317-
title: "Council Chatbot Demo Walkthrough"
318-
duration: "7:30"
319-
recordedDate: "2025-01-15"
320-
# youtubeId will be added when video is recorded
321-
# Placeholder shows "Coming Soon" message
322311
# Screenshot Walkthrough (Story 2.5 - Zero-Deployment Path)
323312
screenshots:
324313
# steps array will be populated when screenshots are captured
@@ -392,7 +381,7 @@ scenarios:
392381
relatedScenarios:
393382
- "foi-redaction"
394383
- "quicksight-dashboard"
395-
securitySummary: "Innovation Sandbox isolated - sample data only, no live documents"
384+
securitySummary: "NDX:Try session isolated - sample data only, no live documents"
396385
skillsLearned:
397386
- "Amazon Textract"
398387
- "Amazon Comprehend"
@@ -415,7 +404,7 @@ scenarios:
415404
- "Improve consistency in policy application"
416405
- "Free up planning officers for complex cases"
417406
prerequisites:
418-
- "AWS account (sandbox provided)"
407+
- "AWS account (provided via NDX:Try)"
419408
- "Sample planning documents provided"
420409
url: "/scenarios/planning-ai/"
421410
order: 3
@@ -429,7 +418,7 @@ scenarios:
429418
parameters:
430419
- name: "Environment"
431420
value: "sandbox"
432-
description: "Deployment environment (sandbox for Innovation Sandbox)"
421+
description: "Deployment environment (NDX:Try session)"
433422
- name: "AutoCleanupHours"
434423
value: "2"
435424
description: "Hours until automatic resource cleanup"
@@ -458,12 +447,6 @@ scenarios:
458447
description: "S3 presigned URL endpoint for document upload"
459448
- name: "ResultsURL"
460449
description: "API endpoint to retrieve analysis results"
461-
# Demo Video (Story 2.4 - Zero-Deployment Path)
462-
video:
463-
title: "Planning Application AI Demo Walkthrough"
464-
duration: "9:45"
465-
recordedDate: "2025-01-15"
466-
# youtubeId will be added when video is recorded
467450
# Screenshot Walkthrough (Story 2.5 - Zero-Deployment Path)
468451
screenshots:
469452
steps: []
@@ -536,7 +519,7 @@ scenarios:
536519
relatedScenarios:
537520
- "planning-ai"
538521
- "council-chatbot"
539-
securitySummary: "Innovation Sandbox isolated - uses synthetic sample data only"
522+
securitySummary: "NDX:Try session isolated - uses synthetic sample data only"
540523
skillsLearned:
541524
- "Amazon Comprehend"
542525
- "Entity Recognition"
@@ -558,7 +541,7 @@ scenarios:
558541
- "Ensure consistent redaction standards"
559542
- "Reduce risk of accidental data disclosure"
560543
prerequisites:
561-
- "AWS account (sandbox provided)"
544+
- "AWS account (provided via NDX:Try)"
562545
- "Sample documents provided"
563546
url: "/scenarios/foi-redaction/"
564547
order: 4
@@ -572,7 +555,7 @@ scenarios:
572555
parameters:
573556
- name: "Environment"
574557
value: "sandbox"
575-
description: "Deployment environment (sandbox for Innovation Sandbox)"
558+
description: "Deployment environment (NDX:Try session)"
576559
- name: "AutoCleanupHours"
577560
value: "2"
578561
description: "Hours until automatic resource cleanup"
@@ -600,12 +583,6 @@ scenarios:
600583
description: "Document upload endpoint"
601584
- name: "RedactedURL"
602585
description: "Redacted document download location"
603-
# Demo Video (Story 2.4 - Zero-Deployment Path)
604-
video:
605-
title: "FOI Redaction Demo Walkthrough"
606-
duration: "8:15"
607-
recordedDate: "2025-01-15"
608-
# youtubeId will be added when video is recorded
609586
# Screenshot Walkthrough (Story 2.5 - Zero-Deployment Path)
610587
screenshots:
611588
steps: []
@@ -677,7 +654,7 @@ scenarios:
677654
relatedScenarios:
678655
- "quicksight-dashboard"
679656
- "council-chatbot"
680-
securitySummary: "Innovation Sandbox isolated - simulated IoT data, no real sensors"
657+
securitySummary: "NDX:Try session isolated - simulated IoT data, no real sensors"
681658
skillsLearned:
682659
- "AWS IoT Core"
683660
- "Amazon Timestream"
@@ -700,7 +677,7 @@ scenarios:
700677
- "Optimise parking revenue with usage insights"
701678
- "Improve resident satisfaction with availability data"
702679
prerequisites:
703-
- "AWS account (sandbox provided)"
680+
- "AWS account (provided via NDX:Try)"
704681
- "Simulated sensor data provided"
705682
url: "/scenarios/smart-car-park/"
706683
order: 5
@@ -714,7 +691,7 @@ scenarios:
714691
parameters:
715692
- name: "Environment"
716693
value: "sandbox"
717-
description: "Deployment environment (sandbox for Innovation Sandbox)"
694+
description: "Deployment environment (NDX:Try session)"
718695
- name: "AutoCleanupHours"
719696
value: "2"
720697
description: "Hours until automatic resource cleanup"
@@ -748,12 +725,6 @@ scenarios:
748725
description: "QuickSight dashboard URL for parking visualisation"
749726
- name: "AvailabilityAPI"
750727
description: "Public API for real-time parking availability"
751-
# Demo Video (Story 2.4 - Zero-Deployment Path)
752-
video:
753-
title: "Smart Car Park IoT Demo Walkthrough"
754-
duration: "10:30"
755-
recordedDate: "2025-01-15"
756-
# youtubeId will be added when video is recorded
757728
# Screenshot Walkthrough (Story 2.5 - Zero-Deployment Path)
758729
screenshots:
759730
steps: []
@@ -825,7 +796,7 @@ scenarios:
825796
relatedScenarios:
826797
- "council-chatbot"
827798
- "foi-redaction"
828-
securitySummary: "Innovation Sandbox isolated - sample content only, no live data"
799+
securitySummary: "NDX:Try session isolated - sample content only, no live data"
829800
skillsLearned:
830801
- "Amazon Polly"
831802
- "Text-to-speech AI"
@@ -846,7 +817,7 @@ scenarios:
846817
- "Reach residents who prefer audio content"
847818
- "Reduce accessibility accommodation requests"
848819
prerequisites:
849-
- "AWS account (sandbox provided)"
820+
- "AWS account (provided via NDX:Try)"
850821
- "Sample text content provided"
851822
url: "/scenarios/text-to-speech/"
852823
order: 6
@@ -860,7 +831,7 @@ scenarios:
860831
parameters:
861832
- name: "Environment"
862833
value: "sandbox"
863-
description: "Deployment environment (sandbox for Innovation Sandbox)"
834+
description: "Deployment environment (NDX:Try session)"
864835
- name: "AutoCleanupHours"
865836
value: "2"
866837
description: "Hours until automatic resource cleanup"
@@ -891,12 +862,6 @@ scenarios:
891862
description: "Text-to-speech conversion API endpoint"
892863
- name: "AudioBucket"
893864
description: "S3 bucket URL for generated audio files"
894-
# Demo Video (Story 2.4 - Zero-Deployment Path)
895-
video:
896-
title: "Text to Speech Accessibility Demo Walkthrough"
897-
duration: "5:45"
898-
recordedDate: "2025-01-15"
899-
# youtubeId will be added when video is recorded
900865
# Screenshot Walkthrough (Story 2.5 - Zero-Deployment Path)
901866
screenshots:
902867
steps: []
@@ -969,7 +934,7 @@ scenarios:
969934
relatedScenarios:
970935
- "smart-car-park"
971936
- "planning-ai"
972-
securitySummary: "Innovation Sandbox isolated - sample council metrics only"
937+
securitySummary: "NDX:Try session isolated - sample council metrics only"
973938
skillsLearned:
974939
- "Amazon QuickSight"
975940
- "Data visualisation"
@@ -990,7 +955,7 @@ scenarios:
990955
- "Reduce time to generate performance reports"
991956
- "Provide leadership with real-time insights"
992957
prerequisites:
993-
- "AWS account (sandbox provided)"
958+
- "AWS account (provided via NDX:Try)"
994959
- "Sample council data provided"
995960
url: "/scenarios/quicksight-dashboard/"
996961
order: 7
@@ -1004,7 +969,7 @@ scenarios:
1004969
parameters:
1005970
- name: "Environment"
1006971
value: "sandbox"
1007-
description: "Deployment environment (sandbox for Innovation Sandbox)"
972+
description: "Deployment environment (NDX:Try session)"
1008973
- name: "AutoCleanupHours"
1009974
value: "2"
1010975
description: "Hours until automatic resource cleanup"
@@ -1034,12 +999,6 @@ scenarios:
1034999
description: "QuickSight dashboard URL for council metrics"
10351000
- name: "DatasetId"
10361001
description: "QuickSight dataset identifier"
1037-
# Demo Video (Story 2.4 - Zero-Deployment Path)
1038-
video:
1039-
title: "QuickSight Dashboard Analytics Demo Walkthrough"
1040-
duration: "8:00"
1041-
recordedDate: "2025-01-15"
1042-
# youtubeId will be added when video is recorded
10431002
# Screenshot Walkthrough (Story 2.5 - Zero-Deployment Path)
10441003
screenshots:
10451004
steps: []

src/_data/site.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ messaging:
2828
- "Deploy in 15 minutes"
2929
- "Zero cost to try"
3030
- "Automatic cleanup when you're done"
31-
safetyMessage: "Isolated Innovation Sandbox - Your evaluation is completely separate from production systems"
31+
safetyMessage: "Isolated NDX:Try session - Your evaluation is completely separate from production systems"
3232

3333
# External links
3434
links:

0 commit comments

Comments
 (0)