Conversation
There was a problem hiding this comment.
Pull request overview
This PR implements functionality to copy projects across teams with an improved user experience. The changes enable users to select a destination team (including creating a new one) when copying a project, and add the ability to import projects from external sources.
Changes:
- Replaced separate "copy to same team" and "copy to new team" menu options with a single "Copy project" option that opens a team selection dialog
- Added import type selection allowing users to choose between importing PTF (external source) or ITF (incremental changes) files
- Refactored import/copy logic to support team selection and external project imports
Reviewed changes
Copilot reviewed 16 out of 19 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| src/renderer/src/store/localization/reducers.tsx | Updated localization strings for copy and import features |
| src/renderer/src/store/localization/model.tsx | Updated TypeScript interfaces to match new localization strings |
| src/renderer/src/store/localization/exported-strings-name.json | Updated strings file reference |
| src/renderer/src/store/importexport/actions.tsx | Refactored import/copy logic with new team-based API endpoints and added external import support |
| src/renderer/src/components/useAdminTeams.ts | Added new hook to retrieve teams where user is admin |
| src/renderer/src/components/TranscriptionTab.tsx | Removed unused eslint-disable comment |
| src/renderer/src/components/Team/TeamActions.tsx | Made import button always visible and removed Electron-specific conditions |
| src/renderer/src/components/Team/ProjectMenu.tsx | Replaced shift+click copy options with single copy option |
| src/renderer/src/components/Team/ProjectCard.tsx | Added team selection dialog for project copying |
| src/renderer/src/components/PassageDetail/Keyterms/KeyTerms.tsx | Fixed potential null reference in useEffect dependency |
| src/renderer/src/components/ImportTab.tsx | Added import type selection UI and team selector component |
| migration/r4.4.1/copyprojectid.sql | Database migration to add offline ID tracking columns |
| localization/TranscriberAdmin-en.xlf | Updated English localization file |
| localization/TranscriberAdmin-en-1.2.xliff | Updated English localization file (1.2 format) |
| errorLog | Removed error log file |
| .vscode/settings.json | Fixed TypeScript watch option value |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
@sarahentzel I've opened a new pull request, #197, to work on those changes. Once the pull request is ready, I'll request review from you. |
|
@sarahentzel I've opened a new pull request, #198, to work on those changes. Once the pull request is ready, I'll request review from you. |
No description provided.