Open IuliiaHerets opened 3 days ago
Triggered auto assignment to @carlosmiceli (DeployBlockerCash
), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.
Triggered auto assignment to @sakluger (Bug
), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.
💬 A slack conversation has been started in #expensify-open-source
:wave: Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
Taking over as its card related. This is related to the new type column cc @nkdengineer @JmillsExpensify @Expensify/design
I think we need to make sure the amount is not trimmed
@nkdengineer can you please comment as this is a regression from your PR so I think we should handle it together
I'm here.
I agree with that, though do we have any Expensify cards that have a limit with that many digits? If so, let's fix to support it. But if not, I wonder if this is worth fixing or not.
I think single-digit million might be realistic
Agree that the limit should not be truncated, but just to be clear: the design is correct otherwise. We intentionally removed the badge treatment for limit during the updates to this table.
Yup, definitely agree with that. And yeah @mountiny sounds good, let's make sure we support that size. Ideally we could do it in a way that doesn't fix the column width (since most of these values won't be as wide as 9 digits) but rather in a way that allows the width to grow/shrink as needed.
@nkdengineer can you please look into the options we have here to achieve such behaviour? thanks!
Sorry for the nitpick, but is the spacing between the lines the same? And the line height? Feels like there's some horizontals not lining up:
Oh that's a good catch 🦅 👁️ agree that ideally those all line up perfectly. We can achieve that by making sure the name/login has the same line height as the limit, and then making sure the gap between the top and bottom texts are equal as well.
I see we require positive integers when we enter limit card
should we remove .00
in here @shawnborton @mountiny
Hmm I don't feel too strongly really, I could go either way. Let's see it without so we can compare? I have a feeling we might like it better as it might feel way cleaner.
@shawnborton we have the result here
Cool, let's see what @mountiny and @Expensify/design think as well.
I might argue that the most consistent thing to do is always show the decimal places since that's what we do in places like Search.
This is the final result after I reduced the gap between columns, set the max limit value to 7 digits and fixed this bug
@shawnborton, @mountiny and @Expensify/design what do you think? cc @DylanDylann because you are C+ in the previous issue
Hmm, this isn't a real number:
Can you take another look at that?
Also, what happens when all of the limits are smaller numbers?
@mountiny Could you please assign me to this issue?
Hmm, this isn't a real number
@shawnborton this is my mistake, I updated the screenshot here
Also, what happens when all of the limits are smaller numbers?
The result:
The result:
Cool, it would be amazing if that column could shrink a bit based on how wide the content is. Seems like we have extra space we could use so that we can show more of the card name ya know?
I really don't care strongly here. I prefer the look of a limit being without decimals. Can see the argument the other way, but because it's not an expense I also think we can afford the "inconsistency". Really don't mind either way 😅 Keen to hear if @dannymcclain has any thoughts
Dang y'all I could go either way too. On the one hand, I see Shawn's perspective about always including the .00
to make it consistent with how we display amount elsewhere. On the other hand, since card limit can only accept whole numbers, I can see an argument for not displaying the .00
.
How do we decide? Just go with displaying the .00
because that's how we do it elsewhere and it's the most consistent? Probably 🤷♂️
That works for me, or we just make @mountiny decide 😏
We need to keep the decimals at the top (Current balance, Remaining limit, cash back) since those values will often have decimals.
For the individual limits, I personally like removing the decimals. I think that most of the time, users will be giving round-number limits (like $100, $1,000, $4,000, etc). Adding decimals on round numbers hurts readibility more than it does for non-round numbers.
@sakluger it is a remaining limit on the card so after they make some purchase it will most likely need decimals to be correct
Seems like there is a confusion, if i am not mistaken that number shows current remaining limit on the card, not the whole limit @DylanDylann @nkdengineer can you confirm please
Hmm i might be wrong
@mountiny Let's definitely get clarity on that before moving forward. That detail is pretty important for this decision 😂
I thought it was overall limit, not remaining, but let's find out for sure together!
it is the unapprovedExpenseLimit
from the card in that column and we have the availableSpend
for the cards too but that is showed on the card details ✅
So yeah, most likely there would be no decimal spots!
@nkdengineer can you work on that then so we do not show the limit with decimals there?
I'll raise PR soon
@DylanDylann @mountiny @shawnborton @Expensify/design we have a open PR here
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: v9.0.60-0 Reproducible in staging?: Y Reproducible in production?: N If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: Y Issue reported by: Applause Internal Team
Action Performed:
Expected Result:
In issue card page, outline box must be shown around amount.
Actual Result:
In issue card page, no outline box is shown around amount.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
https://github.com/user-attachments/assets/18b77516-6907-42af-af99-f98dede98bbd
View all open jobs on GitHub