Skip to content

026.02 Create Project

Description

As a Researcher, I want to create a new QualCoder project so that I can start a fresh analysis.

Acceptance Criteria

  • [ ] #1 I can specify a project name and location
  • [ ] #2 A new empty project is created
  • [ ] #3 I am taken to the main workspace ready to import sources

Implementation Notes

Implementation Progress (2026-02-03)

  • Fixed project creation flow: After create_project(), now calls open_project() to initialize bounded contexts
  • Fixed _on_create_project() to properly check OperationResult.is_success
  • After opening, _wire_viewmodels() wires FileManagerViewModel
  • UI switches to file manager screen after successful creation
  • Added E2E smoke tests in test_main_e2e.py:
  • test_create_project_initializes_contexts
  • test_wire_viewmodels_after_project

Files changed: - src/main.py - src/tests/e2e/test_main_e2e.py