Repository: 4ian/GDevelop
File: newIDE/app/src/GameDashboard/GameAnalyticsPanel.js (JavaScript)

Code before:
                onChange={(e, i, period: string) => {
                  setDataPeriod(period);
                }}
                disableUnderline
              >
                <SelectOption key="month" value="month" label={t`Month`} />
                <SelectOption key="year" value="year" label={t`Year`} />
              </SelectField>
            </Line>
            <Grid container spacing={2}>
              <Grid
                item
                xs={12}
                sm={displaySuggestedMarketingPlan ? 7 : 12}
                md={displaySuggestedMarketingPlan ? 8 : 12}
              >
                <Column noMargin alignItems="center" expand>
                  <Text size="block-title" align="center">
                    <Trans>{chartData.overview.playersCount} sessions</Trans>
                    <Tooltip
                      title={
                        <Text>
                          <Trans>
                            Number of people who launched the game. A viewer is
                            a single visitor, and a player is a visitor after 60
                            seconds of activity in the game.
                          </Trans>
                        </Text>
                      }
                    >
                      <InfoIcon />
                    </Tooltip>
                  </Text>
                  <SessionsChart
                    chartData={chartData}
                    height={chartHeight}
                    i18n={i18n}
                  />
                </Column>
              </Grid>
              {recommendedMarketingPlan &&
                gameFeaturings &&
                fetchGameFeaturings && (
                  <Grid item xs={12} sm={5} md={4}>
                    <MarketingPlanSingleDisplay
                      fetchGameFeaturings={fetchGameFeaturings}
                      gameFeaturings={gameFeaturings}
                      marketingPlan={recommendedMarketingPlan}
                      game={game}
                    />
                  </Grid>

Review comment (suggestion):
```suggestion
                            Visitors are considered players when they stayed at least 60 seconds including loading screens.
```

Code after:
                onChange={(e, i, period: string) => {
                  setDataPeriod(period);
                }}
                disableUnderline
              >
                <SelectOption key="month" value="month" label={t`Month`} />
                <SelectOption key="year" value="year" label={t`Year`} />
              </SelectField>
            </Line>
            <Grid container spacing={2}>
              <Grid
                item
                xs={12}
                sm={displaySuggestedMarketingPlan ? 7 : 12}
                md={displaySuggestedMarketingPlan ? 8 : 12}
              >
                <Column noMargin alignItems="center" expand>
                  <Text size="block-title" align="center">
                    <Trans>{chartData.overview.playersCount} sessions</Trans>
                    <Tooltip
                      style={{ verticalAlign: 'bottom' }}
                      title={
                        <Text>
                          <Trans>
                            Number of people who launched the game. Viewers are
                            considered players when they stayed at least 60
                            seconds including loading screens.
                          </Trans>
                        </Text>
                      }
                    >
                      <InfoIcon />
                    </Tooltip>
                  </Text>
                  <SessionsChart
                    chartData={chartData}
                    height={chartHeight}
                    i18n={i18n}
                  />
                </Column>
              </Grid>
              {recommendedMarketingPlan &&
                gameFeaturings &&
                fetchGameFeaturings && (
                  <Grid item xs={12} sm={5} md={4}>
                    <MarketingPlanSingleDisplay
                      fetchGameFeaturings={fetchGameFeaturings}
                      gameFeaturings={gameFeaturings}
                      marketingPlan={recommendedMarketingPlan}
                      game={game}
                    />