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

Feature/appeals 60433 DRAFT PR #23151

Draft
wants to merge 618 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
618 commits
Select commit Hold shift + click to select a range
6d652e9
Correspondence Controller params not being restricted (#21866)
Rnmarshall93 Jun 18, 2024
9d20474
Remove has_many for correspondence_intakes & remove .tap in seed file
cacevesva Jun 20, 2024
5bb633b
Merge branch 'feature/APPEALS-13579-v1' into feature/APPEALS-36284-S5
HunJerBAH Jun 20, 2024
edf8045
removed ID offset for correspondence type selection in ReviewForm.jsx
HunJerBAH Jun 20, 2024
18a82a6
[APPEALS-44296] - JAWS does not read info (#21957)
psivakeshva Jun 21, 2024
dac9468
Merge branch 'feature/APPEALS-13579-v1' into feature/APPEALS-41477-S5
cacevesva Jun 21, 2024
73c7099
Merge branch 'master' into feature/APPEALS-13579-v1
cacevesva Jun 24, 2024
0afa9d0
Divyandryan/bannerfix combo draft (#21965)
Rnmarshall93 Jun 24, 2024
836ef45
Merge branch 'feature/APPEALS-13579-v1' into feature/APPEALS-41477-S5
cacevesva Jun 24, 2024
95c3e59
Fix for Network error after mail team user submits Request Remove Pac…
vinner57 Jun 25, 2024
c9cf1ad
Khalin/APPEALS - 48580 Fixing rspec Tests (#22010)
Dev-KRedd Jun 26, 2024
111a143
Justin/APPEALS-46818 (#21974)
sulak-j Jun 26, 2024
d32a68a
Ki/APPEALS-48218 - Refactor & Fix Failing Correspondence Related Test…
KiMauVA Jun 26, 2024
1266883
fixing an accidental bug where a bullet point containing a single err…
sulak-j Jun 27, 2024
4692c7a
updated multi correspondence banner wording.
HunJerBAH Jun 27, 2024
e425775
Ki/APPEALS-48218-b Updating CodeClimate Concerns (#22039)
KiMauVA Jun 27, 2024
9e93588
APPEALS-49507: NOD on Correspondence Seed Data Inconsistent with Docu…
IsaiahBar Jun 27, 2024
4201ac6
Merge branch 'feature/APPEALS-36284-S5' into feature/APPEALS-13579-v1
HunJerBAH Jun 28, 2024
dad965f
Merge branch 'feature/APPEALS-41477-S5' into feature/APPEALS-13579-v1
cacevesva Jun 28, 2024
402493d
Merge branch 'master' into feature/APPEALS-13579-v1
cacevesva Jun 28, 2024
f93d2af
Update spec to 151
cacevesva Jun 28, 2024
0d02e08
Save Button Is Not Enabled When VA DOR Date Is Updated (#22049)
vinner57 Jul 2, 2024
030feaf
Add back the correspondence helper_method line to explain controller …
cacevesva Jul 2, 2024
2ba157b
APPEALS-50693: Create Bash Script to Run Tests on Git Commit and PR R…
HunJerBAH Jul 3, 2024
afca32d
Merge branch 'feature/APPEALS-13579-v1' into feature/APPEALS-43876-S6
HunJerBAH Jul 3, 2024
e6dcd51
updated parameters in controller to permit batch id (#22084)
HunJerBAH Jul 3, 2024
110a2b9
Update explain controller appeal_affinity to test if appeal is a corr…
cacevesva Jul 5, 2024
3b9072c
added guard clause to response (#22113)
HunJerBAH Jul 9, 2024
a821384
APPEALS-51209: UAT Test Data Workflow Does Not Create Documents When …
HunJerBAH Jul 9, 2024
6a2199d
Reforged
KiMauVA Jul 9, 2024
b915854
Reinstante VetCorrespondence
KiMauVA Jul 10, 2024
a8cc332
Sivakesh/appeals 48375 (#22064)
psivakeshva Jul 10, 2024
a873a15
correspondence_details temporary fix
KiMauVA Jul 10, 2024
80d1705
Refactor Review Package Frontend (#22073)
Rnmarshall93 Jul 11, 2024
5985888
Sivakesh/appeals 48375 (#22064)
psivakeshva Jul 10, 2024
52b0ba0
Refactor Review Package Frontend (#22073)
Rnmarshall93 Jul 11, 2024
f3a9467
Update Scope
KiMauVA Jul 11, 2024
95ec7d0
Revert "Update Scope"
HunJerBAH Jul 11, 2024
6b4b9c6
updated review package routes
HunJerBAH Jul 11, 2024
759106a
Intake Updates
KiMauVA Jul 11, 2024
1ef8d5d
APPEALS-51367: Fixed Bug with Improper Routes in Review Package (#22126)
HunJerBAH Jul 11, 2024
c8a21e4
APPEALS-50730 : Auto Assign Algorithm Continues when No Available Use…
IsaiahBar Jul 12, 2024
8b21233
Refactor Review Package Frontend (#22073)
Rnmarshall93 Jul 11, 2024
c50717c
APPEALS-51367: Fixed Bug with Improper Routes in Review Package (#22126)
HunJerBAH Jul 11, 2024
f6c1035
APPEALS-50730 : Auto Assign Algorithm Continues when No Available Use…
IsaiahBar Jul 12, 2024
d03871d
APPEALS-42516 - Controller Updates, Spec and Route details
KiMauVA Jul 12, 2024
1fcc382
Merge branch 'feature/APPEALS-43876-S6' into Ki/APPEALS-42516
KiMauVA Jul 12, 2024
e8fc48e
removed unused task (#22143)
HunJerBAH Jul 12, 2024
ab2be30
Remove facols file
KiMauVA Jul 12, 2024
3ce3bff
Merge branch 'feature/APPEALS-43876-S6' into Ki/APPEALS-42516
cacevesva Jul 12, 2024
23586b3
Merge branch 'master' into feature/APPEALS-13579-v1
cacevesva Jul 12, 2024
552a10c
Remove duplicate gem file line with alternate ref
cacevesva Jul 12, 2024
e37c1ed
Feature/appeals 43876 s6 (#22076)
cacevesva Jul 12, 2024
dbcf83d
Merge branch 'Ki/APPEALS-42516' into feature/APPEALS-34965
cacevesva Jul 12, 2024
4022d77
Resolve correspondence style conflicts
cacevesva Jul 12, 2024
eb639eb
Fix lint offense
cacevesva Jul 12, 2024
de5a973
Vinner57/appeals 51228 code climate (#22156)
vinner57 Jul 15, 2024
2a581b9
Merge branch 'feature/APPEALS-13579-v1' into feature/APPEALS-34965
cacevesva Jul 15, 2024
27276b2
Correspondence CSS Issues - Using Glamor instead of classnames (#22173)
Rnmarshall93 Jul 16, 2024
bce2c77
Merge branch 'feature/APPEALS-13579-v1' into feature/APPEALS-34965
cacevesva Jul 16, 2024
c548777
Merge branch 'master' into feature/APPEALS-13579-v1
cacevesva Jul 16, 2024
1b72a66
Merge branch 'feature/APPEALS-13579-v1' into feature/APPEALS-34965
cacevesva Jul 16, 2024
93d1f8e
APPEALS-42516 - CSS Updates (#22191)
KiMauVA Jul 16, 2024
e59243f
Completed Tabs link code modifications (#22192)
divyadasari-va Jul 17, 2024
5123cc5
verbiage change (#22217)
divyadasari-va Jul 18, 2024
75f7e12
APPEALS-51992: Veteran Name Does Not update when file number changed …
HunJerBAH Jul 18, 2024
edd8d35
made edit to review form so that only supervisors could edit the VA D…
HunJerBAH Jul 18, 2024
285234d
APPEALS-51383: Resolve Bugs with Inbound Ops team Queues on Switch Vi…
HunJerBAH Jul 18, 2024
d374783
APPEALS-51552: Test Appeal Organization tables (#22237)
HunJerBAH Jul 19, 2024
7ec969d
verbiage change (#22217)
divyadasari-va Jul 18, 2024
4d284fb
APPEALS-51992: Veteran Name Does Not update when file number changed …
HunJerBAH Jul 18, 2024
888daba
made edit to review form so that only supervisors could edit the VA D…
HunJerBAH Jul 18, 2024
c467b6e
APPEALS-51383: Resolve Bugs with Inbound Ops team Queues on Switch Vi…
HunJerBAH Jul 18, 2024
db1db7a
APPEALS-51552: Test Appeal Organization tables (#22237)
HunJerBAH Jul 19, 2024
9965f06
Merge branch 'feature/APPEALS-13579-v1' into feature/APPEALS-34965
HunJerBAH Jul 19, 2024
aff244a
Justin/APPEALS-50741 (#22219)
sulak-j Jul 19, 2024
5627633
adding temporary under_constructions task urls for merge and split ta…
sulak-j Jul 22, 2024
a56eed0
Ki/APPEALS-42518 - All users: Can view correspondence record status (…
KiMauVA Jul 23, 2024
b492dfe
Sivakesh/APPEALS-42522 - Completed Mail Tasks (#22254)
psivakeshva Jul 23, 2024
30228ea
Div/appeals 50296 (#22266)
divyadasari-va Jul 24, 2024
fac8b9b
Removed the Inbound ops Team from rejected_orgs (#22284)
divyadasari-va Jul 24, 2024
05c4e0c
Khalin/appeals 42564 v3 (#22304)
Dev-KRedd Jul 25, 2024
57783fc
Vinner57/appeals 42526 Correspondence and Appeal Tasks: Can view exis…
vinner57 Jul 25, 2024
25b6ccf
Sivakesh/APPEALS-42522 - Completed Mail Tasks (#22303)
psivakeshva Jul 25, 2024
6a57169
APPEALS-49005 - Bugfix: Reassign Correspondence Allows Reassignment t…
KiMauVA Jul 25, 2024
5357e9c
Merge branch 'master' into feature/APPEALS-13579-v1
cacevesva Jul 26, 2024
7f2145b
Merge branch 'feature/APPEALS-13579-v1' into feature/APPEALS-34965
cacevesva Jul 26, 2024
754b7f5
Kev ma/appeals 51520 seeddata fix (#22307)
Kevma50287 Jul 26, 2024
4a6a054
APPEALS-51520: ClaimEvidenceApi::Error::ClaimEvidenceUnauthorized in …
HunJerBAH Jul 26, 2024
a33937f
Appeals-42530: Correspondence and Appeal Tasks: Tasks not related to …
IsaiahBar Jul 26, 2024
af190eb
added back in 10182 check for nod (#22316)
HunJerBAH Jul 26, 2024
0d6cead
Merge branch 'feature/APPEALS-13579-v1' into feature/APPEALS-34965
cacevesva Jul 26, 2024
865ce59
508 fix for mail tasks (#22318)
cacevesva Jul 26, 2024
32fe1e7
APPEALS-49005 - Additional changes for BulkAssignArea dropdown assign…
KiMauVA Jul 26, 2024
8cf5491
Fix for Package document type (#22309)
divyadasari-va Jul 26, 2024
513c287
Vinner57/appeals 42526 bugfix (#22313)
vinner57 Jul 29, 2024
3bd8186
Updated the spec file with package document type link verification (#…
divyadasari-va Jul 29, 2024
32303cd
APPEALS-42531 - Correspondence Cases: Pending tab: FOIA request link …
IsaiahBar Jul 30, 2024
20dea22
Fix for Inbound Ops Team shows in Assign to team Task action (#22349)
divyadasari-va Jul 31, 2024
751ce59
Merge branch 'master' into feature/APPEALS-13579-v1
cacevesva Jul 31, 2024
51b72e3
Merge branch 'feature/APPEALS-13579-v1' into feature/APPEALS-34965
cacevesva Jul 31, 2024
2f208fb
Added a space between the intake and create record buttons (#22360)
divyadasari-va Jul 31, 2024
3d28fd2
Color fix (#22369)
divyadasari-va Jul 31, 2024
8723cfa
APPEALS-42525 - Package Details: General Information (#22350)
KiMauVA Jul 31, 2024
99173fe
Fix for Package document type (#22309)
divyadasari-va Jul 26, 2024
0a6b284
APPEALS-49005 - Additional changes for BulkAssignArea dropdown assign…
KiMauVA Jul 26, 2024
3cb2c0c
APPEALS-49005 - Bugfix: Reassign Correspondence Allows Reassignment t…
KiMauVA Jul 25, 2024
8cc5b4b
Correspondence and Appeal Tasks: Tasks not related to an Appeal - fix…
Rnmarshall93 Aug 1, 2024
57f5e1d
Code climate fix (#22377)
divyadasari-va Aug 1, 2024
180e1f0
Merge branch 'feature/APPEALS-13579-v1' into feature/APPEALS-34965
cacevesva Aug 1, 2024
b191b2b
Color fix (#22379)
divyadasari-va Aug 1, 2024
2e4fbef
update mail_task.rb (#22376)
IsaiahBar Aug 1, 2024
9aefc89
Revert "update mail_task.rb (#22376)" (#22385)
cacevesva Aug 2, 2024
983b4f2
APPEALS-42525 - Switching tests to Jest (#22392)
KiMauVA Aug 2, 2024
e345433
Correspondence and Appeal Tasks: Tasks not related to an Appeal (#22394)
Rnmarshall93 Aug 2, 2024
73ee0de
IsaiahB/APPEALS-53208 (#22410)
IsaiahBar Aug 5, 2024
f09754d
adding all correspondences table (#22415)
vinner57 Aug 7, 2024
22ee226
Rspec test fixes (#22411)
divyadasari-va Aug 7, 2024
640faf7
APPEALS-42525 - Update Styling (#22424)
KiMauVA Aug 7, 2024
63165da
Sivakesh/Appeals-42642 - Associate Prior Mail to only show Pending or…
psivakeshva Aug 8, 2024
eca8845
Caceves/appeals 53755 code climate fixes (#22427)
cacevesva Aug 8, 2024
db0b900
Sivakesh/appeals 51904 - 508: Jaws doesn't read options on the corres…
psivakeshva Aug 8, 2024
2881e0b
CodeClimate fixes for User tests 'correspondence_queue_enabled?' at l…
divyadasari-va Aug 9, 2024
c155d1c
Removed the Inbound ops Team from rejected_orgs (#22284)
divyadasari-va Jul 24, 2024
a62a5be
Fix for Inbound Ops Team shows in Assign to team Task action (#22349)
divyadasari-va Jul 31, 2024
3595075
Code climate fix (#22377)
divyadasari-va Aug 1, 2024
36acc96
Merge branch 'master' into feature/APPEALS-13579-v1
cacevesva Aug 12, 2024
dad8004
Merge branch 'feature/APPEALS-13579-v1' into feature/APPEALS-34965
cacevesva Aug 12, 2024
c1542c5
IsaiahB/APPEALS-53208 (#22410)
IsaiahBar Aug 5, 2024
0511d31
Ki/APPEALS-48371 - Refactor correspondence_cases_spec.rb (#22474)
KiMauVA Aug 14, 2024
557d05c
Ki/APPEALS-48371 - Refactor correspondence_cases_spec.rb (#22474)
KiMauVA Aug 14, 2024
d73ab01
Merge branch 'feature/APPEALS-13579-v1' into feature/APPEALS-34965
cacevesva Aug 16, 2024
46d908d
Div/appeals 42524 (#22471)
divyadasari-va Aug 20, 2024
6b6126c
Merge branch 'master' into feature/APPEALS-13579-v1
cacevesva Aug 22, 2024
fdcd06f
Merge branch 'feature/APPEALS-13579-v1' into feature/APPEALS-34965
cacevesva Aug 22, 2024
cd6f204
Correspondence and Appeal Tasks: Related Appeals: Can view tasks adde…
Rnmarshall93 Aug 22, 2024
a46d171
APPEALS-53014 and APPEALS-53057: Correspondence Details Pending Statu…
HunJerBAH Aug 22, 2024
d4adc2b
Create Associated Prior Mail: Can view all associated prior mail (#2…
vinner57 Aug 23, 2024
eeddd15
Merge branch 'master' into feature/APPEALS-34965
HunJerBAH Aug 23, 2024
11c05d5
Merge branch 'master' into feature/APPEALS-13579-v1
HunJerBAH Aug 23, 2024
8284d6b
Div/appeals 42524 a (#22580)
divyadasari-va Aug 23, 2024
f04ee2a
Merge branch 'feature/APPEALS-13579-v1' into feature/APPEALS-34965
cacevesva Aug 23, 2024
19b78c0
Task Actions: Other motion: Cancel - APPEALS-42565 (#22334)
Dev-KRedd Aug 23, 2024
57d23ad
Correspondence and Appeal Tasks: Can view Veteran documents by select…
Rnmarshall93 Aug 26, 2024
a32ebc2
Updated - Khalin/appeals 42565 (#22627)
Dev-KRedd Aug 28, 2024
79274e9
Ki/APPEALS-49727 - Task Actions: Other motion: Mark Task Complete (#2…
KiMauVA Aug 29, 2024
e3deb36
Code Climate duplicate clean-up (#22659)
KiMauVA Aug 29, 2024
f802313
Sivakesh/appeals 49703 change task type (#22632)
psivakeshva Aug 29, 2024
350fdf8
Khalin/appeals 42565 Modal Text Fix (#22667)
Dev-KRedd Aug 29, 2024
5fce492
Adding reason while creating EfolderUploadFailedTask (#22675)
vinner57 Aug 30, 2024
5a4d2a4
Div/appeals 49715 a (#22574)
divyadasari-va Aug 30, 2024
89938ea
Sivakesh/appeals 49703 update tasks list (#22682)
psivakeshva Aug 30, 2024
3250854
Div/appeals 49715 quick fix (#22693)
divyadasari-va Sep 3, 2024
3cfe012
fix code climate (#22690)
vinner57 Sep 3, 2024
d8aebaf
Justin/APPEALS-49739-fix (#22683)
sulak-j Sep 4, 2024
6a214dc
APPEALS-56844: Correspondence Mail Tasks Not Using Correct Action Inh…
HunJerBAH Sep 4, 2024
a91d0c1
APPEALS-49739-code-cleanup (#22720)
sulak-j Sep 5, 2024
a8014b7
APPEALS-49739: Task Actions Showing After Reassignment (#22732)
HunJerBAH Sep 5, 2024
30ab416
Ki/APPEALS-51359 - Only render Correspondences that are in Pending or…
KiMauVA Sep 6, 2024
6fe3b68
assigned to person label change to match AC wording (#22756)
sulak-j Sep 6, 2024
0ce0fd9
Kev ma/appeals 54867 (#22754)
Kevma50287 Sep 9, 2024
d3257d3
Div/task actions feature test specs (#22697)
divyadasari-va Sep 9, 2024
5b904db
Sivakesh/appeals 49886 add jest tests (#22750)
psivakeshva Sep 9, 2024
ff00a4d
Merge branch 'master' into feature/APPEALS-34965
HunJerBAH Sep 10, 2024
b288fbe
Updated Snapshots from master merge
HunJerBAH Sep 10, 2024
9508787
Kev ma/appeals 55015 (#22764)
Kevma50287 Sep 11, 2024
ca7fa05
Div/appeals 57463 (#22779)
divyadasari-va Sep 11, 2024
02e020a
added polymorphic association to correspondence task Correspondence r…
HunJerBAH Sep 11, 2024
9c776f0
WIP removing current_user from assign to drop down list (#22826)
cacevesva Sep 13, 2024
142f3ee
APPEALS-50389: Correspondence Inbound Ops Team shows in Assign to tea…
HunJerBAH Sep 13, 2024
5f8bb08
APPEALS-49892: Dev - Update backend tests (#22713)
Dev-KRedd Sep 13, 2024
9cb788f
Sivakesh/appeals 42568 (#22814)
psivakeshva Sep 17, 2024
ba4def8
Div/appeals 42562 (#22812)
divyadasari-va Sep 19, 2024
6551dbb
Sivakesh/appeals 42568 (#22882)
psivakeshva Sep 19, 2024
9efd393
JustinRyan/correspondence-pending-tab-specs (#22857)
sulak-j Sep 19, 2024
1df951c
Correspondence and Appeal Tasks: Inbound Ops Team Users: Related Appe…
vinner57 Sep 20, 2024
80f763d
Merge branch 'main' into feature/APPEALS-34965
cacevesva Sep 20, 2024
0dd345e
Khalin/appeals 42561 (#22797)
Dev-KRedd Sep 20, 2024
9b5782f
Div/appeals 58967 (#22900)
divyadasari-va Sep 20, 2024
0ac90e9
Success Banner on update (#22919)
Dev-KRedd Sep 23, 2024
b4c096d
#APPEALS-42568 - checkboxes are now checked and greyed out (#22930)
psivakeshva Sep 23, 2024
71db9a7
Bug fix for 42566 - regarding Save Changes button and Appeals Checkbo…
vinner57 Sep 24, 2024
6d16a10
fix to the checbox bug (#22968)
vinner57 Sep 25, 2024
7a77b3c
Div/appeals 54281 (#22945)
divyadasari-va Sep 25, 2024
32d6ffe
Div/appeals 54281 quick fix (#22981)
divyadasari-va Sep 26, 2024
214ec3c
Khalin/appeals 42561 Checkbox Sorting Fix (#22976)
Dev-KRedd Sep 26, 2024
50c9fad
Merge branch 'main' into feature/APPEALS-34965
HunJerBAH Sep 26, 2024
c0b3b90
Revert my missing changes (#22993)
divyadasari-va Sep 26, 2024
565a2fe
APPEALS-57508: Correspondence Details Serializers Contain Unnecessary…
HunJerBAH Sep 27, 2024
5b35e93
Sivakesh/appeals 58115 (#23010)
psivakeshva Sep 27, 2024
fdc4a17
Khalin/appeals 52975 (#22994)
Dev-KRedd Sep 30, 2024
b0cc879
Task Added to Appeal no longer being displayed after merge. (#22771)
Rnmarshall93 Oct 1, 2024
24a4e18
Fixed Correspondence Intake: Tab name doesn't match page (#23005)
divyadasari-va Oct 1, 2024
a391340
Ki/APPEALS-42563 - Package Details: Inbound Ops Team Superuser/visor:…
KiMauVA Oct 1, 2024
efb2d7d
Merge branch 'main' into feature/APPEALS-34965
cacevesva Oct 2, 2024
a2282e1
Khalin/appeals 42561 checkbox fix v2 (#23027)
Dev-KRedd Oct 2, 2024
c14d0f2
Div/appeals 42567 (#23026)
divyadasari-va Oct 2, 2024
42d4ce8
#APPEALS-42568 - centered the checkmark in success banner (#23054)
psivakeshva Oct 2, 2024
74a2d41
Div/appeals 54281 instructional text (#23043)
divyadasari-va Oct 2, 2024
c4b4b19
Correspondence Details UX Updates (#23019)
vinner57 Oct 3, 2024
8c12edc
APPEALS-42566 bug fix - Appeals Checkbox not greyed out after selecti…
vinner57 Oct 3, 2024
d5fa1bd
update search count (#22988)
SanthiParakal133 Oct 3, 2024
5016649
Ki/APPEALS-42563 - User Access Fix (#23074)
KiMauVA Oct 3, 2024
45765e5
42566 - fix checkbox across different pages (#23075)
vinner57 Oct 3, 2024
e127326
Ki/APPEALS-42563 - TimeFix (#23085)
KiMauVA Oct 4, 2024
b1737a5
fix save changes button (#23080)
vinner57 Oct 4, 2024
514e8ef
Khalin/appeals 42561 success banner fix v2 (#23091)
Dev-KRedd Oct 4, 2024
33a6b32
Correspondence and Appeal Tasks: Inbound Ops Team Superuser/visor: Re…
Rnmarshall93 Oct 8, 2024
a16d9f7
APPEALS-58227: Resolved bug where evidence submission task was not sh…
HunJerBAH Oct 9, 2024
774744a
Button and WIP Modal
Dev-KRedd Oct 9, 2024
04f39d2
modal WIP(state, api call, and cotroller action)
Dev-KRedd Oct 11, 2024
fce5aaf
reverting unneeded changes
Dev-KRedd Oct 11, 2024
2ba9dea
WIP Redux store action, small styling bug fix, API request working wi…
Dev-KRedd Oct 11, 2024
a6ebb42
Working task list
Dev-KRedd Oct 11, 2024
0c0ef3d
Fixing linting errors
Dev-KRedd Oct 11, 2024
f88b780
More linting fixes
Dev-KRedd Oct 11, 2024
7cb8d3a
APPEALS-60720: Updated Evidence Submission waivable period to use tim…
HunJerBAH Oct 11, 2024
c46f1f1
WIP handleConfirm
Dev-KRedd Oct 12, 2024
8a8af0b
Next button added and enable/disable funtionality added
Dev-KRedd Oct 15, 2024
8ac9ca7
added logic to update details redux store with correspondence_update …
HunJerBAH Oct 15, 2024
df6c1d4
Sivakesh/appeals 58114 (#23220)
psivakeshva Oct 16, 2024
039578a
Vinner57/appeals 42571 (#23212)
vinner57 Oct 17, 2024
df18dcb
Div/appeals 42572 (#23140)
divyadasari-va Oct 17, 2024
db61db9
Functionality complete
Dev-KRedd Oct 18, 2024
6b4aa85
Removing unused
Dev-KRedd Oct 18, 2024
fe280b4
Dropdown styling
Dev-KRedd Oct 18, 2024
5fce05b
Merge branch 'feature/APPEALS-60433' into Khalin/APPEALS-53951
Dev-KRedd Oct 18, 2024
030a4b7
Added css styling as mentioned (#23282)
divyadasari-va Oct 18, 2024
ce365ff
WIP test written
Dev-KRedd Oct 21, 2024
0d8983e
Initial commit for return to queue link
divyadasari-va Oct 21, 2024
5e95a04
Code Cimate fixes
Dev-KRedd Oct 21, 2024
99b3cfb
Merge branch 'feature/APPEALS-60433'
Dev-KRedd Oct 21, 2024
fd28ca4
Redirecting to queue page if we opened the link in new window
divyadasari-va Oct 22, 2024
d7a2c9b
removing unused
Dev-KRedd Oct 22, 2024
00ac458
Modified the handleModalClose function to handle return to queue in m…
divyadasari-va Oct 22, 2024
67ced80
Modified the changes as mentioned
divyadasari-va Oct 23, 2024
880be95
controller Atction working still WIP
Dev-KRedd Oct 23, 2024
0036ddb
Fucntionally working
Dev-KRedd Oct 23, 2024
0f4ad97
Reverting CorrespondenceCaseTimeline
Dev-KRedd Oct 23, 2024
bde88b8
Functionally Complete
Dev-KRedd Oct 23, 2024
605bf7c
Merge pull request #23303 from department-of-veterans-affairs/Div/APP…
HunJerBAH Oct 23, 2024
c0def6f
Merge branch 'feature/APPEALS-60433'
Dev-KRedd Oct 24, 2024
cd7fac9
Admin Fuctionality Only
Dev-KRedd Oct 24, 2024
8101352
Removed Restricting Params
divyadasari-va Oct 24, 2024
455c0f3
toggle opening, and status changeing onClick of Next
Dev-KRedd Oct 24, 2024
372acdd
Merge pull request #23161 from department-of-veterans-affairs/Khalin/…
HunJerBAH Oct 24, 2024
1042bee
Merge pull request #23347 from department-of-veterans-affairs/Div/APP…
HunJerBAH Oct 24, 2024
f72e577
UI Changes
Dev-KRedd Oct 25, 2024
60b4eaa
Merge branch 'feature/APPEALS-60433' into Khalin/APPEALS-53951
Dev-KRedd Oct 25, 2024
ca728f0
Merge pull request #23356 from department-of-veterans-affairs/Khalin/…
HunJerBAH Oct 25, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 4 additions & 0 deletions .fasterer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,7 @@ exclude_paths:
- "db/seeds.rb"
- "vendor/**/*.rb"
- "app/mappers/zip_code_to_lat_lng_mapper.rb"

# Flagged for using sort instead of using sort_by - however due to complexity of sorting
# conditionally makes more sense to use sort
- "app/services/auto_assignable_user_finder.rb"
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ group :test, :development, :demo, :make_docs do
gem "rails-erd"
gem "rb-readline"
gem "rspec"
gem "rspec-rails"
# For CircleCI test metadata analysis
gem "rspec-rails"
gem "rspec_junit_formatter"
gem "rswag-specs"
gem "rubocop", "= 0.83", require: false
Expand Down
6 changes: 6 additions & 0 deletions Makefile.example
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,10 @@ realclean: clean ## TODO
rm -rf client/node_modules
rm -f client/package-lock.json

precompile: ## Precompiles assets for testing
bundle exec rake assets:precompile


facols-bash: ## Connect to the docker FACOLS instance
docker exec --tty -i VACOLS_DB bash

Expand Down Expand Up @@ -288,6 +292,8 @@ client-build-all client-all: client-test client-demo ## Builds webpack for both
one-test: ## run the rspec test passed in
bundle exec rspec $(RUN_ARGS)

clean-test: clean precompile one-test ## Cleans and precompiles assets for testing, then runs spec test passed in

one-test-headless: # run the rspec test headless.
CI=1 bundle exec rspec $(RUN_ARGS) --format progress

Expand Down
27 changes: 20 additions & 7 deletions app/controllers/appeals_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def show_case_list
format.html { render template: "queue/index" }
format.json do
result = CaseSearchResultsForCaseflowVeteranId.new(
caseflow_veteran_ids: params[:veteran_ids]&.split(","), user: current_user
caseflow_veteran_ids: appeals_controller_params[:veteran_ids]&.split(","), user: current_user
).search_call

render_search_results_as_json(result)
Expand All @@ -52,7 +52,7 @@ def show_case_list

# rubocop:disable Metrics/AbcSize, Metrics/MethodLength
def fetch_notification_list
appeals_id = params[:appeals_id]
appeals_id = appeals_controller_params[:appeals_id]
respond_to do |format|
format.json do
results = find_notifications_by_appeals_id(appeals_id)
Expand Down Expand Up @@ -138,7 +138,7 @@ def show
format.html { render template: "queue/index" }
format.json do
if appeal.accessible?
id = params[:appeal_id]
id = url_appeal_uuid
MetricsService.record("Get appeal information for ID #{id}",
service: :queue,
name: "AppealsController.show") do
Expand All @@ -162,16 +162,15 @@ def edit
helper_method :appeal, :url_appeal_uuid

def appeal
@appeal ||= Appeal.find_appeal_by_uuid_or_find_or_create_legacy_appeal_by_vacols_id(params[:appeal_id])
@appeal ||= Appeal.find_appeal_by_uuid_or_find_or_create_legacy_appeal_by_vacols_id(url_appeal_uuid)
end

def url_appeal_uuid
params[:appeal_id]
params.permit(:appeal_id)[:appeal_id]
end

def update
if appeal.is_a?(LegacyAppeal) && feature_enabled?(:legacy_mst_pact_identification)

legacy_mst_pact_updates
elsif request_issues_update.perform!
set_flash_success_message
Expand All @@ -187,8 +186,22 @@ def update
end
end

def active_evidence_submissions
appeal = Appeal.find(url_appeal_uuid)
render json: appeal.evidence_submission_task
end

private

def appeals_controller_params
params.permit(
:appeal_id,
:any,
:appeals_id,
:veteran_ids
)
end

def create_subtasks!
# if cc appeal, create SendInitialNotificationLetterTask
if appeal.contested_claim? && feature_enabled?(:cc_appeal_workflow)
Expand Down Expand Up @@ -448,7 +461,7 @@ def create_legacy_issue_update_task(before_issue, current_issue)
# close out any tasks that might be open
open_issue_task = Task.where(
assigned_to: SpecialIssueEditTeam.singleton
).where(status: "assigned").where(appeal: appeal)
).where(status: Constants.TASK_STATUSES.assigned).where(appeal: appeal)
open_issue_task[0].delete unless open_issue_task.empty?

task = IssuesUpdateTask.create!(
Expand Down
9 changes: 7 additions & 2 deletions app/controllers/application_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class ApplicationController < ApplicationBaseController
before_action :set_raven_user
before_action :verify_authentication
before_action :set_paper_trail_whodunnit
before_action :deny_vso_access, except: [:unauthorized, :feedback]
before_action :deny_vso_access, except: [:unauthorized, :feedback, :under_construction]
before_action :set_no_cache_headers

rescue_from StandardError do |e|
Expand Down Expand Up @@ -196,7 +196,12 @@ def defult_menu_items
def manage_teams_menu_items
current_user.administered_teams.map do |team|
{
title: "#{team.name} team management",
title:
if team.type == InboundOpsTeam.singleton.type
"#{team.name} management"
else
"#{team.name} team management"
end,
link: team.user_admin_path
}
end
Expand Down
235 changes: 235 additions & 0 deletions app/controllers/concerns/correspondence_controller_concern.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,235 @@
# frozen_string_literal: true

# rubocop:disable Metrics/ModuleLength
# :reek:DataClump

# Contains most of the logic inside of CorrespondenceController
module CorrespondenceControllerConcern
private

# :reek:FeatureEnvy
def process_tasks_if_applicable(mail_team_user, task_ids, tab)
# candidate for refactor using PATCH request
return unless mail_team_user && task_ids.present?

# Instantiate AutoAssignableUserFinder with current_user
permission_checker = AutoAssignableUserFinder.new(mail_team_user)

# iterate through each task and check if the user can work the correspondence
task_ids.each do |id|
correspondence = Task.find(id)&.correspondence
check_result = permission_checker.can_user_work_this_correspondence?(
user: mail_team_user,
correspondence: correspondence
)

# assign the task if the user can work the correspondence
update_task(mail_team_user, id) if check_result
end

# use permission_checker.unassignable_reasons errors to generate the banner
set_banner_params(
mail_team_user,
permission_checker.unassignable_reasons,
task_ids.count,
tab
)
end

def update_task(mail_team_user, task_id)
task = Task.find_by(id: task_id)
task.update(
assigned_to_id: mail_team_user.id,
assigned_to_type: "User",
status: Constants.TASK_STATUSES.assigned
)
end

# :reek:LongParameterList
def set_banner_params(user, errors, task_count, tab)
template = message_template(user, errors, task_count, tab)
@response_type = errors.empty? ? "success" : "warning"
@response_header = template[:header]
@response_message = template[:message]
end

# :reek:ControlParameter and :reek:LongParameterList
def message_template(user, errors, task_count, tab)
case tab
when "correspondence_unassigned"
if task_count == 1
single_assignment_banner_text(user, errors, task_count)
else
multiple_assignment_banner_text(user, errors, task_count)
end
when "correspondence_team_assigned"
if task_count == 1
single_assignment_banner_text(user, errors, task_count, action_prefix: "re")
else
multiple_assignment_banner_text(user, errors, task_count, action_prefix: "re")
end
end
end

# :reek:FeatureEnvy
def single_assignment_banner_text(*args, action_prefix: "")
success_header_unassigned = "You have successfully #{action_prefix}"\
"assigned #{args[2]} Correspondence to #{args[0].css_id}."
failure_header_unassigned = "Correspondence was not #{action_prefix}assigned to #{args[0].css_id}"
success_message = "Please go to your individual queue to see any self-assigned correspondence."

failure_message = build_single_error_message(action_prefix, error_reason(args[1][0]))

{
header: args[1].empty? ? success_header_unassigned : failure_header_unassigned,
message: args[1].empty? ? success_message : failure_message
}
end

# :reek:FeatureEnvy
def multiple_assignment_banner_text(*args, action_prefix: "")
success_header = "You have successfully #{action_prefix}"\
"assigned #{args[2]} Correspondences to #{args[0].css_id}."
success_message = "Please go to your individual queue to see any self-assigned correspondences."
failure_header = "Not all correspondence were #{action_prefix}assigned to #{args[0].css_id}"

failure_message = build_multi_error_message(args[1], action_prefix)

# return JSON message
{
header: args[1].blank? ? success_header : failure_header,
message: args[1].blank? ? success_message : failure_message.join(" \n")
}
end

# :reek:FeatureEnvy
def build_multi_error_message(errors, action_prefix)
failure_message = []

# Get error counts
error_counts = {
Constants.CORRESPONDENCE_AUTO_ASSIGN_ERROR.NOD_ERROR => errors.count(
Constants.CORRESPONDENCE_AUTO_ASSIGN_ERROR.NOD_ERROR
),
Constants.CORRESPONDENCE_AUTO_ASSIGN_ERROR.SENSITIVITY_ERROR => errors.count(
Constants.CORRESPONDENCE_AUTO_ASSIGN_ERROR.SENSITIVITY_ERROR
),
Constants.CORRESPONDENCE_AUTO_ASSIGN_ERROR.CAPACITY_ERROR => errors.count(
Constants.CORRESPONDENCE_AUTO_ASSIGN_ERROR.CAPACITY_ERROR
)
}

error_counts.each do |error, count|
if count.positive?
multiple_errors = error_counts.values.count(&:positive?) > 1
failure_message << build_error_message(count, action_prefix, error_reason(error), multiple_errors)
end
end

failure_message
end

def error_reason(error)
return "" unless error.is_a?(String)

case error
when Constants.CORRESPONDENCE_AUTO_ASSIGN_ERROR.NOD_ERROR then "of NOD permissions settings"
when Constants.CORRESPONDENCE_AUTO_ASSIGN_ERROR.SENSITIVITY_ERROR then "of sensitivity level mismatch"
when Constants.CORRESPONDENCE_AUTO_ASSIGN_ERROR.CAPACITY_ERROR then "maximum capacity has been reached for user's
queue"
end
end

def build_single_error_message(action_prefix, reason)
# Build error message for single correspondence based on error types
"Case was not #{action_prefix}assigned to user because #{reason}."
end

def build_error_message(*args)
# Build error message for multiple correspondence based on error types
message = "#{args[0]} cases were not #{args[1]}assigned to user"
message = "• #{message}" if args[3].present?
message += " because #{args[2]}." unless args[0].zero?
message
end

def set_flash_intake_success_message
# intake error message is handled in client/app/queue/correspondence/intake/components/CorrespondenceIntake.jsx
vet = veteran_by_correspondence
flash[:correspondence_intake_success] = [
"You have successfully submitted a correspondence record for #{vet.name}(#{vet.file_number})",
"The mail package has been uploaded to the Veteran's eFolder as well."
]
end

# :reek:ControlParameter
def intake_cancel_message(action_type)
vet = veteran_by_correspondence
if action_type == "cancel_intake"
@response_header = "You have successfully cancelled the intake form"
@response_message = "#{vet.name}'s correspondence (ID: #{correspondence.id}) "\
"has been returned to the supervisor's queue for assignment."
else
@response_header = "You have successfully saved the intake form"
@response_message = "You can continue from step three of the intake form for #{vet.name}'s "\
"correspondence (ID: #{correspondence.id}) at a later date."
end
@response_type = "success"
end

def general_information
vet = veteran_by_correspondence
{
notes: correspondence.notes,
file_number: vet.file_number,
veteran_name: vet.name,
correspondence_type_id: correspondence.correspondence_type_id,
correspondence_tasks: correspondence.tasks.map do |task|
WorkQueue::CorrespondenceTaskSerializer.new(task).serializable_hash[:data][:attributes]
end
}
end

def correspondence
@correspondence = Correspondence.find_by(uuid: params[:correspondence_uuid])
end

def veteran_by_correspondence
return nil if correspondence&.veteran_id.blank?

@veteran_by_correspondence ||= Veteran.find_by(id: correspondence.veteran_id)
end

def veterans_with_correspondences
veterans = Veteran.includes(:correspondences).where(correspondences: { id: Correspondence.select(:id) })
veterans.map { |veteran| vet_info_serializer(veteran, veteran.correspondences.last) }
end

def auto_texts
@auto_texts ||= AutoText.all.pluck(:name)
end

def vet_info_serializer(veteran, correspondence)
{
firstName: veteran.first_name,
lastName: veteran.last_name,
fileNumber: veteran.file_number,
correspondenceUuid: correspondence.uuid,
packageDocumentType: correspondence.correspondence_type_id
}
end

def correspondence_intake_processor
@correspondence_intake_processor ||= CorrespondenceIntakeProcessor.new
end

def correspondence_documents_efolder_uploader
@correspondence_documents_efolder_uploader ||= CorrespondenceDocumentsEfolderUploader.new
end

def upload_documents_to_claim_evidence
rpt = ReviewPackageTask.find_by(appeal_id: correspondence.id, type: ReviewPackageTask.name)
correspondence_documents_efolder_uploader.upload_documents_to_claim_evidence(correspondence, current_user, rpt)
end
end
# rubocop:enable Metrics/ModuleLength
1 change: 1 addition & 0 deletions app/controllers/concerns/explain_timeline_concern.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ module ExplainTimelineConcern
# :reek:FeatureEnvy
def timeline_data
return "(LegacyAppeals are not yet supported)".to_json if legacy_appeal?
return "(Correspondences are not yet supported)".to_json if correspondence?

(tasks_timeline_data + intake_timeline_data + hearings_timeline_data).map(&:as_json)
end
Expand Down
Loading
Loading