Skip to content

Export Project - #97

Merged
LijuJacob08 merged 6 commits into
mainfrom
ft/ExportDraftedVerses
Oct 14, 2025
Merged

Export Project#97
LijuJacob08 merged 6 commits into
mainfrom
ft/ExportDraftedVerses

Conversation

@LijuJacob08

@LijuJacob08 LijuJacob08 commented Sep 29, 2025

Copy link
Copy Markdown
Contributor

Export Project Feature - MVP Requirements

Purpose

Enable users to export translated text for processing in other applications. Critical for MVP adoption as users need to extract their work to test the software seriously.

UI Components

Export Button

  • Location: Top right of View Project page
  • Action: Opens centered export dialog

Export Dialog

Header: "Export Project"

Body - Book Selection Table:

  • Default: All books pre-selected
  • Scrollable if content exceeds dialog height
  • Columns:
    1. Checkbox (left)
    2. Book Name (e.g., Matthew)
    3. Completed Chapters (format: X of Y where X = chapters with all verses translated)

Select All: Checkbox in table header to toggle all books

Export Button (bottom):

  • Disabled when no books selected
  • Enabled when ≥1 book selected

Export Behavior

When Export clicked:

  1. Generate USFM format for each selected book (including empty chapters/verse markers)
  2. Zip all files together
  3. Auto-download zip file
  4. Close dialog

File naming: YYYY-MM-DD-HH-MM [project name].zip

  • Example: 2025-09-15-09-13 Kendriya Tamang - Gospels.zip

Interaction

  • Dialog closes on: X button click, outside click, or successful export
  • Button state updates dynamically based on selections

@LijuJacob08 LijuJacob08 linked an issue Sep 29, 2025 that may be closed by this pull request
Comment thread src/layouts/projects/ProjectDetailPage.tsx Outdated
Comment thread src/layouts/projects/ExportProjectDialog.tsx Outdated
Comment thread src/layouts/projects/ExportProjectDialog.tsx
@LijuJacob08
LijuJacob08 merged commit 14f5f76 into main Oct 14, 2025
1 check passed
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.

Create Export for Drafted Verses

2 participants