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

Dev to Main Sync #1293

Merged
merged 1 commit into from
Dec 8, 2024
Merged

Dev to Main Sync #1293

merged 1 commit into from
Dec 8, 2024

Conversation

Achintya-Chatterjee
Copy link
Member

@Achintya-Chatterjee Achintya-Chatterjee commented Dec 7, 2024

Date: 7th December, 2024

Developer Name: @Achintya-Chatterjee


Issue Ticket Number

PRs going in this sync

Description

Added modal for updating task progress and percentage

  • Restrict progress updates to tasks with status In Progress only.
  • Addressed the issue where users could update progress without providing updates or changing task status.
  • Ensures better task tracking and accountability.

Documentation Updated?

  • Yes
  • No

Under Feature Flag

  • Yes
  • No

Database Changes

  • Yes
  • No

Breaking Changes

  • Yes
  • No

Development Tested?

  • Yes
  • No

Screenshots

Screenshot 1
Screen.Recording.2024-12-08.at.23.12.52.mp4

Test Coverage

Screenshot 1 Screenshot 2024-12-08 at 23 19 41

Additional Notes

)

* feat: added modal for updating task progress - Require users to provide a task update before modifying progress percentage.
- Restrict progress updates to tasks with status In Progress only.
- Addressed the issue where users could update progress without providing updates or changing task status.
- Ensures better task tracking and accountability.

* fix: added the missing props

* fix: preserve modal styling after task progress update

Resolves an issue where the task update modal's styling
was reverting to default styles after submitting progress updates. The
implementation now maintains consistent styling throughout the update
process by properly managing the props on  modal state and preventing
unintended style resets.

* fix: restore progress bar in task details section

Reimplements the progress bar in task details section to be visible in both
default and dev mode, while ensuring updates are only possible through the
task update modal. Progress bar now maintains a read-only state in the
details view while remaining interactive in the modal.

* Test: progress update flow modal (#1291)

* fix: failing tests accroding to the component change

* test(TaskUpdateModal): add unit tests for TaskUpdateModal component

- Test rendering of modal in open and closed states
- Verify functionality of close button
- Ensure correct props are passed to ProgressContainer and ProgressForm
- Mock dependencies (Modal, ProgressContainer, ProgressForm) for isolation
- Validate display of current date

* fix: test cases after the component gets changed

* fix: improve test coverage for TaskUpdateModal component
Copy link

vercel bot commented Dec 7, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
status-app ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 7, 2024 8:58am

@iamitprakash iamitprakash merged commit b4b2045 into main Dec 8, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants