Removed all obsolete screenshot scripts and updated documentation to reflect the streamlined, organized structure.
- capture-angular-login.js - Functionality merged into capture-angular.js
- capture-identityserver-admin.js - Superseded by capture-identityserver.js
- capture-remaining-screenshots.js - Functionality merged into capture-angular.js
- recapture-angular-login.js - Superseded by capture-angular.js
- take-all-screenshots.js - Legacy monolithic script, superseded by organized scripts
- take-screenshots.js - Old version, superseded
- take-screenshots-simple.js - Old version, superseded
-
capture-angular.js
- Captures all Angular application screenshots (7 total)
- Includes login flow with ashtyn1 credentials
- Direct URL navigation for reliability
-
capture-webapi.js
- Captures Web API/Swagger UI screenshots (1 total)
- No authentication required
-
capture-identityserver.js
- Captures IdentityServer screenshots (3 total)
- Includes login with admin credentials
- Captures admin UI dashboard
-
scripts/package.json
- Removed:
screenshots:legacyscript - Removed:
screenshots:loginscript - Clean 4-script configuration
- Removed:
-
scripts/README.md
- Removed "Legacy Scripts" section
- Updated package.json scripts reference
- Streamlined documentation
-
scripts/SCREENSHOT-ORGANIZATION.md
- Removed "Files Preserved (Legacy)" section
- Removed "Rollback Plan" section
- Updated script counts (7 Angular, 3 IdentityServer)
- Removed references to obsolete scripts
scripts/
├── capture-angular.js ✅
├── capture-angular-login.js ❌
├── capture-identityserver.js ✅
├── capture-identityserver-admin.js ❌
├── capture-remaining-screenshots.js ❌
├── capture-webapi.js ✅
├── recapture-angular-login.js ❌
├── take-all-screenshots.js ❌
├── take-screenshots.js ❌
└── take-screenshots-simple.js ❌
Total: 10 scripts (3 active, 7 obsolete)
scripts/
├── capture-angular.js ✅
├── capture-identityserver.js ✅
├── capture-webapi.js ✅
├── package.json
├── README.md
├── SCREENSHOT-ORGANIZATION.md
└── ANGULAR-LOGIN-ISSUE.md
Total: 3 scripts (all active)
{
"scripts": {
"screenshots:angular": "node capture-angular.js",
"screenshots:webapi": "node capture-webapi.js",
"screenshots:identityserver": "node capture-identityserver.js",
"screenshots:all": "npm run screenshots:angular && npm run screenshots:webapi && npm run screenshots:identityserver",
"screenshots:legacy": "node take-all-screenshots.js",
"screenshots:login": "node recapture-angular-login.js"
}
}{
"scripts": {
"screenshots:angular": "node capture-angular.js",
"screenshots:webapi": "node capture-webapi.js",
"screenshots:identityserver": "node capture-identityserver.js",
"screenshots:all": "npm run screenshots:angular && npm run screenshots:webapi && npm run screenshots:identityserver"
}
}- Only 3 scripts to maintain
- Clear separation by component
- No confusion about which script to use
- All scripts follow
capture-{component}.jspattern - Easy to understand purpose from filename
- Fewer scripts to update when credentials change
- Single source of truth for each component
- No duplicate functionality
- Removed outdated legacy script references
- Clear usage instructions
- No rollback or migration paths needed
- Removed 7 obsolete files
- Reduced confusion for contributors
- Professional, production-ready structure
All screenshot capture commands remain the same:
# Individual components
npm run screenshots:angular # 7 screenshots
npm run screenshots:webapi # 1 screenshot
npm run screenshots:identityserver # 3 screenshots
# All at once
npm run screenshots:all # 11 screenshots totalAll screenshots remain in organized folders:
docs/images/
├── angular/ (7 files, 734KB)
├── webapi/ (1 file, 55KB)
└── identityserver/ (3 files, 152KB)
Total: 11 screenshots, 941KB
All active scripts have been tested and verified:
✅ capture-angular.js
- 7 screenshots captured successfully
- All pages render correctly
- Login flow works with ashtyn1 credentials
✅ capture-webapi.js
- 1 screenshot captured successfully
- Swagger UI loads properly
- No authentication issues
✅ capture-identityserver.js
- 3 screenshots captured successfully
- Login pages (empty and with admin credentials)
- Admin UI dashboard loads correctly
- All existing screenshots remain in place
- NPM script names unchanged (except removed legacy scripts)
- Documentation structure unchanged
- Image paths unchanged
If you previously used:
- ❌
npm run screenshots:legacy- Usenpm run screenshots:allinstead - ❌
npm run screenshots:login- Usenpm run screenshots:angularinstead
The screenshot automation system is now streamlined, well-organized, and production-ready with:
- ✅ 3 focused scripts (down from 10)
- ✅ Clear component-based organization
- ✅ Consistent naming and structure
- ✅ Updated documentation
- ✅ No duplicate functionality
- ✅ Easier maintenance and contribution
All 7 obsolete scripts have been successfully removed with no loss of functionality.