Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions extensions/vikunja/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
11 changes: 11 additions & 0 deletions extensions/vikunja/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
],
Expand Down Expand Up @@ -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": {
Expand Down
44 changes: 0 additions & 44 deletions extensions/vikunja/raycast-env.d.ts
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nitpick: no need to commit this

since this will be generated during the build process, you don’t need to commit it

This file was deleted.

10 changes: 9 additions & 1 deletion extensions/vikunja/src/list-tasks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,16 @@ export default function ListTasks(
props: LaunchProps<{ launchContext: ListTasksContext }>,
) {
const initialProjectId = props.launchContext?.projectId;
const { defaultProject } = getPreferenceValues<
Preferences & { defaultProject?: string }
>();
Comment thread
strikerlulu marked this conversation as resolved.
Outdated
const defaultPref = defaultProject ?? "all";
const [selectedProject, setSelectedProject] = useState<string>(
initialProjectId ? String(initialProjectId) : "all",
initialProjectId
? String(initialProjectId)
: defaultPref === "all"
? "all"
: String(defaultPref),
Comment thread
greptile-apps[bot] marked this conversation as resolved.
Outdated
);

const baseUrl = useMemo(() => {
Expand Down
Loading