question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[bug] Country flag not showing in comments

See original GitHub issue

Describe the bug The country flag of a user is not showing in the comments. (example bottom of page)

Expected behavior Flag should be shown like in this issue #1127 afbeelding

Screenshots Possible problem mentioned by @tudi2d on Slack Could this be the reason? (Image from the user page) For the addComment in the store it is only creatorCountry: user.country ? user.country.toLowerCase() : null saved to the backend.

afbeelding

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
danitrodcommented, Oct 25, 2021

My bad @thisislawatts! Forgot that we had releases for a moment. For some reason the flags were already showing before this update in the dev environment, just in prod one not. I believe this is because of legacy users and how the location was stored differently. This PR should fix and now display flags for both legacy/new accounts. Let’s see it the next release. But I definitely agree that an automated test would be the best way to go

1reaction
danitrodcommented, Sep 18, 2021

Should be a quick one, I’ll send a PR

Read more comments on GitHub >

github_iconTop Results From Across the Web

Country flags not displayed : r/firefox - Reddit
The following doesn't work for me suddenly: flags (emojis) of states are no longer displayed. Instead of displaying the flag of Israel to...
Read more >
"Enable country for comments" and "Show country flags" don't ...
YouTube recently made a change where comments are directly embedded into the page instead of using the iframe element.
Read more >
1209677 - Add support for country flag emojis - Monorail
The Windows emoji font does not provide country flags. Firefox ships their own emoji font, that's the reason they appear in that browser....
Read more >
119228 – There is no way to flag/mark comments as resolved
Bug 119228 - There is no way to flag/mark comments as resolved ... But one piece is missing: Where/how to store the flag...
Read more >
bootstrap 5 country flag icons - Margolis Law Firm
I want to display Flags icons inside a React Bootstrap selection Option. Most upvoted and relevant comments will be first, The world's most...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found