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

Fix/remove outdated fields #914

Merged

Conversation

sunilk429
Copy link
Contributor

@sunilk429 sunilk429 commented Nov 17, 2024

Date: 17th November, 2024

Developer Name: Sunil Kumar


Issue Ticket Number

Description

The following fields needs to be removed according to new requirements
featureUrl
feature/group radio button
Task level section
category
level

Documentation Updated?

  • Yes
  • No

Under Feature Flag

  • Yes
  • No

Database Changes

  • Yes
  • No

Breaking Changes

  • Yes
  • No

Development Tested?

  • Yes
  • No

Screenshots

Screenshot 1

imageimage

Test Coverage

Screenshot 1
image image ## Additional Notes

Copy link
Member

@iamitprakash iamitprakash left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where is test

task/script.js Outdated
@@ -192,28 +216,32 @@ taskForm.onsubmit = async (e) => {
delete dataToBeSent.endsOn;
}

if (status === 'AVIALABLE') {
if (status === 'AVAILABLE') {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don’t we have any enum available here

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nope, I couldn't find any

Copy link
Contributor

@prakashchoudhary07 prakashchoudhary07 Nov 30, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Then please create it and use it

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Then please create it and use it

Did it, please do review

@@ -0,0 +1,106 @@
const API_BASE_URL = 'https://api.realdevsquad.com';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we already have defined the based URL in the test config can you please check

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have checked, I couldnt find can you tell me which file?
Also if you check task-dependency.test.js also has const API_BASE_URL = 'https://api.realdevsquad.com'; let me know if it can be replaced

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use data test id instead of classes and id

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can but this code has later to be removed anyways, why should we update index.html and add data test id's, id's and classes seems fine, isn't it?

yesyash
yesyash previously approved these changes Nov 28, 2024
@sunilk429 sunilk429 force-pushed the fix/remove-outdated-fields branch from 83db091 to 14374bd Compare December 2, 2024 19:46
@iamitprakash iamitprakash merged commit cf01917 into Real-Dev-Squad:develop Dec 4, 2024
@sunilk429 sunilk429 mentioned this pull request Dec 17, 2024
10 tasks
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.

Enhance Create Task Form(according to new requirements)
6 participants