Skip to content

Instantly share code, notes, and snippets.

View amponce's full-sized avatar

Aaron Ponce amponce

View GitHub Profile
@amponce
amponce / Combinded-Debt-Portal.md
Last active April 10, 2024 20:48
Find EventRecords
File Path Event Name Additional Properties
src/applications/combined-debt-portal/combined/routes.jsx cta-link-click-enter-mcp { }
src/applications/combined-debt-portal/combined/routes.jsx cta-link-click-enter-ltr { }
@amponce
amponce / efsr-5655.cypress.spec.js
Created February 14, 2024 21:42
EFSR Cypress
// add data
@amponce
amponce / Argo-Notes.md
Last active November 30, 2023 20:54
Frontend Guide to Argo

Argo

Access the Argo CD Dashboard for Deployment Management:

Select the Node

Find the vets-api-web node and start the Rails console with:

@amponce
amponce / geographicMeansThreshold.js
Last active November 13, 2023 20:36
Enhancement
/**
* @fileoverview This module provides functionality to retrieve GMT (Geographical Mean Test) thresholds.
* It supports fetching data from production, staging, or using mock data based on configuration toggles.
*/
import * as Sentry from '@sentry/browser';
import { apiRequest } from 'platform/utilities/api';
import environment from 'platform/utilities/environment';
// Constants used for calculating thresholds
const data = {
expenses: {
expenseRecords: [
{ name: 'Rent', amount: '2000' },
{ name: "Renter's or home insurance", amount: '34' },
{ name: 'Mortgage payment', amount: '435' },
{ name: 'Property tax', amount: '345' },
],
creditCardBills: [
{
"view:combinedFinancialStatusReport": true,
"view:enhancedFinancialStatusReport": true,
"otherExpenses": [
{
"name": "Clothing",
"amount": "10"
},
{
"name": "Food",
@amponce
amponce / Presubmit-efsr--maximal.json
Last active July 24, 2023 20:12
Form submission FSR streamline waiver
Presubmit Object ACCEPTED - this uses efsr-maximal, I only toggled the chapters but did not modify the data in any way.
{
"questions": {
"hasRecreationalVehicle": false,
"hasVehicle": false,
"hasRealEstate": false,
"hasDependents": "0",
"spouseHasBenefits": false,
"isMarried": true,
@amponce
amponce / submission_object.json
Last active June 22, 2023 20:02
Financial Status Report Calculations
{
"personalIdentification": {
"ssn": "1234",
"fileNumber": "5678",
"fsrReason": "Compromise, Waiver"
},
"personalData": {
"veteranFullName": {
"first": "Greg",

Veteran information Chapter

Path old fsr combined enhanced
/veteran-information true true true
/available-debts true false true
/all-available-debts false true false
/contact-information true true false
/current-contact-information false false true
/edit-mobile-phone false false true
{
"additionalData": {
"bankruptcy": {
"dateDischarged": "2021-01-01",
"courtLocation": "san diego",
"docketNumber": "234553"
},
"additionalComments": "I need help"
},
"questions": {