ccsync icon indicating copy to clipboard operation
ccsync copied to clipboard

Editing waitField results in a black screen

Open ShivaGupta-14 opened this issue 11 months ago • 6 comments

Describe the bug When editing a waitField, the screen goes completely black. The app breaks and needs a page refresh to work again.

To Reproduce Steps to reproduce the behavior:

  1. Go to http://localhost:5173/home
  2. Select any task whose waitField is filled
  3. Click on a waitField to edit it
  4. Screen goes black and becomes unresponsive

Expected behavior The DatePicker should open normally when editing.

Video

https://github.com/user-attachments/assets/d8c7adbd-09ea-43c0-b2e7-f174c46e0b92

Desktop (please complete the following information):

  • OS: macOS
  • Browser: Chrome
  • Version: Latest

Additional context

Console error: Uncaught RangeError: Invalid time value at DatePicker (date-picker.tsx:38:19)

The error occurs in the <DatePicker> component inside the table when trying to edit a field. The DatePicker is receiving an invalid date value (likely null, undefined, or incorrectly formatted). This causes the component to crash and render a black screen.

Error boundary stack trace shows the error propagates through:

  • DatePicker → table.tsx → dialog.tsx → Tasks component

The issue is that waitField data isn't being passed correctly to the DatePicker on edit mode.

  • [X] I want to work on this issue.

ShivaGupta-14 avatar Dec 07 '25 14:12 ShivaGupta-14

hey @ShivaGupta-14 bro do you use twitter or discord

Neeraj-gagat avatar Dec 07 '25 15:12 Neeraj-gagat

Hi, @Neeraj-gagat! Yes, I am on both. Discord

ShivaGupta-14 avatar Dec 07 '25 16:12 ShivaGupta-14

Hi, @Neeraj-gagat! Yes, I am on both. Discord

Let's connect it's my twitter @neeraj_tw

Neeraj-gagat avatar Dec 07 '25 17:12 Neeraj-gagat

Hi @Neeraj-gagat! I’m not very active on Twitter, but I’m always available on Discord, let’s connect there!

ShivaGupta-14 avatar Dec 12 '25 13:12 ShivaGupta-14

Hi, @Neeraj-gagat! Yes, I am on both. Discord

This discord link is not working bro

Neeraj-gagat avatar Dec 12 '25 15:12 Neeraj-gagat

@Neeraj-gagat

check this one -> discordapp.com/users/1368859909533466656

Hi, @Neeraj-gagat! Yes, I am on both. Discord

This discord link is not working bro

ShivaGupta-14 avatar Dec 12 '25 16:12 ShivaGupta-14