-
Notifications
You must be signed in to change notification settings - Fork 142
Add more constants since web-s has a constant file deleted #875
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
Conversation
'oauth.chase.com': 90, | ||
'discover.com': 30, | ||
'admin.pexcard.com': 30, | ||
svbdirect: 75, |
There was a problem hiding this comment.
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?
svbdirect: 75, | |
'svbdirect': 75, |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
Screen.Recording.2025-08-04.at.2.28.24.PM.movSorry went AFK, I rebuild both web-e/web-s and reproduced the issue and added the testing step. |
Need to run prettier still apparently |
I don't see anything when I run |
.prettierrc.js
Outdated
@@ -6,4 +6,5 @@ module.exports = { | |||
arrowParens: 'always', | |||
printWidth: 190, | |||
singleAttributePerLine: true, | |||
quoteProps: 'consistent', |
There was a problem hiding this comment.
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?
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
Settings > Wallet
.Import Card/Bank
and select any option among first 6.Log In
page is shown.QA
Same as tests.