Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Teach the Edit Task modal to edit the 'On Completion' property #3222

Open
4 tasks done
claremacrae opened this issue Dec 5, 2024 · 0 comments
Open
4 tasks done

Teach the Edit Task modal to edit the 'On Completion' property #3222

claremacrae opened this issue Dec 5, 2024 · 0 comments
Labels
scope: edit task The Create or edit task modal/dialog scope: lifecycle of tasks Issues to do with deletion or moving of tasks upon completion. See also 'scope: managing tasks' scope: managing tasks Things such as deleting or moving tasks between files. See also 'scope: lifecycle of tasks' type: enhancement New feature or request

Comments

@claremacrae
Copy link
Collaborator

claremacrae commented Dec 5, 2024

⚠️ Please check that this feature request hasn't been suggested before.

  • I searched previous Ideas in Discussions didn't find any similar feature requests.
  • I searched previous Issues didn't find any similar feature requests.
  • I am only requesting a single feature. Multiple changes should be split into individual requests, with links between them.
  • I believe my requested feature will be generally applicable to other users, not just me: it is not uniquely tied to my personal workflow.

🔖 Feature description

The documentation for On Completion currently says:

screenshot of Tasks user docs about 'On Completion', saying it does not yet support editing of 'On Completion' with the Edit Task Modal

This is to track that request.

✔️ Solution

Add an option in the Edit Task modal to allow setting and clearing the On Completion field.

Initially, it only needs to support:

export enum OnCompletion {
Ignore = '',
Keep = 'keep', // Like Ignore, but is visible on task lines
Delete = 'delete',
}

Users likely don't care about the difference between Ignore and Keep - so probably just offer one of them...

So perhaps the options would be:

What to do with this task when it is completed?
- Keep it [applies `Ignore`] - the default
- Delete it [applies `Delete`]

Possible design

There will eventually be other options supplied... So eventually more options will be needed in the modal.
It doesn't matter whether the first design is specific to the current options, or is obviously extensible to more options later on...

One user on Discord suggested putting the option here, after Start:

image

I had presumed it would go in the Status section at the bottom.

Another option is to put it near Recurs as I suggest that the On Completion facility is perhaps most used with Recurring tasks...

❓ Alternatives

For now, the only other option is to use Auto Suggest.

📝 Additional Context

No response

@claremacrae claremacrae added type: enhancement New feature or request scope: managing tasks Things such as deleting or moving tasks between files. See also 'scope: lifecycle of tasks' scope: lifecycle of tasks Issues to do with deletion or moving of tasks upon completion. See also 'scope: managing tasks' scope: edit task The Create or edit task modal/dialog labels Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope: edit task The Create or edit task modal/dialog scope: lifecycle of tasks Issues to do with deletion or moving of tasks upon completion. See also 'scope: managing tasks' scope: managing tasks Things such as deleting or moving tasks between files. See also 'scope: lifecycle of tasks' type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant