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

API must return derived state for action group commitment #104

Open
mlajkim opened this issue Mar 30, 2024 · 0 comments
Open

API must return derived state for action group commitment #104

mlajkim opened this issue Mar 30, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@mlajkim
Copy link
Contributor

mlajkim commented Mar 30, 2024

Background

It is too hard to manage with just the current settings

  • beforeTime: Time has not passed yet to commit
  • beforeTimeFailure: Time has not passed yet to commit + but user claims that action cannot be done later
  • duringTime: Ideal time to commit
  • duringTimeCommit: Ideal time to commit + Committed
  • duringTimeFailure: Ideal time to commit + but user claims that action cannot be done later
  • afterTime: Time has passed
  • afterTimeCommit: Ideal time to commit + Committed (usually means it is late commitment, but still has done it)
  • afterTimeFailure: Ideal time to commit + but user claims that action cannot be done later
  • automated: just like posting a word, the commitment is managed by AJK Town. User cannot commit
  • and more ...?

These states above should not be directly saved but created with the following attributes:

  • createdAt: The creation time for the action group
  • isFailure: (default false, as the action itself is usually for successful commitment

TODOs

- [ ] 
- [ ] Make a documentation PR for the changes
@mlajkim mlajkim added the enhancement New feature or request label Mar 30, 2024
@mlajkim mlajkim self-assigned this Mar 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant