feat(ui): split submit into metadata selector + submit#54
Conversation
…aSelector components" This reverts commit 84b8af5.
Code Review Agent (Python)\nNo Python files changed. Skipping analysis. |
AI Governance checks failedPlease fix the following before re-running checks:
Helpful links:
After edits, push updates or re-run the workflow to validate. |
…ents, streamline submit process
Code Review Agent (Python)\nNo Python files changed. Skipping analysis. |
…tion, and error handling; fix TDZ in subscriptions
Code Review Agent (Python)\nNo Python files changed. Skipping analysis. |
… remove unused code
Code Review Agent (Python)\nNo Python files changed. Skipping analysis. |
1 similar comment
Code Review Agent (Python)\nNo Python files changed. Skipping analysis. |
Code Review Agent (Python)\nNo Python files changed. Skipping analysis. |
|
/gov |
Governance Agent Report\n\nChanged files (35):
Detected change types:
Missing or incomplete items:
Tip: Use the PR template fields to satisfy these checks. Run /gov help for commands. Also try: /gov links and /gov autofill apply. |
|
/gov copilot |
|
/gov links |
|
/gov autofill apply |
Governance reports summaryRun ID: 17769693985 ScanCode (licenses)
SBOM (SPDX)
|
There was a problem hiding this comment.
Pull Request Overview
This PR implements a refactoring of the submit flow by splitting the metadata selection functionality into a separate component. It creates a dedicated metadata selector component for new datasets while keeping the existing submit component focused on file operations, improving code clarity and maintainability.
- Split submit component into metadata selector and files-only submit components
- Added new routing for metadata selector component with proper navigation state passing
- Enhanced test coverage with comprehensive unit tests for both components
Reviewed Changes
Copilot reviewed 31 out of 35 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| src/app/metadata-selector/metadata-selector.component.ts | New component extracted from submit logic for metadata field selection |
| src/app/metadata-selector/metadata-selector.component.spec.ts | Comprehensive tests for the new metadata selector component |
| src/app/metadata-selector/metadata-selector.component.html | Template for metadata field selection interface |
| src/app/submit/submit.component.ts | Refactored to handle metadata from navigation state, removed inline metadata logic |
| src/app/submit/submit.component.spec.ts | Enhanced tests with proper mocking and additional test cases |
| src/app/submit/submit.component.html | Simplified template with metadata table section removed |
| src/app/compare/compare.component.ts | Updated routing logic to direct new datasets to metadata selector |
| src/app/app.routs.ts | Added route for the new metadata selector component |
| Various test files | Updated import formatting for consistency |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
There was a problem hiding this comment.
Pull Request Overview
Copilot reviewed 31 out of 35 changed files in this pull request and generated 4 comments.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Code Review Agent (Python)\nNo Python files changed. Skipping analysis. |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Code Review Agent (Python)\nNo Python files changed. Skipping analysis. |
1 similar comment
Code Review Agent (Python)\nNo Python files changed. Skipping analysis. |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Code Review Agent (Python)\nNo Python files changed. Skipping analysis. |
|
Code Review Agent (Python)\nNo Python files changed. Skipping analysis. |
There was a problem hiding this comment.
Pull Request Overview
Copilot reviewed 31 out of 35 changed files in this pull request and generated 5 comments.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Code Review Agent (Python)\nNo Python files changed. Skipping analysis. |
1 similar comment
Code Review Agent (Python)\nNo Python files changed. Skipping analysis. |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Code Review Agent (Python)\nNo Python files changed. Skipping analysis. |
1 similar comment
Code Review Agent (Python)\nNo Python files changed. Skipping analysis. |
|
/gov |
Governance Agent Report\n\nChanged files (35):
Detected change types:
Missing or incomplete items:
Tip: Use the PR template fields to satisfy these checks. Run /gov help for commands. Also try: /gov links and /gov autofill apply. |
|
/gov copilot |
|
/gov links |
|
/gov autofill apply |
Governance reports summaryRun ID: 17771148570 ScanCode (licenses)
SBOM (SPDX)
|
@AI-Tool: Copilot
Summary
AI Provenance (required for AI-assisted changes)
Compliance checklist
Change-type specifics
Tests & Risk