sugarizer icon indicating copy to clipboard operation
sugarizer copied to clipboard

Missing flag handling in ColorMyWorld

Open llaske opened this issue 2 years ago • 12 comments

When there is a missing flag for a country in ColorMyWorld, the popup display undefined before the country name. It will be better to display nothing in this case.

2t7nCztPC7

llaske avatar Apr 19 '24 19:04 llaske

But i think you want to remove that undefined part, right ? not whole pop up box

vraj-712 avatar Apr 25 '24 13:04 vraj-712

Can you please describe how you want that?? because i am unable to understand your requirements

vraj-712 avatar May 02 '24 10:05 vraj-712

Can you please describe how you want that?? because i am unable to understand your requirements

The fix suggested by @hharshas is good but is not enough. It solve the case where there is no existing emoji matching the country name in the activity. But like I mentioned here, there is an existing emoji for St Vincent Grenadines. The problem is that the name mentioned in the flag constant doesn't match the name of the country so just changing the value to Saint_Vincent_and_the_Grenadines will make the flag appears. So it should be nice to fix the value and double-check values for other countries.

llaske avatar May 04 '24 20:05 llaske

hi i would like to work on this issue.Can you assign it to me

piyushmishraa avatar Jul 01 '24 12:07 piyushmishraa

@piyushmishraa you can start working on it and also read the contribution guidelines first as it is mentioned there that there's no need to be assigned in an approved issue.

hharshas avatar Jul 01 '24 12:07 hharshas

got it,thanks :)

piyushmishraa avatar Jul 01 '24 12:07 piyushmishraa

@llaske i have made some changes could you review it and i also have some doubts.

yashveeeeer avatar Aug 13 '24 12:08 yashveeeeer

@yashveeeeer thanks for your contribution.

BTW your PR is not a the right place. It should be done on this repo. See https://github.com/llaske/sugarizer/blob/dev/CONTRIBUTING.md for more.

Plus, as I mentioned here it will be nice to check other missing flags.

llaske avatar Aug 14 '24 09:08 llaske

Thanks alot @llaske I'll take care of the original repo and I'll check that problem you mentioned.

yashveeeeer avatar Aug 14 '24 14:08 yashveeeeer