Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Resolves Details: Correspondence and Appeals Tasks: Add Task Action: Power of attorney-related
Description
Please explain the changes you made here.
Acceptance Criteria
Testing Plan
Log in as an inbound ops team admin user
Navigate to /queue/correspondence/team and click on a correspondence
Under General Information, select "Power of attorney related" correspondence type and save changes.
Scroll down to the bottom and select "Create record".
Continue through step 1, and scroll to "tasks not related to appeal" on step 2.
Click "+ Add tasks", select an Power of attorney related task in the drop down, and add text in the textbox.
Click "Continue" from the second step. Before continuing, copy the link from the address bar to use later!
On step 3, click the "submit" button. Then Confirm the submission.
Now that the data is set up, you can continue to test the story.
Log in as a BVASYELLOW or BVASORANGE
Paste the address saved from the previous step, make sure to remove the last part of /review_package or /intake
This will take you to the Case details page for that appeal as the Hearings user.
Click on the + button next to the "Tasks not related to appeal" section
In the Actions drop down next to the other motion task, verify the "Return to Inbound Ops Team" task is present
Click on the return to inbound ops, and the modal will appear.
The return button should initially not be clickable until a radio button is selected.
Once a radio button is selected, the return button will be clickable
If "Other" is selected, the return button will remain locked until you type a reason for return.
Click on the "Return" button. Now, verify in the "Tasks not related" section that the success banner appears.
Frontend
User Facing Changes
Storybook Story
For Frontend (Presentation) Components
MyComponent.stories.js
alongsideMyComponent.jsx
)Backend
Database Changes
Only for Schema Changes
created_at
,updated_at
) for new tablesCaseflow::Migration
, especially when adding indexes (useadd_safe_index
) (see Writing DB migrations)migrate:rollback
works as desired (change
supported functions)make check-fks
; add any missing foreign keys or add toconfig/initializers/immigrant.rb
(see Record associations and Foreign Keys)belongs_to
for associations to enable the schema diagrams to be automatically updatedIntegrations: Adding endpoints for external APIs
Best practices
Code Documentation Updates
Tests
Test Coverage
Did you include any test coverage for your code? Check below:
Code Climate
Your code does not add any new code climate offenses? If so why?
Monitoring, Logging, Auditing, Error, and Exception Handling Checklist
Monitoring
Logging
Auditing
Error Handling
Exception Handling