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

Edit task modal: Apply button should be unavailable when dates are inconsistent with the status #3134

Open
4 tasks done
ilandikov opened this issue Oct 21, 2024 · 1 comment
Labels
scope: edit task The Create or edit task modal/dialog type: enhancement New feature or request

Comments

@ilandikov
Copy link
Collaborator

⚠️ 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

Do not allow "Apply" if there are dates inconsistent with status:

  • if status is todo, done and cancelled date should be empty
  • if status is done, cancelled date should be empty
  • if status is cancelled, done date should be empty

✔️ Solution

Check dates against status in DateEditor for cancelled and done dates.

❓ Alternatives

No response

📝 Additional Context

@ilandikov ilandikov added type: enhancement New feature or request scope: edit task The Create or edit task modal/dialog labels Oct 21, 2024
@ilandikov
Copy link
Collaborator Author

ilandikov commented Oct 21, 2024

If/when this is done, the #2986 and #3136 may be irrelevant

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 type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant