Conversation
🔍 Lighthouse Performance Audit
📥 Download full Lighthouse report Budget Compliance: Performance budgets enforced via |
🔍 Lighthouse Performance Audit
📥 Download full Lighthouse report Budget Compliance: Performance budgets enforced via |
- Removed PHASE_2_PROGRESS.md and PHASE_2_STATUS.md as they are no longer relevant. - Deleted PHASE_5_COMPLETION_REPORT.md and TEST_FIXES_SUMMARY.md to streamline project files. - Removed various PNG images related to dashboard and article previews that are no longer in use.
🔍 Lighthouse Performance Audit
📥 Download full Lighthouse report Budget Compliance: Performance budgets enforced via |
- Refactor news generation workflows to utilize environment variables more effectively. - Introduce new scripts for generating news indexes and sitemaps. - Implement HTML escaping utility to prevent XSS vulnerabilities. - Add comprehensive unit tests for enhanced news generation and HTML utilities. - Validate tool names in MCP client to prevent path traversal attacks. - Update article generation functions to support additional article types and languages.
🔍 Lighthouse Performance Audit
📥 Download full Lighthouse report Budget Compliance: Performance budgets enforced via |
- Expanded language support in generate-news-indexes.js to include additional metadata such as keywords, back links, and filter options for each language. - Improved HTML generation to escape content for security and proper rendering. - Added dynamic filtering options for article types and topics, with localized labels. - Implemented a no-results message that is localized based on the selected language. - Introduced a dynamic content loader to update article counts and handle empty states.
🔍 Lighthouse Performance Audit
📥 Download full Lighthouse report Budget Compliance: Performance budgets enforced via |
- Introduced a new GitHub Actions workflow for monitoring real-time updates from the Swedish Riksdag and Government, generating breaking news articles during parliamentary hours. - Implemented a backport news generation script to create historical articles for 2026, querying past data and generating weekly and daily articles as needed.
🔍 Lighthouse Performance Audit
📥 Download full Lighthouse report Budget Compliance: Performance budgets enforced via |
…lidations - Added tests for backward compatibility with string URLs and serverUrl alias in MCPClient. - Included tests for request method, error handling, and retry logic in MCPClient. - Expanded fetch functions tests (fetchCalendarEvents, fetchCommitteeReports, fetchPropositions, etc.) to cover optional parameters and response validation. - Introduced tests for new utility functions: generate-news-indexes and generate-sitemap, ensuring proper functionality and XML validation. - Removed outdated verify_implementation.sh script. - Updated vitest.config.js to exclude non-testable scripts from coverage.
🔍 Lighthouse Performance Audit
📥 Download full Lighthouse report Budget Compliance: Performance budgets enforced via |
| * Tests news index generation functions | ||
| */ | ||
|
|
||
| import { describe, it, expect, vi, beforeEach, afterEach } from 'vitest'; |
|
|
||
| import { describe, it, expect, vi, beforeEach, afterEach } from 'vitest'; | ||
| import fs from 'fs'; | ||
| import path from 'path'; |
| }); | ||
|
|
||
| it('should generate index files for all 14 languages', () => { | ||
| const result = module.generateAllIndexes(); |
| * - Main orchestrator function (generateNews) | ||
| */ | ||
|
|
||
| import { describe, it, expect, vi, beforeEach, afterEach } from 'vitest'; |
…n article content
🔍 Lighthouse Performance Audit
📥 Download full Lighthouse report Budget Compliance: Performance budgets enforced via |
…tion and analysis
🔍 Lighthouse Performance Audit
📥 Download full Lighthouse report Budget Compliance: Performance budgets enforced via |
…ains for article generation and analysis
🔍 Lighthouse Performance Audit
📥 Download full Lighthouse report Budget Compliance: Performance budgets enforced via |
Upgrade the js-yaml dependency to version 4.1.1 and add GitHub CLI extension installation to the postCreateCommand in the devcontainer configuration.