From b3fb0e31efb09ec36b17bb5fc7ce6a4c23bd8b89 Mon Sep 17 00:00:00 2001 From: strikerlulu Date: Mon, 20 Apr 2026 00:06:52 +0530 Subject: [PATCH 1/8] Add defaultProject preference and use it in List Tasks; update changelog and generated types --- extensions/vikunja/CHANGELOG.md | 6 ++++ extensions/vikunja/package.json | 11 +++++++ extensions/vikunja/raycast-env.d.ts | 44 --------------------------- extensions/vikunja/src/list-tasks.tsx | 10 +++++- 4 files changed, 26 insertions(+), 45 deletions(-) delete mode 100644 extensions/vikunja/raycast-env.d.ts diff --git a/extensions/vikunja/CHANGELOG.md b/extensions/vikunja/CHANGELOG.md index 62a7b7f0459..05aa1f93f58 100644 --- a/extensions/vikunja/CHANGELOG.md +++ b/extensions/vikunja/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## [Default Project Preference] - {PR_MERGE_DATE} + +- Add optional "Default Project" Raycast preference (`defaultProject`) to set the initial project shown in List Tasks (use "all" or a project id). +- `List Tasks` now respects the preference when opened without a launch context; explicit launch context `projectId` still takes precedence. +- Updated generated preference types and manifest to include the setting. + ## [Task Detail View, Search, and Caching] - 2026-03-25 - Task Detail view with full markdown description and metadata sidebar diff --git a/extensions/vikunja/package.json b/extensions/vikunja/package.json index dc6c7eaa715..84a64982f9c 100644 --- a/extensions/vikunja/package.json +++ b/extensions/vikunja/package.json @@ -5,6 +5,9 @@ "description": "Create and manage tasks in your self-hosted Vikunja instance", "icon": "command-icon.png", "author": "flexorflex", + "contributors": [ + "strikerlulu" + ], "categories": [ "Productivity" ], @@ -62,6 +65,14 @@ "description": "Vikunja API token for authentication", "type": "password", "required": true + }, + { + "name": "defaultProject", + "title": "Default Project", + "description": "Default project ID to show in List Tasks. Use \"all\" to show all projects.", + "type": "textfield", + "required": false, + "placeholder": "all" } ], "dependencies": { diff --git a/extensions/vikunja/raycast-env.d.ts b/extensions/vikunja/raycast-env.d.ts deleted file mode 100644 index 3091d10074f..00000000000 --- a/extensions/vikunja/raycast-env.d.ts +++ /dev/null @@ -1,44 +0,0 @@ -/// - -/* 🚧 🚧 🚧 - * This file is auto-generated from the extension's manifest. - * Do not modify manually. Instead, update the `package.json` file. - * 🚧 🚧 🚧 */ - -/* eslint-disable @typescript-eslint/ban-types */ - -type ExtensionPreferences = { - /** Vikunja URL - Base URL of your Vikunja instance (e.g. https://tasks.example.com) */ - "apiUrl": string, - /** API Token - Vikunja API token for authentication */ - "apiToken": string -} - -/** Preferences accessible in all the extension's commands */ -declare type Preferences = ExtensionPreferences - -declare namespace Preferences { - /** Preferences accessible in the `create-task` command */ - export type CreateTask = ExtensionPreferences & {} - /** Preferences accessible in the `list-tasks` command */ - export type ListTasks = ExtensionPreferences & {} - /** Preferences accessible in the `list-projects` command */ - export type ListProjects = ExtensionPreferences & {} - /** Preferences accessible in the `search-tasks` command */ - export type SearchTasks = ExtensionPreferences & {} -} - -declare namespace Arguments { - /** Arguments passed to the `create-task` command */ - export type CreateTask = { - /** Task title */ - "title": string -} - /** Arguments passed to the `list-tasks` command */ - export type ListTasks = {} - /** Arguments passed to the `list-projects` command */ - export type ListProjects = {} - /** Arguments passed to the `search-tasks` command */ - export type SearchTasks = {} -} - diff --git a/extensions/vikunja/src/list-tasks.tsx b/extensions/vikunja/src/list-tasks.tsx index 2db1db2dc30..df029b2a9cd 100644 --- a/extensions/vikunja/src/list-tasks.tsx +++ b/extensions/vikunja/src/list-tasks.tsx @@ -27,8 +27,16 @@ export default function ListTasks( props: LaunchProps<{ launchContext: ListTasksContext }>, ) { const initialProjectId = props.launchContext?.projectId; + const { defaultProject } = getPreferenceValues< + Preferences & { defaultProject?: string } + >(); + const defaultPref = defaultProject ?? "all"; const [selectedProject, setSelectedProject] = useState( - initialProjectId ? String(initialProjectId) : "all", + initialProjectId + ? String(initialProjectId) + : defaultPref === "all" + ? "all" + : String(defaultPref), ); const baseUrl = useMemo(() => { From a51949bc985cb091cbb498fdf98333ed5673cd71 Mon Sep 17 00:00:00 2001 From: strikerlulu Date: Mon, 20 Apr 2026 00:42:10 +0530 Subject: [PATCH 2/8] Add Create Task quick action (Cmd+N) in lists and task items; preselect project in Create Task --- extensions/vikunja/CHANGELOG.md | 8 ++++- extensions/vikunja/package.json | 6 ++++ .../vikunja/src/components/task-list-item.tsx | 21 ++++++++++++ extensions/vikunja/src/create-task.tsx | 22 ++++++++++-- extensions/vikunja/src/list-tasks.tsx | 34 +++++++++++++++++++ 5 files changed, 88 insertions(+), 3 deletions(-) diff --git a/extensions/vikunja/CHANGELOG.md b/extensions/vikunja/CHANGELOG.md index 05aa1f93f58..2aebcb770a7 100644 --- a/extensions/vikunja/CHANGELOG.md +++ b/extensions/vikunja/CHANGELOG.md @@ -1,6 +1,12 @@ # Changelog -## [Default Project Preference] - {PR_MERGE_DATE} +## [Create Task Quick Action & Preselect Project] - {PR_MERGE_DATE} + +- Added Cmd+N / Create Task action in the `List Tasks` view and in each task's action panel to quickly create a new task. +- When creating a task from a project context (either the currently selected project in `List Tasks` or via a task's action), the `Create Task` form is opened with that project preselected. +- `create-task` now accepts an optional `projectId` argument and also respects `launchContext.projectId` for compatibility. + +## [Default Project Preference] - 2026-04-19 - Add optional "Default Project" Raycast preference (`defaultProject`) to set the initial project shown in List Tasks (use "all" or a project id). - `List Tasks` now respects the preference when opened without a launch context; explicit launch context `projectId` still takes precedence. diff --git a/extensions/vikunja/package.json b/extensions/vikunja/package.json index 84a64982f9c..187c77c93d5 100644 --- a/extensions/vikunja/package.json +++ b/extensions/vikunja/package.json @@ -25,6 +25,12 @@ "placeholder": "Task title", "type": "text", "required": false + }, + { + "name": "projectId", + "placeholder": "Project ID (optional)", + "type": "text", + "required": false } ] }, diff --git a/extensions/vikunja/src/components/task-list-item.tsx b/extensions/vikunja/src/components/task-list-item.tsx index 55c03936a39..35abc7d5afd 100644 --- a/extensions/vikunja/src/components/task-list-item.tsx +++ b/extensions/vikunja/src/components/task-list-item.tsx @@ -7,6 +7,8 @@ import { showToast, Toast, useNavigation, + launchCommand, + LaunchType, } from "@raycast/api"; import { updateTask, Project, Task } from "../api"; import { formatDueDate, dueDateColor } from "../helpers/dates"; @@ -118,6 +120,25 @@ export function TaskActions({ return ( + { + try { + await launchCommand({ + name: "create-task", + type: LaunchType.UserInitiated, + arguments: { projectId: String(task.project_id) }, + }); + } catch { + showToast({ + style: Toast.Style.Failure, + title: "Failed to launch Create Task", + }); + } + }} + /> {onShowDetail && ( , + props: LaunchProps<{ + arguments: Arguments.CreateTask; + launchContext?: { projectId?: number }; + }>, ) { const [projects, setProjects] = useState([]); const [labels, setLabels] = useState([]); @@ -32,6 +35,11 @@ export default function CreateTask( const argTitle = props.arguments.title?.trim() ?? ""; const [prefillTitle, setPrefillTitle] = useState(argTitle); const [prefillReady, setPrefillReady] = useState(!!argTitle); + // Prefer projectId passed as a command argument, fallback to launch context if present + const argProjectId = props.arguments.projectId?.trim(); + const contextProjectId = argProjectId + ? parseInt(argProjectId) + : props.launchContext?.projectId; useEffect(() => { async function loadData() { @@ -175,7 +183,17 @@ export default function CreateTask( title="Description" placeholder="Optional description" /> - + {projects.map((project) => ( + { + try { + if (selectedProject && selectedProject !== "all") { + await launchCommand({ + name: "create-task", + type: LaunchType.UserInitiated, + arguments: { projectId: String(selectedProject) }, + }); + } else { + await launchCommand({ + name: "create-task", + type: LaunchType.UserInitiated, + }); + } + } catch { + showToast({ + style: Toast.Style.Failure, + title: "Failed to launch Create Task", + }); + } + }} + /> + + } searchBarAccessory={ Date: Mon, 20 Apr 2026 18:26:07 +0530 Subject: [PATCH 3/8] Update extensions/vikunja/src/list-tasks.tsx Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> --- extensions/vikunja/src/list-tasks.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/extensions/vikunja/src/list-tasks.tsx b/extensions/vikunja/src/list-tasks.tsx index 857ad13a2e9..43100b526ac 100644 --- a/extensions/vikunja/src/list-tasks.tsx +++ b/extensions/vikunja/src/list-tasks.tsx @@ -31,9 +31,7 @@ export default function ListTasks( props: LaunchProps<{ launchContext: ListTasksContext }>, ) { const initialProjectId = props.launchContext?.projectId; - const { defaultProject } = getPreferenceValues< - Preferences & { defaultProject?: string } - >(); + const { defaultProject } = getPreferenceValues(); const defaultPref = defaultProject ?? "all"; const [selectedProject, setSelectedProject] = useState( initialProjectId From 6b41c033b34d13258c4a0e94367f88b4eb086ee0 Mon Sep 17 00:00:00 2001 From: strikerlulu Date: Mon, 20 Apr 2026 18:31:15 +0530 Subject: [PATCH 4/8] Update vikunja extension - remove redundant ternary branch - Merge branch \'contributions/merge-1776689880789\' - Pull contributions - add raycast-env.d.ts --- extensions/vikunja/.gitignore | 2 +- extensions/vikunja/src/list-tasks.tsx | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/extensions/vikunja/.gitignore b/extensions/vikunja/.gitignore index 856f448bc6e..783ca5957b3 100644 --- a/extensions/vikunja/.gitignore +++ b/extensions/vikunja/.gitignore @@ -3,7 +3,7 @@ dist/ .DS_Store # Raycast Specific Files -raycast-env.d.ts +# raycast-env.d.ts .raycast-swift-build .swiftpm compiled_raycast_swift diff --git a/extensions/vikunja/src/list-tasks.tsx b/extensions/vikunja/src/list-tasks.tsx index 43100b526ac..ca102c35268 100644 --- a/extensions/vikunja/src/list-tasks.tsx +++ b/extensions/vikunja/src/list-tasks.tsx @@ -34,11 +34,7 @@ export default function ListTasks( const { defaultProject } = getPreferenceValues(); const defaultPref = defaultProject ?? "all"; const [selectedProject, setSelectedProject] = useState( - initialProjectId - ? String(initialProjectId) - : defaultPref === "all" - ? "all" - : String(defaultPref), + initialProjectId ? String(initialProjectId) : defaultPref, ); const baseUrl = useMemo(() => { From d9f3b4baf664229979c4cca704fd412b5409658d Mon Sep 17 00:00:00 2001 From: Striker lulu <38893265+strikerlulu@users.noreply.github.com> Date: Mon, 20 Apr 2026 19:39:17 +0530 Subject: [PATCH 5/8] Add TypeScript definitions for Vikunja extension This file is auto-generated from the extension's manifest. It defines types for extension preferences and command arguments. --- extensions/vikunja/package.json | 107 ---------------------------- extensions/vikunja/raycast-env.d.ts | 47 ++++++++++++ 2 files changed, 47 insertions(+), 107 deletions(-) delete mode 100644 extensions/vikunja/package.json create mode 100644 extensions/vikunja/raycast-env.d.ts diff --git a/extensions/vikunja/package.json b/extensions/vikunja/package.json deleted file mode 100644 index 187c77c93d5..00000000000 --- a/extensions/vikunja/package.json +++ /dev/null @@ -1,107 +0,0 @@ -{ - "$schema": "https://www.raycast.com/schemas/extension.json", - "name": "vikunja", - "title": "Vikunja Task Manager", - "description": "Create and manage tasks in your self-hosted Vikunja instance", - "icon": "command-icon.png", - "author": "flexorflex", - "contributors": [ - "strikerlulu" - ], - "categories": [ - "Productivity" - ], - "license": "MIT", - "commands": [ - { - "name": "create-task", - "title": "Create Task", - "subtitle": "Vikunja", - "description": "Create a new task in Vikunja", - "mode": "view", - "arguments": [ - { - "name": "title", - "placeholder": "Task title", - "type": "text", - "required": false - }, - { - "name": "projectId", - "placeholder": "Project ID (optional)", - "type": "text", - "required": false - } - ] - }, - { - "name": "list-tasks", - "title": "List Tasks", - "subtitle": "Vikunja", - "description": "Browse and manage tasks in your Vikunja projects", - "mode": "view" - }, - { - "name": "list-projects", - "title": "List Projects", - "subtitle": "Vikunja", - "description": "Browse and manage your Vikunja projects", - "mode": "view" - }, - { - "name": "search-tasks", - "title": "Search Tasks", - "subtitle": "Vikunja", - "description": "Search across all your Vikunja tasks", - "mode": "view" - } - ], - "preferences": [ - { - "name": "apiUrl", - "title": "Vikunja URL", - "description": "Base URL of your Vikunja instance (e.g. https://tasks.example.com)", - "type": "textfield", - "required": true, - "placeholder": "https://tasks.example.com" - }, - { - "name": "apiToken", - "title": "API Token", - "description": "Vikunja API token for authentication", - "type": "password", - "required": true - }, - { - "name": "defaultProject", - "title": "Default Project", - "description": "Default project ID to show in List Tasks. Use \"all\" to show all projects.", - "type": "textfield", - "required": false, - "placeholder": "all" - } - ], - "dependencies": { - "@raycast/api": "^1.93.2", - "@raycast/utils": "^1.19.1" - }, - "devDependencies": { - "@raycast/eslint-config": "^2.1.1", - "@types/node": "25.0.3", - "@types/react": "19.2.7", - "eslint": "^9.39.2", - "prettier": "^3.7.4", - "typescript": "^5.9.3" - }, - "scripts": { - "build": "ray build", - "dev": "ray develop", - "fix-lint": "ray lint --fix", - "lint": "ray lint", - "prepublishOnly": "echo \"Error: no publish\" && exit 1", - "publish": "npx @raycast/api@latest publish" - }, - "platforms": [ - "macOS" - ] -} diff --git a/extensions/vikunja/raycast-env.d.ts b/extensions/vikunja/raycast-env.d.ts new file mode 100644 index 00000000000..b5a3587c27b --- /dev/null +++ b/extensions/vikunja/raycast-env.d.ts @@ -0,0 +1,47 @@ +/// + +/* 🚧 🚧 🚧 + * This file is auto-generated from the extension's manifest. + * Do not modify manually. Instead, update the `package.json` file. + * 🚧 🚧 🚧 */ + +/* eslint-disable @typescript-eslint/ban-types */ + +type ExtensionPreferences = { + /** Vikunja URL - Base URL of your Vikunja instance (e.g. https://tasks.example.com) */ + "apiUrl": string, + /** API Token - Vikunja API token for authentication */ + "apiToken": string, + /** Default Project - Default project ID to show in List Tasks. Use "all" to show all projects. */ + "defaultProject"?: string +} + +/** Preferences accessible in all the extension's commands */ +declare type Preferences = ExtensionPreferences + +declare namespace Preferences { + /** Preferences accessible in the `create-task` command */ + export type CreateTask = ExtensionPreferences & {} + /** Preferences accessible in the `list-tasks` command */ + export type ListTasks = ExtensionPreferences & {} + /** Preferences accessible in the `list-projects` command */ + export type ListProjects = ExtensionPreferences & {} + /** Preferences accessible in the `search-tasks` command */ + export type SearchTasks = ExtensionPreferences & {} +} + +declare namespace Arguments { + /** Arguments passed to the `create-task` command */ + export type CreateTask = { + /** Task title */ + "title": string, + /** Project ID (optional) */ + "projectId": string +} + /** Arguments passed to the `list-tasks` command */ + export type ListTasks = {} + /** Arguments passed to the `list-projects` command */ + export type ListProjects = {} + /** Arguments passed to the `search-tasks` command */ + export type SearchTasks = {} +} From 398b75a74433a395172d6b5aa5ae9954e3448819 Mon Sep 17 00:00:00 2001 From: strikerlulu Date: Mon, 20 Apr 2026 19:41:42 +0530 Subject: [PATCH 6/8] remove raycast-env.d.ts from .gitignore --- extensions/vikunja/.gitignore | 1 - extensions/vikunja/package.json | 107 ++++++++++++++++++++++++++++++++ 2 files changed, 107 insertions(+), 1 deletion(-) create mode 100644 extensions/vikunja/package.json diff --git a/extensions/vikunja/.gitignore b/extensions/vikunja/.gitignore index 783ca5957b3..794d6c16ec0 100644 --- a/extensions/vikunja/.gitignore +++ b/extensions/vikunja/.gitignore @@ -3,7 +3,6 @@ dist/ .DS_Store # Raycast Specific Files -# raycast-env.d.ts .raycast-swift-build .swiftpm compiled_raycast_swift diff --git a/extensions/vikunja/package.json b/extensions/vikunja/package.json new file mode 100644 index 00000000000..187c77c93d5 --- /dev/null +++ b/extensions/vikunja/package.json @@ -0,0 +1,107 @@ +{ + "$schema": "https://www.raycast.com/schemas/extension.json", + "name": "vikunja", + "title": "Vikunja Task Manager", + "description": "Create and manage tasks in your self-hosted Vikunja instance", + "icon": "command-icon.png", + "author": "flexorflex", + "contributors": [ + "strikerlulu" + ], + "categories": [ + "Productivity" + ], + "license": "MIT", + "commands": [ + { + "name": "create-task", + "title": "Create Task", + "subtitle": "Vikunja", + "description": "Create a new task in Vikunja", + "mode": "view", + "arguments": [ + { + "name": "title", + "placeholder": "Task title", + "type": "text", + "required": false + }, + { + "name": "projectId", + "placeholder": "Project ID (optional)", + "type": "text", + "required": false + } + ] + }, + { + "name": "list-tasks", + "title": "List Tasks", + "subtitle": "Vikunja", + "description": "Browse and manage tasks in your Vikunja projects", + "mode": "view" + }, + { + "name": "list-projects", + "title": "List Projects", + "subtitle": "Vikunja", + "description": "Browse and manage your Vikunja projects", + "mode": "view" + }, + { + "name": "search-tasks", + "title": "Search Tasks", + "subtitle": "Vikunja", + "description": "Search across all your Vikunja tasks", + "mode": "view" + } + ], + "preferences": [ + { + "name": "apiUrl", + "title": "Vikunja URL", + "description": "Base URL of your Vikunja instance (e.g. https://tasks.example.com)", + "type": "textfield", + "required": true, + "placeholder": "https://tasks.example.com" + }, + { + "name": "apiToken", + "title": "API Token", + "description": "Vikunja API token for authentication", + "type": "password", + "required": true + }, + { + "name": "defaultProject", + "title": "Default Project", + "description": "Default project ID to show in List Tasks. Use \"all\" to show all projects.", + "type": "textfield", + "required": false, + "placeholder": "all" + } + ], + "dependencies": { + "@raycast/api": "^1.93.2", + "@raycast/utils": "^1.19.1" + }, + "devDependencies": { + "@raycast/eslint-config": "^2.1.1", + "@types/node": "25.0.3", + "@types/react": "19.2.7", + "eslint": "^9.39.2", + "prettier": "^3.7.4", + "typescript": "^5.9.3" + }, + "scripts": { + "build": "ray build", + "dev": "ray develop", + "fix-lint": "ray lint --fix", + "lint": "ray lint", + "prepublishOnly": "echo \"Error: no publish\" && exit 1", + "publish": "npx @raycast/api@latest publish" + }, + "platforms": [ + "macOS" + ] +} From 73207796c152c9e658e60f38f38653d8be3ed7bb Mon Sep 17 00:00:00 2001 From: Dhruv Suthar Date: Wed, 22 Apr 2026 17:20:12 +0530 Subject: [PATCH 7/8] chore: update gitignore to include raycast-env.d.ts --- extensions/vikunja/.gitignore | 1 + extensions/vikunja/raycast-env.d.ts | 47 ----------------------------- 2 files changed, 1 insertion(+), 47 deletions(-) delete mode 100644 extensions/vikunja/raycast-env.d.ts diff --git a/extensions/vikunja/.gitignore b/extensions/vikunja/.gitignore index 794d6c16ec0..856f448bc6e 100644 --- a/extensions/vikunja/.gitignore +++ b/extensions/vikunja/.gitignore @@ -3,6 +3,7 @@ dist/ .DS_Store # Raycast Specific Files +raycast-env.d.ts .raycast-swift-build .swiftpm compiled_raycast_swift diff --git a/extensions/vikunja/raycast-env.d.ts b/extensions/vikunja/raycast-env.d.ts deleted file mode 100644 index b5a3587c27b..00000000000 --- a/extensions/vikunja/raycast-env.d.ts +++ /dev/null @@ -1,47 +0,0 @@ -/// - -/* 🚧 🚧 🚧 - * This file is auto-generated from the extension's manifest. - * Do not modify manually. Instead, update the `package.json` file. - * 🚧 🚧 🚧 */ - -/* eslint-disable @typescript-eslint/ban-types */ - -type ExtensionPreferences = { - /** Vikunja URL - Base URL of your Vikunja instance (e.g. https://tasks.example.com) */ - "apiUrl": string, - /** API Token - Vikunja API token for authentication */ - "apiToken": string, - /** Default Project - Default project ID to show in List Tasks. Use "all" to show all projects. */ - "defaultProject"?: string -} - -/** Preferences accessible in all the extension's commands */ -declare type Preferences = ExtensionPreferences - -declare namespace Preferences { - /** Preferences accessible in the `create-task` command */ - export type CreateTask = ExtensionPreferences & {} - /** Preferences accessible in the `list-tasks` command */ - export type ListTasks = ExtensionPreferences & {} - /** Preferences accessible in the `list-projects` command */ - export type ListProjects = ExtensionPreferences & {} - /** Preferences accessible in the `search-tasks` command */ - export type SearchTasks = ExtensionPreferences & {} -} - -declare namespace Arguments { - /** Arguments passed to the `create-task` command */ - export type CreateTask = { - /** Task title */ - "title": string, - /** Project ID (optional) */ - "projectId": string -} - /** Arguments passed to the `list-tasks` command */ - export type ListTasks = {} - /** Arguments passed to the `list-projects` command */ - export type ListProjects = {} - /** Arguments passed to the `search-tasks` command */ - export type SearchTasks = {} -} From 200187887609e5c3fef986055dd549898ffea7ed Mon Sep 17 00:00:00 2001 From: raycastbot Date: Wed, 22 Apr 2026 11:53:01 +0000 Subject: [PATCH 8/8] Update CHANGELOG.md --- extensions/vikunja/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/vikunja/CHANGELOG.md b/extensions/vikunja/CHANGELOG.md index 2aebcb770a7..e6e6bbf7ecd 100644 --- a/extensions/vikunja/CHANGELOG.md +++ b/extensions/vikunja/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## [Create Task Quick Action & Preselect Project] - {PR_MERGE_DATE} +## [Create Task Quick Action & Preselect Project] - 2026-04-22 - Added Cmd+N / Create Task action in the `List Tasks` view and in each task's action panel to quickly create a new task. - When creating a task from a project context (either the currently selected project in `List Tasks` or via a task's action), the `Create Task` form is opened with that project preselected.