Initial TrueGrowth source import
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
# Change: Merge AIGCPanel tools into App Center
|
||||
|
||||
## Why
|
||||
The current TrueGrowth shell still exposes a separate tools navigation/page while the product direction is to make App Center the single entry point. AIGCPanel also includes audio and video processing utilities that must be preserved and discoverable after the merge.
|
||||
|
||||
## What Changes
|
||||
- Add all AIGCPanel utility apps to App Center, including audio processing, image tools, and the full video processing set.
|
||||
- Remove the standalone tools navigation/page entry from the main shell.
|
||||
- Keep existing tool capabilities accessible from App Center cards and route them to the proper TrueGrowth workflow or embedded AIGCPanel tool.
|
||||
- Preserve audio processing apps: speech recognition, long text to audio, subtitle to audio, voice replacement, and audio normalization.
|
||||
- Preserve video processing apps: background add, smart cut, segment zoom, annotation, subtitle add, global speed, size convert, compression, segment speed, segment delete/keep, intro/outro image, add audio, merge, format convert, and FFmpeg processing.
|
||||
|
||||
## Impact
|
||||
- Affected specs: app-center, toolbox
|
||||
- Affected code: `apps/web/src/workbench/app-definitions.tsx`, `apps/web/src/workbench/WorkbenchShell.tsx`, AIGCPanel tool manifest mapping
|
||||
@@ -0,0 +1,25 @@
|
||||
## MODIFIED Requirements
|
||||
### Requirement: App Center SHALL be the primary discovery surface
|
||||
The system SHALL present first-party creation modules and AIGCPanel utility apps in App Center as the primary discovery surface.
|
||||
|
||||
#### Scenario: User opens App Center
|
||||
- **WHEN** the user opens App Center
|
||||
- **THEN** App Center lists the core TrueGrowth modules
|
||||
- **AND** App Center lists the AIGCPanel utility apps
|
||||
- **AND** each utility app is categorized by its workflow area, such as audio, video, image, or utility
|
||||
|
||||
### Requirement: App Center SHALL include AIGCPanel audio utilities
|
||||
The system SHALL include AIGCPanel audio utilities in App Center.
|
||||
|
||||
#### Scenario: User browses audio apps
|
||||
- **WHEN** the user filters or scans App Center audio apps
|
||||
- **THEN** speech recognition, long text to audio, subtitle to audio, voice replacement, and audio normalization are available
|
||||
- **AND** opening each card launches the corresponding workflow or embedded tool
|
||||
|
||||
### Requirement: App Center SHALL include AIGCPanel video processing utilities
|
||||
The system SHALL include AIGCPanel video processing utilities in App Center.
|
||||
|
||||
#### Scenario: User browses video processing apps
|
||||
- **WHEN** the user filters or scans App Center video apps
|
||||
- **THEN** video background add, smart cut, segment zoom, annotation, subtitle add, global speed, size convert, compression, segment speed, segment delete/keep, intro/outro image, add audio, merge, format convert, and FFmpeg processing are available
|
||||
- **AND** opening each card launches the corresponding workflow or embedded tool
|
||||
@@ -0,0 +1,13 @@
|
||||
## MODIFIED Requirements
|
||||
### Requirement: Toolbox Discovery SHALL be folded into App Center
|
||||
The system SHALL expose toolbox and AIGCPanel utility discovery through App Center instead of a standalone tools navigation page.
|
||||
|
||||
#### Scenario: User views main navigation
|
||||
- **WHEN** the main shell navigation renders
|
||||
- **THEN** no standalone tools navigation item is shown
|
||||
- **AND** App Center remains available as the entry point for utility tools
|
||||
|
||||
#### Scenario: User opens a legacy tools route
|
||||
- **WHEN** the user opens an existing tools route or bookmark
|
||||
- **THEN** the system redirects or presents an App Center equivalent
|
||||
- **AND** the relevant utility tools remain reachable
|
||||
17
openspec/changes/update-aigcpanel-tools-app-center/tasks.md
Normal file
17
openspec/changes/update-aigcpanel-tools-app-center/tasks.md
Normal file
@@ -0,0 +1,17 @@
|
||||
## 1. Discovery
|
||||
- [x] 1.1 Inventory AIGCPanel app groups from `vendor/aigcpanel/src/pages/Apps/all.ts`.
|
||||
- [x] 1.2 Compare current TrueGrowth App Center and toolbox manifests for missing AIGCPanel utilities.
|
||||
|
||||
## 2. App Center Merge
|
||||
- [x] 2.1 Add App Center definitions for every required AIGCPanel audio and video utility.
|
||||
- [x] 2.2 Ensure cards show the correct category, title, description, and icon treatment.
|
||||
- [x] 2.3 Route each card to the correct TrueGrowth module or embedded AIGCPanel tool surface.
|
||||
|
||||
## 3. Navigation Cleanup
|
||||
- [x] 3.1 Remove the standalone tools navigation item from the main shell.
|
||||
- [x] 3.2 Remove or redirect the dedicated tools page so tool discovery happens through App Center.
|
||||
- [x] 3.3 Keep existing deep links or bookmarks from breaking by redirecting `/toolbox` and `/video-tools` into App Center-filtered views or equivalent app cards.
|
||||
|
||||
## 4. Verification
|
||||
- [ ] 4.1 Run a targeted type/build check for the web workspace. Attempted `pnpm nx run web:typecheck`, blocked by existing `packages/drawnix/src/contexts/AssetContext.tsx` missing `resolveSupportedMediaMimeType`.
|
||||
- [x] 4.2 Verify App Center lists all required audio/video tools and no standalone tools nav appears.
|
||||
Reference in New Issue
Block a user