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

Calvin/appeals 29522 hide legacy tasks #19341

Merged

Conversation

calvincostaBAH
Copy link
Contributor

Resolves APPEALS-29522

Description

Changed how hide_legacy_tasks works, so we could simply identify the scenarios where we would want to hide legacy tasks in case details.

Acceptance Criteria

  • Code compiles correctly
  • legacy tasks are shown at all times except when a legacy appeal has an AMA JudgeAssignTask, AttorneyTask or JudgeDecisionReviewTask

Testing Plan

Steps to Reproduce:
Generate a Scenario1Edge Task using the rake generator, then enter the case details of one of the generated cases.

Previous Results:
Cases with blocking tasks such as Foia tasks, they will not show the legacy task due to the current conditions to hiding legacy tasks in the task_for_appeal.rb file

New Results:
Any blocking tasks on these scenarios will also appear with the distribution task and any legacy task

Frontend

User Facing Changes

Scenario 1 - Shows legacy tasks ✔️
image

Scenario 1 Edge - Shows legacy tasks ✔️
image

Scenario 2 - Shows legacy tasks ✔️
image

Scenario 3 - Does not show legacy tasks ✔️
image

Scenario 4 - Does not show legacy tasks ✔️
image

Scenario 6 - Does not show legacy tasks ✔️
image

@calvincostaBAH calvincostaBAH changed the base branch from master to feature/APPEALS-24914 August 31, 2023 20:41
@codeclimate
Copy link

codeclimate bot commented Aug 31, 2023

Code Climate has analyzed commit 4af6484 and detected 116 issues on this pull request.

Here's the issue category breakdown:

Category Count
Duplication 22
Complexity 23
Style 71

View more on Code Climate.

@cacevesva cacevesva marked this pull request as ready for review September 1, 2023 15:17
@cacevesva cacevesva merged commit c3b4b95 into feature/APPEALS-24914 Sep 1, 2023
0 of 14 checks passed
@cacevesva cacevesva deleted the Calvin/APPEALS-29522-hide-legacy-tasks branch April 25, 2024 20:55
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.

3 participants