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

Isaiah b/appeals 62255 #23490

Open
wants to merge 12 commits into
base: feature/APPEALS-39909
Choose a base branch
from
Open
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ gem "ziptz"
group :production, :staging, :ssh_forwarding, :development, :test do
# Oracle DB
gem "activerecord-oracle_enhanced-adapter", "~> 6.1.0"
gem "ruby-oci8", "~> 2.2.14"
gem "ruby-oci8", "~> 2.2"
end

group :test, :development, :demo, :make_docs do
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2237,7 +2237,7 @@ DEPENDENCIES
rubocop-performance
rubocop-rails
ruby-debug-ide
ruby-oci8 (~> 2.2.14)
ruby-oci8 (~> 2.2)
ruby-prof (~> 1.4)
ruby_claim_evidence_api!
sass-rails (~> 5.0)
Expand Down
3 changes: 3 additions & 0 deletions client/app/components/Pagination/Pagination.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ class Pagination extends React.PureComponent {
// If there are no pages, there is no data, so the range should be 0-0.
// Otherwise, the beginning of the range is the previous amount of cases + 1
let beginningCaseNumber;

if (searchValue) {

beginningCaseNumber = totalCases === 0 ? 0 : 1;
} else if (totalCases === 0) {
beginningCaseNumber = 0;
Expand All @@ -64,6 +66,7 @@ class Pagination extends React.PureComponent {
// Otherwise, the end of the range is the previous amount of cases +
// the amount of data in the current page.
let endingCaseNumber;

if (searchValue) {
endingCaseNumber = totalCases;
} else if (totalCases === 0) {
Expand Down
4 changes: 2 additions & 2 deletions client/app/queue/QueueTable.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -784,9 +784,9 @@ export default class QueueTable extends React.PureComponent {

if (enablePagination && !this.state.loadingComponent) {
if (searchValue) {
currentCases = totalTaskCount = this.filterTasksFromSearchbar(rowObjects, searchValue)?.length
currentCases = totalTaskCount = this.filterTasksFromSearchbar(rowObjects, searchValue)?.length;
} else {
currentCases = rowObjects ? rowObjects.length : 0
currentCases = rowObjects ? rowObjects.length : 0;
}
paginationElements = (
<Pagination
Expand Down
1 change: 0 additions & 1 deletion client/app/queue/components/TaskRows.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,6 @@ class TaskRows extends React.PureComponent {
eventsFromAppeal
);


return (
<React.Fragment key={appeal.externalId}>
{sortedTimelineEvents.map((timelineEvent, index) => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable array-callback-return */
/* eslint-disable max-lines */
import React, { useState, useEffect } from 'react';
import { useDispatch, connect } from 'react-redux';
Expand Down
56 changes: 28 additions & 28 deletions db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2049,11 +2049,11 @@
t.boolean "filed_by_va_gov", comment: "Indicates whether or not this form came from VA.gov"
t.boolean "legacy_opt_in_approved", comment: "Indicates whether a Veteran opted to withdraw their Supplemental Claim request issues from the legacy system if a matching issue is found. If there is a matching legacy issue and it is not withdrawn, then that issue is ineligible to be a new request issue and a contention will not be created for it."
t.date "receipt_date", comment: "The date that the Supplemental Claim form was received by central mail. Only issues decided prior to the receipt date will show up as contestable issues. It is also the claim date for any associated end products that are established. Supplemental Claims do not have the same timeliness restriction on contestable issues as Appeals and Higher Level Reviews."
t.string "type", default: "SupplementalClaim", null: false, comment: "The class name for the single table inheritance type of Supplemental Claim for example Remand"
t.datetime "updated_at"
t.uuid "uuid", default: -> { "uuid_generate_v4()" }, null: false, comment: "The universally unique identifier for the Supplemental Claim. Can be used to link to the claim after it is completed."
t.string "veteran_file_number", null: false, comment: "PII. The file number of the Veteran that the Supplemental Claim is for."
t.boolean "veteran_is_not_claimant", comment: "Indicates whether the Veteran is the claimant on the Supplemental Claim form, or if the claimant is someone else like a spouse or a child. Must be TRUE if the Veteran is deceased."
t.string "type", default: "SupplementalClaim", null: false, comment: "The class name for the single table inheritance type of Supplemental Claim for example Remand"
t.index ["decision_review_remanded_type", "decision_review_remanded_id"], name: "index_decision_issues_on_decision_review_remanded"
t.index ["type"], name: "index_supplemental_claims_on_type"
t.index ["updated_at"], name: "index_supplemental_claims_on_updated_at"
Expand Down Expand Up @@ -2307,42 +2307,42 @@
t.datetime "updated_at", null: false
end

create_table "vbms_ext_claim", primary_key: "CLAIM_ID", id: :decimal, precision: 38, force: :cascade do |t|
t.string "ALLOW_POA_ACCESS", limit: 5
t.decimal "CLAIMANT_PERSON_ID", precision: 38
create_table "vbms_ext_claim", primary_key: "CLAIM_ID", id: { type: :decimal, precision: 38 }, force: :cascade do |t|
t.datetime "CLAIM_DATE"
t.string "CLAIM_SOJ", limit: 25
t.integer "CONTENTION_COUNT"
t.datetime "CREATEDDT", null: false
t.string "EP_CODE", limit: 25
t.datetime "SUSPENSE_DATE"
t.string "SUSPENSE_REASON_CODE", limit: 25
t.string "SUSPENSE_REASON_COMMENTS", limit: 1000
t.decimal "CLAIMANT_PERSON_ID", precision: 38
t.integer "CONTENTION_COUNT"
t.string "CLAIM_SOJ", limit: 25
t.string "TEMPORARY_CLAIM_SOJ", limit: 25
t.string "PRIORITY", limit: 10
t.string "TYPE_CODE", limit: 25
t.string "LIFECYCLE_STATUS_NAME", limit: 50
t.string "LEVEL_STATUS_CODE", limit: 25
t.string "SUBMITTER_APPLICATION_CODE", limit: 25
t.string "SUBMITTER_ROLE_CODE", limit: 25
t.decimal "VETERAN_PERSON_ID", precision: 15
t.datetime "ESTABLISHMENT_DATE"
t.datetime "EXPIRATIONDT"
t.string "INTAKE_SITE", limit: 25
t.string "PAYEE_CODE", limit: 25
t.decimal "SYNC_ID", precision: 38, null: false
t.datetime "CREATEDDT", null: false
t.datetime "LASTUPDATEDT", null: false
t.string "LEVEL_STATUS_CODE", limit: 25
t.datetime "EXPIRATIONDT"
t.decimal "VERSION", precision: 38, null: false
t.datetime "LIFECYCLE_STATUS_CHANGE_DATE"
t.string "LIFECYCLE_STATUS_NAME", limit: 50
t.string "RATING_SOJ", limit: 25
t.string "PROGRAM_TYPE_CODE", limit: 10
t.string "SERVICE_TYPE_CODE", limit: 10
t.integer "PREVENT_AUDIT_TRIG", limit: 2, default: 0, null: false
t.string "PRE_DISCHARGE_TYPE_CODE", limit: 10
t.string "PRE_DISCHARGE_IND", limit: 5
t.string "ORGANIZATION_NAME", limit: 100
t.string "ORGANIZATION_SOJ", limit: 25
t.string "PAYEE_CODE", limit: 25
t.string "ALLOW_POA_ACCESS", limit: 5
t.string "POA_CODE", limit: 25
t.integer "PREVENT_AUDIT_TRIG", limit: 2, default: 0, null: false
t.string "PRE_DISCHARGE_IND", limit: 5
t.string "PRE_DISCHARGE_TYPE_CODE", limit: 10
t.string "PRIORITY", limit: 10
t.string "PROGRAM_TYPE_CODE", limit: 10
t.string "RATING_SOJ", limit: 25
t.string "SERVICE_TYPE_CODE", limit: 10
t.string "SUBMITTER_APPLICATION_CODE", limit: 25
t.string "SUBMITTER_ROLE_CODE", limit: 25
t.datetime "SUSPENSE_DATE"
t.string "SUSPENSE_REASON_CODE", limit: 25
t.string "SUSPENSE_REASON_COMMENTS", limit: 1000
t.decimal "SYNC_ID", precision: 38, null: false
t.string "TEMPORARY_CLAIM_SOJ", limit: 25
t.string "TYPE_CODE", limit: 25
t.decimal "VERSION", precision: 38, null: false
t.decimal "VETERAN_PERSON_ID", precision: 15
t.index ["CLAIM_ID"], name: "claim_id_index"
t.index ["LEVEL_STATUS_CODE"], name: "level_status_code_index"
end
Expand Down
4 changes: 4 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1


Loading