An event with a name ending with a "." will not show its segmentation in a dashboard widget.
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- javascript
- Domain
- analytics
Research direction
Start by reproducing the dashboard widget flow with an event named "User." and a "Country" segmentation, then compare it with the working All Events view. The issue is done when the Dashboard widget's Breakdown list shows available segmentations for event names ending in a period.
Written by the indexing model from the issue text.
Description
Expected Behavior
When creating a widget for a dashboard, I can select an event, app and visualisation that supports segmentation, like bar chart.
Then I select an event from the dropdown and if that event have segmentation properties, I can selet one of those from the Breakdown list.
Current Behavior
When trying to select a segmentation property on an even where the name end with a period, ".", the breakdown list is empty.
Even if those events are visible in the All Events view, including their segmentations and option to display those elements with the segmentation. (as expected)
Screenshots (if appropriate):
Possible Solution
The workaround is of course removing the "." from the end of the Event name, but this might be a symtom of other, similar issues where the content of the event name (or segment name) might trigger other bugs like this.
Steps to Reproduce (for bugs)
Example: If I have an event called "User." with a segmentation like this: ["Country": ...]
In the All Events view I have "User." in the events list and I can select "Country" in the segmentation list and get the the graph rendered fine.
But in the Dashboard widget, after I select Events, my app, the Event "User." the Breakdown list shows up but is empty.
Your Environment
- Operating System and version: Linux/Ubuntu 22.04.3 and Countly Lite v23.11.9
- Dominant language
- JavaScript
- Stars
- 5.9k
- Forks
- 981
- Avg merge
- 19h 6m
- Merged PRs (30d)
- 52
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Countly/countly-server
-
Difficulty 1/5 Under an hour Newbie friendliness 68/100
Countly/countly-server#7775 ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 65/100
Countly/countly-server#6891 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
Countly/countly-server#5777 · 1 comment ·
Maintainers usually reply within 1 day
-
Hardware specsOpen
Difficulty 3/5 1-2 days Newbie friendliness 35/100
Countly/countly-server#5665 ·
Maintainers usually reply within 1 day
-
ARM64 SupportPossibly taken @andreialecu claimed this 257 days ago. Open
Difficulty 5/5 Over a week Newbie friendliness 25/100
Countly/countly-server#5421 · 10 comments · 5 reactions ·
Maintainers usually reply within 1 day
All issues in Countly/countly-server
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
HarperFast/harper#3299 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
osmlab/name-suggestion-index#12992 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
open-government-design-system/ogds-elements#199 ·
Maintainers usually reply within 1 day
-
area:plugin type:bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Document annotations cannot anchor visible code after a shorter or different fenced-code markerOpen
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
paperclipai/paperclip#16898 ·
Maintainers usually reply within 1 day