-
Notifications
You must be signed in to change notification settings - Fork 19
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
Clay s/appeals 56608 #23453
Draft
brandondorner
wants to merge
19
commits into
feature/APPEALS-53424
Choose a base branch
from
ClayS/APPEALS-56608
base: feature/APPEALS-53424
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Clay s/appeals 56608 #23453
+70
−12
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Initial commit that alters the business line logic to accept a date filter for the tasks completed at column and logic to support and filter by it via the database query. * Added new tests for the tasksClosedAt filter to the business line spec. Adjusted the between lambda filter to work for either ordering of the start date or end date as the first chronological date in the query. Optimized the business line spec by swapping to before all loops and instance variables to shorten the time it takes to run the test. * Rewrote a bit more of the business line spec to speed it up via one time test data setup rather than for each test. * Updated the vha business line spec file. Fixed a code climate warning. * Removed some commented out code and changed the database cleaner to Task.delete all to be a bit more specific on cleanup before the change history tests. * Removed QueueTable code that was unrelated to the DatePicker that was causing errors. * Updated the wording in the filter summary for the closedAt filter to say Date Compeleted instead of closedAt. * Fixed a bug where the filter preservation was not working with the way the date filter params were added to the get params. Altered the Completed tasks tab description based on the Date Completed filter. Started adding a feature test for the completed date filtering. * Updated the formatting of the date in the completed tasks tab description to match mm/dd/yyyy format. Finished up the feature spec test for the completed date filtering. * Updated the expected values from the DatePicker to match what was in the feature branch. Updated the completed tasks tab description to once again be last 7 days for any business line that is not the VHA. Fixed a code climate issue with the new regex used for the filter preservation hook. Updated the new vha completed by date column to match the old column value so sorting and filtering will work correctly. * Updated the aria label in the new column. * Fixed failing tests related to the completed date column, completed tasks description, and the clear filters change from the DatePicker. * Changed single quotes to double quotes in ruby. * Fixed a few more test failures. * Altered the date picker validation code to disable the button if no date is selected for on, before, or after. * Updated the completed tasks tab description filtered by completed text to be less verbose. Change .nil? to .blank? in the closed_at filter parsing. Updated the test to reflect the new wording. * Updated the Completed Cases text to contain no colon for the vha decision review queue. Fixed a bug in the date picker where the View All was not resetting the filter correctly. * Fixed a few jest tests. * Fixed a bug that could occur if you are trying to filter by a column that does not exist in a different queue. * Updated feature test with the new vha all completed cases description text without a colon. * Fixed a text issue when swapping between business lines with the same user that has a filter from the vha business line. --------- Co-authored-by: Brandon Lee Dorner <51007432+brandondorner@users.noreply.github.com>
* Remove created_by constraint * Add automated test coverage * Fix broken test --------- Co-authored-by: Matthew Thornton <ThorntonMatthew@users.noreply.github.com>
… results (#23321) * Added the initial changes required to filter the tasks used by business line reporter by the filters that are present on the vha decision review queue. * Added branching for the business line reporter to keep the original behavior for other business lines but keep the new filtering behavior for VHA. Added tests for the filtered business line reporter. * Updated a few capybara tests for description text wording. * Added the id asc sort order back to the business line reporter class for the vha business line. Fixed a failing feature test. * Fixed a failed expectation in business line reporter spec.
Code Climate has analyzed commit b300999 and detected 2 issues on this pull request. Here's the issue category breakdown:
View more on Code Climate. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 Jira Issue Title
Description
Please explain the changes you made here.
Acceptance Criteria
Testing Plan
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