Skip to content

fix: Media: Upload Modal - Title does not become plural #2589

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

Merged
merged 1 commit into from
Mar 27, 2024

Conversation

glespinosa
Copy link
Contributor

Will close #2495

Since I can't reproduced the success uploading in the local environment cause it keeps failing to upload.
While testing I set a fixed value of 2 for filesUploaded variable to reproduce and check if the condition is now working fiine.

Note: pls ignore the failed uploading messages, since this is a local environment, when this is deployed in dev or prod this will work as intended.

screencast-8-aaeffee09b-7w6v22.manager.dev.zesty.io_8080-2024.03.13-06_31_50.webm

Creating new PR cause I made some unnecessary commits in my previous PR, thinking that I only have problem in my connectivity but looks like the github having some outage issue in PR. (https://www.githubstatus.com/incidents/q3gl44chgxwv)
#2587

@glespinosa glespinosa self-assigned this Mar 13, 2024
@glespinosa glespinosa requested a review from agalin920 March 13, 2024 01:42
@glespinosa glespinosa added the ready PR is complete and ready for deployment label Mar 13, 2024
Copy link

@zcolah zcolah left a comment

Choose a reason for hiding this comment

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

@glespinosa

  • Please ensure the solution also handles the situation of "1 File Uploaded" and "1 File Uploading". It should only make Files plural when the number is greater than 1.

@glespinosa
Copy link
Contributor Author

@glespinosa

  • Please ensure the solution also handles the situation of "1 File Uploaded" and "1 File Uploading". It should only make Files plural when the number is greater than 1.

@zcolah Yes, I also tested on 1 file, its working fine

@zcolah
Copy link

zcolah commented Mar 21, 2024

@glespinosa
pls see this loom to see what I mean

https://www.loom.com/share/b8dba364225e4252ab101e1a99daf095

@glespinosa
Copy link
Contributor Author

glespinosa commented Mar 21, 2024

@zcolah
It seems like the above demo I showed was not sync correctly on the code, pls look on this one

screencast-8-aaeffee09b-7w6v22.manager.dev.zesty.io_8080-2024.03.22-07_13_34.1.webm

@shrunyan shrunyan changed the base branch from master to dev March 25, 2024 18:49
@zcolah zcolah added the vqa VQA is complete and approved label Mar 26, 2024
@shrunyan shrunyan merged commit e286266 into dev Mar 27, 2024
@shrunyan shrunyan deleted the fix/pluralize-upload-text branch March 27, 2024 02:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready PR is complete and ready for deployment vqa VQA is complete and approved
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Media: Upload Modal - Title does not become plural
4 participants