Skip to content

feat: use tsk project titles for project names - #4

Merged
s3rgiosan merged 3 commits into
mainfrom
feat/project-titles
Nov 18, 2026
Merged

s3rgiosan merged 3 commits into
mainfrom
feat/project-titles

Conversation

@s3rgiosan

Copy link
Copy Markdown
Owner

tsk 0.14.0 added project titles (smarzban/tsk#249). With tsk 0.14.0 or later, tskdeck uses the tsk project title as the project name. The terminal board, tsk -p and tskdeck then show the same name.

Changes

  • Each row reads the name from project_title. tsk omits this field when a project has no title, and the sidebar then shows the folder label.
  • Rename… runs tsk project title <path> <title>. An empty name runs tsk project title <path> --clear.
  • When tsk refuses a name, the Rename Project sheet stays open and shows the reason from tsk. The sheet also shows a failure that occurs after tsk set the title.
  • At launch, tskdeck moves the names in the projectNames setting into tsk. A project that has a tsk title keeps it. A refused name stays in the settings, and one alert shows each refused name and the reason.
  • With tsk older than 0.14.0, tskdeck keeps the names in its settings. The minimum tsk version is still 0.13.0.

This PR also releases 1.2.0.

Checks

  • vitest passes (505 tests). cargo test passes (94 tests). The contract tests pass against tsk 0.14.1, and they include a new test for project titles.
  • The debug build ran against a temporary tsk store and a temporary settings file:
    • At launch, a name in projectNames moved into tsk, and the setting became empty.
    • A title set with tsk project title showed in the sidebar after the store watcher refreshed the board.
    • Rename… set the title in tsk, and tsk list -p "<title>" found the project.
    • A title that another project uses kept the sheet open with the title-taken reason.

On tsk 0.14.0+, project name = tsk `project_title`. Rename runs
`tsk project title` (or `--clear`); sheet stays open with tsk refusal.
Launch moves names from `projectNames` setting into tsk; refused names
stay in settings, one alert lists them. Older tsk keeps local names.
@s3rgiosan
s3rgiosan merged commit 8693bb6 into main Nov 18, 2026
4 checks passed
@s3rgiosan
s3rgiosan deleted the feat/project-titles branch November 18, 2026 23:44
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