Skip to content

WIP - CADTrust v2 Export functionality.#357

Open
Nolski wants to merge 7 commits into
mainfrom
cadt-v2
Open

WIP - CADTrust v2 Export functionality.#357
Nolski wants to merge 7 commits into
mainfrom
cadt-v2

Conversation

@Nolski
Copy link
Copy Markdown
Collaborator

@Nolski Nolski commented Feb 26, 2026

No description provided.

- Updated configuration to include CAD Trust V2 settings.
- Enhanced CADT module with new services and entities for CAD Trust V2.
- Introduced new async action types for CAD Trust V2 operations.
- Added routes and components for CAD Trust V2 export in the web application.
- Updated API paths to support CAD Trust V2 synchronization and download features.
- Modified .gitignore to exclude new documentation files.
- Introduced a new docker-compose.dev.yml file to set up a local development environment.
- Configured PostgreSQL database service with health checks and initialization scripts.
- Added multiple services including national API, async operations handler, and analytics API.
- Set up web service with environment variables for backend integration and country settings.
- Implemented a dev-init service to seed the database and provide initial setup instructions.
- Nest CADT Export as a sub-page under Reports (/reports/cadtExport)
- Add AEF Reports and CADT Export as sidebar children of Reports
- Add cadtExportEnabled setting to ConfigurationSettingsType enum
- Add feature toggle in Settings page (disabled by default)
- CADT Export sidebar item only appears when enabled via Settings
- Re-enable Settings page in sidebar for Root users
- Create seed-test-data.sql with 2 project developer companies, 1
  certifier, 5 programmes in various stages, 4 projects, and credit
  blocks with realistic Nigerian carbon project data
- Enable CADT Export feature toggle by default in dev seed
- Update dev-init service to run seed script after backend init
- All test accounts use password '123'
The backend returns raw `true` which axios parses as boolean, but the
frontend compared with strict string equality (`=== "true"`). Use
`String()` coercion so the check works with both boolean and string
responses.
Runs CADT v2 integration tests (154 tests across 5 suites) and other
passing unit tests on every pull request and push to main.
Comment thread .github/workflows/test.yml Fixed
…in permissions

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
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.

2 participants