UI timeseries usercount (#2386)

* Patch/api v1.19.0 (#2383)

* fix(chalice): fixed create heatmap card EE

* fix(chalice): fixed click_rage-heatmap card EE

* fix(chalice): fixed click_rage-heatmap ambiguous alias EE

* Increment chalice chart version (#2384)

Co-authored-by: GitHub Action <action@github.com>

* feat(ui): new timeseries card for user count (users trend)

---------

Co-authored-by: Kraiem Taha Yassine <tahayk2@gmail.com>
Co-authored-by: Mehdi Osman <estradino@users.noreply.github.com>
Co-authored-by: GitHub Action <action@github.com>
This commit is contained in:
Shekar Siri 2024-07-12 16:16:27 +02:00 committed by GitHub
parent 9215631b54
commit fb99e8e035
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 18 additions and 5 deletions

View file

@ -128,6 +128,21 @@ export const CARD_LIST: CardType[] = [
},
example: ExampleTrend
},
{
title: 'Users Trend',
key: TIMESERIES + '_userCount',
cardType: TIMESERIES,
metricOf: 'userCount',
category: CARD_CATEGORIES[0].key,
data: {
chart: generateTimeSeriesData(),
label: 'Number of Users',
namesMap: [
'Series 1'
]
},
example: ExampleTrend
},
{
title: 'Sessions by Issues',

View file

@ -146,6 +146,7 @@ function WidgetChart(props: Props) {
colors={colors}
params={params}
onClick={onChartClick}
label={metric.metricOf === 'sessionCount' ? 'Number of Sessions' : 'Number of Users'}
/>
);
} else if (viewType === 'progress') {
@ -177,7 +178,7 @@ function WidgetChart(props: Props) {
data={data}
// isTemplate={isTemplate}
isEdit={!isSaved && !isTemplate}
/>
);
}

View file

@ -1,7 +1,6 @@
apiVersion: v2
name: chalice
description: A Helm chart for Kubernetes
# A chart can be either an 'application' or a 'library' chart.
#
# Application charts are a collection of templates that can be packaged into versioned archives
@ -11,14 +10,12 @@ description: A Helm chart for Kubernetes
# a dependency of application charts to inject those utilities and functions into the rendering
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.7
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
AppVersion: "v1.19.0"
AppVersion: "v1.19.1"