You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
When viewing the visitor map, hovering over the Somaliland region displays "undefined: X visitors" which appears to be a raw JavaScript undefined value being rendered. While Somaliland's status as an unrecognized state may explain the lack of data, the current display looks like a technical error rather than an intentional handling of this edge case.
Suggested Solution:
Replace the "undefined" text with a more user-friendly message such as:
"Unknown region: X visitors"
"Unrecognized region: X visitors"
"No data available: X visitors"
This would make it clearer that the lack of data is handled intentionally rather than showing what appears to be a JavaScript error to end users.
Database
PostgreSQL
Relevant log output
No response
Which Umami version are you using? (if relevant)
v2.13.2
Which browser are you using? (if relevant)
Chrome
How are you deploying your application? (if relevant)
Docker
The text was updated successfully, but these errors were encountered:
We should handle this with i18n in mind. We could either add new translations for all languages, or simply reuse the existing label.unknown from the locale JSON. With label.unknown it would be simpler since we wouldn't need to create new translations. I already have the necessary code changes ready for this.
Describe the Bug
Description:
When viewing the visitor map, hovering over the Somaliland region displays "undefined: X visitors" which appears to be a raw JavaScript
undefined
value being rendered. While Somaliland's status as an unrecognized state may explain the lack of data, the current display looks like a technical error rather than an intentional handling of this edge case.Suggested Solution:
Replace the "undefined" text with a more user-friendly message such as:
This would make it clearer that the lack of data is handled intentionally rather than showing what appears to be a JavaScript error to end users.
Database
PostgreSQL
Relevant log output
No response
Which Umami version are you using? (if relevant)
v2.13.2
Which browser are you using? (if relevant)
Chrome
How are you deploying your application? (if relevant)
Docker
The text was updated successfully, but these errors were encountered: