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/issue 918 - Status Site - Feature flag to remove redundant task status tabs #923

Conversation

aneenajohn
Copy link
Contributor

@aneenajohn aneenajohn commented Oct 9, 2023

Issue: #918 - Remove redundant second task status filter by tabs

Description:

There are two ways to filter the tasks based on task status on Tasks Page as shown below.

  • Filter 1 - Drop down filter
  • Filter 2 - Tabs to filter out the task as marked in the below image -- Need to remove this

image

Anything you would like to inform the reviewer about:

  • Have removed the filter by tabs component
  • Have fixed the search button handler and search input handling failing test cases
  • Have updated the test cases related to Tabs Comp to test only when dev is true

Dev Tested:

  • Yes

Is Under Feature Flag:

  • Yes
  • No
    image

Images/video of the change:

Large Screens Before:

image

Small Screens Before:

image

Video Reference:

After:
remove-secondary-task-tabs.mp4

Follow-up Issues (if any)

NA

Aneena John Xavier added 3 commits October 6, 2023 17:25
…rger devices and Select dropdown task filter for smaller devices are removed

Signed-off-by: Aneena John Xavier <[email protected]>
- Fixed failing test cases for seacrch button handler and input search
  param handling test cases on tasks pages
- Removed test cases corresponding to tabs component.
- Removed unneccesary import and variables corresponding to Tabs
  component in TasksContent.tsx
- css classes removed for the same in tasks scss module

Signed-off-by: Aneena John Xavier <[email protected]>
@vercel
Copy link

vercel bot commented Oct 9, 2023

Someone is attempting to deploy a commit to the RDS-Team Team on Vercel.

A member of the Team first needs to authorize it.

@sahsisunny
Copy link
Contributor

Please add test coverage report or screenshot.

@aneenajohn
Copy link
Contributor Author

Please add test coverage report or screenshot.

Please find the complete report below:

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.

test coverage stats

@sahsisunny
Copy link
Contributor

Can you add a feature flag to show the secondary dropdown? Because we did not discuss it with @ankurnarkhede and @iamitprakash (Tejas) to remove it.

@aneenajohn
Copy link
Contributor Author

aneenajohn commented Oct 11, 2023

test coverage stats
image

Aneena John Xavier added 9 commits October 11, 2023 18:58
… into fix/issue-918-remove-redundant-tab-section
- The secondary dropdown will be rendered on UI only with feature flag
  (ie) when dev is passed as true in queryparam `?dev=true`
- Updated task container css to compensate for the width reduction when the secondary status
  tab is removed.
- Test cases updated to test the secondary tabs only when dev is true

Signed-off-by: Aneena John Xavier <[email protected]>
Signed-off-by: Aneena John Xavier <[email protected]>
Aneena John Xavier added 4 commits October 23, 2023 08:35
…t render secondary tabs

Signed-off-by: Aneena John Xavier <[email protected]>
…title and desc should not with same values case

Signed-off-by: Aneena John Xavier <[email protected]>
@aneenajohn
Copy link
Contributor Author

@shubhamsigdar1 / @sahsisunny / @iamitprakash Please review

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.

please add proper PR desc

Copy link
Contributor

@shubhamsinghbundela shubhamsinghbundela left a comment

Choose a reason for hiding this comment

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

Want to know you taken latest pull from develop because my pr got merged #960

@aneenajohn aneenajohn changed the title Fix/issue 918 - Tasks Site => Remove redundant select task status tabs section Fix/issue 918 - Tasks Site => Feature flag to remove redundant secondary task status tabs section Oct 25, 2023
@aneenajohn
Copy link
Contributor Author

aneenajohn commented Oct 25, 2023

Want to know you taken latest pull from develop because my pr got merged #960

@shubhamsigdar1, Yes latest pull from develop is taken into this working branch

image

@aneenajohn
Copy link
Contributor Author

please add proper PR desc

Updated now, please check

@aneenajohn aneenajohn changed the title Fix/issue 918 - Tasks Site => Feature flag to remove redundant secondary task status tabs section Fix/issue 918 - Tasks Site => Feature flag to remove redundant second task status filter by tabs Oct 25, 2023
@aneenajohn aneenajohn changed the title Fix/issue 918 - Tasks Site => Feature flag to remove redundant second task status filter by tabs Fix/issue 918 - Status Site => Feature flag to remove redundant second task status filter by tabs Oct 27, 2023
@aneenajohn aneenajohn changed the title Fix/issue 918 - Status Site => Feature flag to remove redundant second task status filter by tabs Fix/issue 918 - Status Site - Feature flag to remove redundant task status tabs Oct 27, 2023
Copy link
Contributor

@Pratiyushkumar Pratiyushkumar left a comment

Choose a reason for hiding this comment

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

Also, please actively get this PR merged as this PR is a blocker for all the tasks regarding task card enforcement.

src/components/tasks/TasksContent.tsx Outdated Show resolved Hide resolved
src/components/tasks/TasksContent.tsx Show resolved Hide resolved
src/constants/task.ts Outdated Show resolved Hide resolved
__tests__/Unit/Components/Tasks/TasksContent.test.tsx Outdated Show resolved Hide resolved
__tests__/Unit/Components/Tasks/TasksContent.test.tsx Outdated Show resolved Hide resolved
src/styles/tasks.module.scss Outdated Show resolved Hide resolved
Aneena John Xavier added 2 commits October 27, 2023 12:38
Aneena John Xavier added 2 commits October 27, 2023 18:18
@iamitprakash iamitprakash merged commit d3f7186 into Real-Dev-Squad:develop Oct 27, 2023
1 check passed
@skv93-coder skv93-coder mentioned this pull request Oct 31, 2023
11 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.

5 participants