Repository navigation
feat: use tsk project titles for project names - #4
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 -pand tskdeck then show the same name.Changes
project_title. tsk omits this field when a project has no title, and the sidebar then shows the folder label.tsk project title <path> <title>. An empty name runstsk project title <path> --clear.projectNamessetting 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.This PR also releases 1.2.0.
Checks
vitestpasses (505 tests).cargo testpasses (94 tests). The contract tests pass against tsk 0.14.1, and they include a new test for project titles.projectNamesmoved into tsk, and the setting became empty.tsk project titleshowed in the sidebar after the store watcher refreshed the board.tsk list -p "<title>"found the project.title-takenreason.