Skip to content

Wire app creation quickactions (codex) - #2493

Merged
numnx merged 1 commit into
feature/CODUX-157-techstack-settings-quickactions-for-webapp-desktop-appfrom
task/feature-codux-157-techstack-settings-quickaction-t04-codex-mra62wtb
Jul 7, 2026
Merged

Wire app creation quickactions (codex)#2493
numnx merged 1 commit into
feature/CODUX-157-techstack-settings-quickactions-for-webapp-desktop-appfrom
task/feature-codux-157-techstack-settings-quickaction-t04-codex-mra62wtb

Conversation

@numnx

@numnx numnx commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator

🧩 Task: Wire app creation quickactions

Automated task PR opened by Code UX for T04.

📋 Summary

Sprint: Sprint 157 · Techstack Settings + Quickactions for Webapp + Desktop App · Task: T04

Add a system-managed techstack catalog and project techstack selection, expose Settings and navbar controls, and add Create Web App/Create Desktop App quickactions that apply the selected/default techstack only to newly created projects while setup can detect techstacks for imported projects.

📝 Full Task Prompt
## Objective
Implement app creation quickactions that reuse the existing project creation modal and apply explicit techstack overrides only for new projects.

## Scope
- `dashboard/src/lib/settings-updaters.ts`
- `tests/dashboard/lib/settings-updaters.test.ts`
- `dashboard/src/v2/components/TopNav.tsx`
- `dashboard/src/v2/components/ui/AddProjectModal.tsx`
- `dashboard/src/v2/components/ui/NewProjectModal.tsx` if still used by any entry point
- `dashboard/src/v2/ProjectsPage.tsx`
- `dashboard/src/v2/pages/sprints/use-sprints-page-actions.ts`
- `dashboard/src/v2/hooks/use-task-board-controller.ts`
- `tests/dashboard/v2/projects-page.test.tsx`
- `tests/dashboard/v2/top-nav-techstack.test.tsx` or the TopNav test file updated in T03
- `docs/dashboard/project-initialization.md`
- `docs-web/user/dashboard/projects.md`

## Implementation Requirements
1. Add a shared helper that composes project `settingsOverrides` for new projects from optional local git mode, `techstack.selectedTechstackId`, and `techstack.applicationKind`, while preserving existing git-manager skill synchronization.
2. Extend `AddProjectModal` submission data to carry `applicationKind` and `selectedTechstackId`, with quickaction defaults that preselect `new_project` and show Web App or Desktop App context in the modal.
3. Add navbar quickaction controls for `Create Web App` and `Create Desktop App` that use the currently selected project techstack when present, otherwise the system catalog default built-in techstack.
4. Update every duplicated new-project create handler in TopNav, Projects, Sprints, and Tasks flows to use the shared override helper so all `new_project` creations get an explicit techstack override and existing imports do not.
5. Preserve current behavior where existing local projects receive only the local git-mode override and no techstack assignment.
6. Add tests proving new local and new remote projects include techstack overrides, local new projects still include `git.githubMode: LOCAL`, existing local imports omit techstack, and quickaction app kind is passed through.
7. Update project initialization docs to distinguish imported-project setup from new app quickactions.

## Constraints
- Do not scaffold application source files in this task; project creation still initializes or clones repositories through the existing backend flow.
- Do not fork the project creation modal into separate web/desktop modals.
- Do not apply techstack overrides to `sourceType: local` or `sourceType: git` imported projects unless `initMode` is `new-local` or `new-remote`.
- Keep quickaction controls responsive and keyboard reachable in the navbar without crowding existing project/sprint selectors.

## Verification
- Run `pnpm exec vitest run tests/dashboard/lib/settings-updaters.test.ts tests/dashboard/v2/projects-page.test.tsx tests/dashboard/v2/top-nav-techstack.test.tsx` if the TopNav techstack test exists.
- Run `pnpm run test:dashboard` for broad dashboard behavior.
- Success means Create Web App/Create Desktop App open new-project creation with the correct techstack/application kind, and imported projects remain techstack-unassigned.

✅ QA Review

⏳ QA review runs after this PR is opened. Check the task card in the dashboard for the outcome once it lands.

🤖 Model & Provider

Provider Codex CLI
Model gpt-5.5

⏱️ Timing

Started 2026-07-07 04:46:46 UTC
Finished 2026-07-07 04:58:08 UTC
Duration 11m 22s

📊 Token Usage

Metric Value
Input tokens 157,705
Cached input tokens 5,078,144
Output tokens 19,322
Total tokens 5,255,171
Invocations 1
Tool calls 75
Active time 10m 47s

Included usage estimate (subscription/local login): $3.91

🌿 Branch Info

Base: feature/CODUX-157-techstack-settings-quickactions-for-webapp-desktop-app
Head: task/feature-codux-157-techstack-settings-quickaction-t04-codex-mra62wtb


🤖 Generated by Code UX

@numnx
numnx merged commit 6242c96 into feature/CODUX-157-techstack-settings-quickactions-for-webapp-desktop-app Jul 7, 2026
6 checks passed
@numnx
numnx deleted the task/feature-codux-157-techstack-settings-quickaction-t04-codex-mra62wtb branch July 7, 2026 05:00
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.

1 participant