Skip to content

Conversation

techievivek
Copy link
Contributor

@techievivek techievivek commented Aug 4, 2025

The constants where removed here https://github.com/Expensify/Web-Secure/pull/2885

CC @AndrewGable @madmax330
Coming from discussion here https://expensify.slack.com/archives/C03SSAQ7P/p1754285585977329, we observed that a few constants that were removed as part of deleting 00constant.js file exists nowhere in our codebase and resulted in a few regression so through this PR we try to backfill the missing constants.

Fixed Issues

N/A

Tests

  1. Login to OldDot.
  2. Navigate to Settings > Wallet.
  3. Click on Import Card/Bank and select any option among first 6.
  4. Confirm Log In page is shown.

QA

  1. What does QA need to do to validate your changes?
  2. What areas to they need to test for regressions?
    Same as tests.

@techievivek techievivek self-assigned this Aug 4, 2025
@techievivek techievivek requested a review from a team as a code owner August 4, 2025 06:30
@melvin-bot melvin-bot bot requested review from JS00001 and removed request for a team August 4, 2025 06:31
'oauth.chase.com': 90,
'discover.com': 30,
'admin.pexcard.com': 30,
svbdirect: 75,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be a string?

Suggested change
svbdirect: 75,
'svbdirect': 75,

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For some reason, I am unable to add quotes around it, can you please check this on your end?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, now that I have add the quotes forcefully it is throwing linter error.

@techievivek
Copy link
Contributor Author

Screen.Recording.2025-08-04.at.2.28.24.PM.mov

Sorry went AFK, I rebuild both web-e/web-s and reproduced the issue and added the testing step.

madmax330
madmax330 previously approved these changes Aug 4, 2025
@madmax330
Copy link
Contributor

Need to run prettier still apparently

@techievivek
Copy link
Contributor Author

I don't see anything when I run npm run lint locally, can you double check me on it?

.prettierrc.js Outdated
@@ -6,4 +6,5 @@ module.exports = {
arrowParens: 'always',
printWidth: 190,
singleAttributePerLine: true,
quoteProps: 'consistent',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is prettier failing because of this change, and not the quotes around the bank name?

@MonilBhavsar MonilBhavsar merged commit 0f4c26a into main Aug 4, 2025
6 checks passed
@MonilBhavsar MonilBhavsar deleted the techievivek_add_more_constants branch August 4, 2025 10:15
@os-botify
Copy link
Contributor

os-botify bot commented Aug 4, 2025

🚀 Published to npm in 2.0.155 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants