Open VinayakaHegade opened 3 months ago
@ajoykumardas12 . I think import order might be changed because of some of the vs code extensions. And can you let me know what should be the import order that needs to maintained.
And regarding test changes , as i removed the dev flag related code currently changed tests were failing. So removed the unnecessary tests and modified the needed one.
Main changes in tests are because of removal of this piece of code in ProgressDetails component. ` <li onClick={openDetails} className={styles['list-item']} data-testid="progress-item"
{getDateFromTimestamp(data.date)} `
data-testid="progress-item"
was used for querying in ProgressDetails.test.tsx and ProgressCard.test.tsx. So it is the reason for test changes in those two files.
And modal related tests are deleted in ProgressDetails.test.tsx because, after the dev flag removal showProgressDetails
state would never become true and modal will not open, so modal tests are deleted.
I think import order might be changed because of some of the vs code extensions. And can you let me know what should be the import order that needs to maintained.
I don't think status site has specified import order to follow, unrelated changes to import would be unnecessary though. But, if you want to follow import order, I think first react,nextjs imports, then other libraries, then components, utils, then styles, icons would be good.
Can you please add a working proof after removing the feature flag
Hey @Achintya-Chatterjee , I have added screen recording of working demo in the screenshots section above. Can you review it again and check if it can be approved.
In new progress updates view, there was an issue where we were not able to view all details(like Next update, Blockers) for old updates. Is that fixed?
cc: @satyam73
In new progress updates view, there was an issue where we were not able to view all details(like Next update, Blockers) for old updates. Is that fixed?
cc: @satyam73
Details like Next update, blockers were earlier shown in modal. But the new progress update view doesn't have any modal and shows only Title and time in days ago format for old updates.
This PR doesn’t intend to fix any bugs. It’s about removing the dev flag in the taskDetails page as Ankush had asked.
If this needs to be put on hold until the bug is fixed, please let me know @Ajeyakrishna-k.
In new progress updates view, there was an issue where we were not able to view all details(like Next update, Blockers) for old updates. Is that fixed? cc: @satyam73
Details like Next update, blockers were earlier shown in modal. But the new progress update view doesn't have any modal and shows only Title and time in days ago format for old updates.
This PR doesn’t intend to fix any bugs. It’s about removing the dev flag in the taskDetails page as Ankush had asked.
If this needs to be put on hold until the bug is fixed, please let me know @Ajeyakrishna-k.
Yep, please have a look at these messages:
https://discord.com/channels/673083527624916993/741616265050849282/1194286232071573636 https://discord.com/channels/673083527624916993/741616265050849282/1195018552428736642
In new progress updates view, there was an issue where we were not able to view all details(like Next update, Blockers) for old updates. Is that fixed?
cc: @satyam73
Not now I had previously raised PR in which modal can be opened then Ankush told me to expand the card.
The PR for modal is here (which is not the requirement now) - https://github.com/Real-Dev-Squad/website-status/pull/1075
I haven't worked on expanding the card part.
Date: 26-01-2024
Developer Name: @VinayakaHegade
Issue Ticket Number
closes #1081
Description
Removed feature flag from task detail page in status site. https://status.realdevsquad.com/tasks/zkvbxo39CByKmND1mx4Y
Documentation Updated?
Under Feature Flag
Database Changes
Breaking Changes
Development Tested?
Screenshots
Before
![before](https://github.com/Real-Dev-Squad/website-status/assets/88454618/023e8bab-432f-4dc8-bcde-837c6a410662)After
![after](https://github.com/Real-Dev-Squad/website-status/assets/88454618/7e35b471-ece1-4e42-860e-68985cac3e5e)https://github.com/Real-Dev-Squad/website-status/assets/88454618/bb264521-445a-4b6a-8899-a05c8fbfa555
Test Coverage
Screenshot 1
![coverage](https://github.com/Real-Dev-Squad/website-status/assets/88454618/096e10ee-07d9-477c-aa46-8ce7e58977f4)Additional Notes