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

[HOLD for payment 2024-12-05] [Company cards] The card name after assignment is not showing correctly #52558

Closed
mountiny opened this issue Nov 14, 2024 · 20 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Internal Requires API changes or must be handled by Expensify staff Weekly KSv2

Comments

@mountiny
Copy link
Contributor

mountiny commented Nov 14, 2024

Coming from here.

When admin assigns a card on the workspace the card name is not showing correctly on the card details page and we are not returning it correctly.

Also lets remove the unused card images #52389 (comment)

Issue OwnerCurrent Issue Owner: @adelekennedy
@mountiny mountiny added Daily KSv2 Internal Requires API changes or must be handled by Expensify staff Bug Something is broken. Auto assigns a BugZero manager. labels Nov 14, 2024
@mountiny mountiny self-assigned this Nov 14, 2024
Copy link

melvin-bot bot commented Nov 14, 2024

Triggered auto assignment to @adelekennedy (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.

@koko57
Copy link
Contributor

koko57 commented Nov 14, 2024

I can work on that!

@mountiny
Copy link
Contributor Author

Backend pr raised

@allgandalf
Copy link
Contributor

allgandalf commented Nov 14, 2024

Please assign me here for the FE part 👋 , worked on the previous PR related to images #52389 (comment)

@koko57
Copy link
Contributor

koko57 commented Nov 15, 2024

@mountiny how will the BE fix look like?

@melvin-bot melvin-bot bot added the Overdue label Nov 18, 2024
@mountiny
Copy link
Contributor Author

@koko57 this should be ready to test in staging. Essentially we are saving the name now for the admin's nvp, so the admins should be able to see the card names correctly after the assignment. The assignee on the other hand does not have this name, but we discussed this in slack.

@allgandalf would you be able to retest in staging?

@melvin-bot melvin-bot bot removed the Overdue label Nov 18, 2024
@allgandalf
Copy link
Contributor

Works great!:

Screen.Recording.2024-11-18.at.11.44.04.PM.mov

@koko57
Copy link
Contributor

koko57 commented Nov 19, 2024

@mountiny so is there any change required on the FE?

@koko57
Copy link
Contributor

koko57 commented Nov 19, 2024

the changes I've made for this PR make a fallback to the "[UserName]'s card". I've also noticed that for Expensify Card we have "[UserName]'s Card" with the "Card" uppercased. I checked this in the docs, the lowercased version is the proper one, sorry it's my fault. It'll be kind of a breaking change when I change it for the Exfy Card?

For the default name in the card details page - I can display the fallback name but for the Edit card name page I would do some hard logic to have it displayed as the input's default value. So does it make sense to have this fallback in place as the feature is still in beta? cc @mountiny

@garrettmknight garrettmknight moved this to Bugs and Follow Up Issues in [#whatsnext] #expense Nov 19, 2024
@mountiny
Copy link
Contributor Author

Discussed in DM, we can change the name to card

@mountiny
Copy link
Contributor Author

@koko57 are you going to update the card name as part of this issue?

@koko57
Copy link
Contributor

koko57 commented Nov 20, 2024

yes, I can do that

@joekaufmanexpensify
Copy link
Contributor

the changes I've made for this PR make a fallback to the "[UserName]'s card". I've also noticed that for Expensify Card we have "[UserName]'s Card" with the "Card" uppercased. I checked this in the docs, the lowercased version is the proper one, sorry it's my fault. It'll be kind of a breaking change when I change it for the Exfy Card?

Agree with Vit, let's change the c in card to lowercase. LMK if any other questions!

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Daily KSv2 labels Nov 20, 2024
@koko57
Copy link
Contributor

koko57 commented Nov 20, 2024

opening for the review (no screenshots for android though, the app is built but stuck on the SplashScreen) #52735

@allgandalf
Copy link
Contributor

PR in review

@mountiny
Copy link
Contributor Author

Merged

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Nov 28, 2024
@melvin-bot melvin-bot bot changed the title [Company cards] The card name after assignment is not showing correctly [HOLD for payment 2024-12-05] [Company cards] The card name after assignment is not showing correctly Nov 28, 2024
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Nov 28, 2024
Copy link

melvin-bot bot commented Nov 28, 2024

Reviewing label has been removed, please complete the "BugZero Checklist".

Copy link

melvin-bot bot commented Nov 28, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.67-9 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

If no regressions arise, payment will be issued on 2024-12-05. 🎊

For reference, here are some details about the assignees on this issue:

  • @koko57 does not require payment (Contractor)
  • @allgandalf requires payment (Needs manual offer from BZ)

Copy link

melvin-bot bot commented Nov 28, 2024

@allgandalf @adelekennedy @allgandalf The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]

@mountiny
Copy link
Contributor Author

We will handle the payments for these in bulk after the project is done, no regression tests specifically forthis change is required, we will add tests with Joe in general

@github-project-automation github-project-automation bot moved this from Bugs and Follow Up Issues to Done in [#whatsnext] #expense Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Internal Requires API changes or must be handled by Expensify staff Weekly KSv2
Projects
Status: Done
Development

No branches or pull requests

5 participants