RealDevSquad / RealDevSquad/website-backend

Change the error message on providing task updates when update is given before 6:00AM IST

Open
#1,779 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

UX
Dominant language
JavaScript
Stars
74
Forks
276
Avg merge
1d 26m
Merged PRs (30d)
14

Description

Issue Description

When a task update is given before 6:00AM IST, it gives the message like Task progress for the day has already been created
The error message should guide the user about the specific time after which update can be given

For example I tried giving update on 13th dec at 5:45AM IST which was not already present and got the error.
image

image
Expected Behavior

An error message which guides the user to give the update after 6:00AM IST

Current Behavior

An error like Task progress for the day has already been created

Reproducibility
  • This issue is reproducible
  • This issue is not reproducible
Steps to Reproduce
  1. Try giving a task update before 6:00AM when the previous date update was already given
Severity/Priority
  • Critical
  • High
  • Medium
  • Low
Checklist
  • I have read and followed the project's code of conduct.
  • I have searched for similar issues before creating this one.
  • I have provided all the necessary information to understand and reproduce the issue.
  • I am willing to contribute to the resolution of this issue.

Thank you for contributing to our project! We appreciate your help in improving it.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Search the backend for the current "Task progress for the day has already been created" message and identify the task-update entry point. Reproduce an update before 6:00AM IST, then adjust the error wording so it tells users to submit after 6:00AM IST. Confirm the existing update behavior remains unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, nodejs
Domain
api, backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.