Skip to content

Commit 8ff3ef6

Browse files
committed
switch to client:idle
1 parent 4537cbc commit 8ff3ef6

File tree

11 files changed

+47
-47
lines changed

11 files changed

+47
-47
lines changed

website/src/components/Plugin.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ function getAsideVariant(warning: PluginWarning): 'note' | 'tip' | 'caution' | '
397397
of new downloads per week. New version releases are marked with vertical lines.
398398
</p>
399399

400-
<DownloadChart dataPoints={pluginDownloadData} versions={versions} client:visible />
400+
<DownloadChart dataPoints={pluginDownloadData} versions={versions} client:idle />
401401

402402
<h2 id="version-history">Version History</h2>
403403

website/src/pages/pluginstats/community-plugin-list.astro

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const retiredByMonthDataPoints = view.removed_by_release_month(data);
3737
available.
3838
</p>
3939

40-
<CountChart dataPoints={countDataPoints} type={ItemType.Plugin} client:visible />
40+
<CountChart dataPoints={countDataPoints} type={ItemType.Plugin} client:idle />
4141

4242
<h2 id="new-plugins">New Plugins</h2>
4343

@@ -46,7 +46,7 @@ const retiredByMonthDataPoints = view.removed_by_release_month(data);
4646
smoothed.
4747
</p>
4848

49-
<CountNewChart dataPoints={countDataPoints} type={ItemType.Plugin} client:visible />
49+
<CountNewChart dataPoints={countDataPoints} type={ItemType.Plugin} client:idle />
5050

5151
<h2 id="removed-plugins">Removed Plugins</h2>
5252

@@ -55,9 +55,9 @@ const retiredByMonthDataPoints = view.removed_by_release_month(data);
5555
smoothed.
5656
</p>
5757

58-
<CountRemovedChart dataPoints={countDataPoints} type={ItemType.Plugin} client:visible />
58+
<CountRemovedChart dataPoints={countDataPoints} type={ItemType.Plugin} client:idle />
5959

6060
<p>This shows what percentage of plugins, sorted by their release month, have been removed from the community plugin list.</p>
6161

62-
<RemovedByReleaseChart dataPoints={retiredByMonthDataPoints} type={ItemType.Plugin} client:visible />
62+
<RemovedByReleaseChart dataPoints={retiredByMonthDataPoints} type={ItemType.Plugin} client:idle />
6363
</StarlightPage>

website/src/pages/pluginstats/downloads.astro

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ const downloadDistributionDataPoints = individualDownloadDataPoints
4646
>
4747
<p>The first graph depicts the total number of plugin downloads over time. The second graph shows the number of new plugin downloads per week.</p>
4848

49-
<DownloadChart dataPoints={downloadDataPoints} client:visible />
49+
<DownloadChart dataPoints={downloadDataPoints} client:idle />
5050

5151
<h2 id="plugin-downloads-correlations">Plugin Downloads Correlations</h2>
5252

@@ -55,19 +55,19 @@ const downloadDistributionDataPoints = individualDownloadDataPoints
5555
more releases. The second figure shows the correlation between the number of downloads and the initial release time.
5656
</p>
5757

58-
<DownloadRelationChart dataPoints={downloadRelationDataPoints} client:visible />
58+
<DownloadRelationChart dataPoints={downloadRelationDataPoints} client:idle />
5959

6060
<p>
6161
The chart below shows the correlation between the name of the plugin and the number of downloads. The regression line is calculated using the Simple Linear
6262
Regression algorithm. It is evident that there is a slight correlation between the placement of the plugin in the alphabet and the number of downloads.
6363
</p>
6464

65-
<DownloadNameChart dataPoints={downloadNameDataPoints} client:visible />
65+
<DownloadNameChart dataPoints={downloadNameDataPoints} client:idle />
6666

6767
<p>
6868
This chart shows the overall distribution of downloads, it is clear that the majority of plugins have a low number of downloads, with a few plugins having a
6969
very high number of downloads.
7070
</p>
7171

72-
<DownloadDistributionChart dataPoints={downloadDistributionDataPoints} client:visible />
72+
<DownloadDistributionChart dataPoints={downloadDistributionDataPoints} client:idle />
7373
</StarlightPage>

website/src/pages/pluginstats/hall-of-fame.astro

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -23,65 +23,65 @@ let view = dataArray.view();
2323
>
2424
<h3>Most Downloaded</h3>
2525

26-
<HallOfFameChart data={view.most_downloaded(dataArray, 10, null, false)} client:visible />
26+
<HallOfFameChart data={view.most_downloaded(dataArray, 10, null, false)} client:idle />
2727

2828
<h2 id="2025">2025 (Preliminary)</h2>
2929

3030
<h3>Most Downloaded</h3>
3131

32-
<HallOfFameChart data={view.most_downloaded(dataArray, 10, 2025, false)} showDots={true} client:visible />
32+
<HallOfFameChart data={view.most_downloaded(dataArray, 10, 2025, false)} showDots={true} client:idle />
3333

3434
<h3>Most Downloaded New Plugins of 2025</h3>
3535

36-
<HallOfFameChart data={view.most_downloaded(dataArray, 10, 2025, true)} showDots={true} client:visible />
36+
<HallOfFameChart data={view.most_downloaded(dataArray, 10, 2025, true)} showDots={true} client:idle />
3737

3838
<h2 id="2024">2024</h2>
3939

4040
<h3>Most Downloaded</h3>
4141

42-
<HallOfFameChart data={view.most_downloaded(dataArray, 10, 2024, false)} showDots={true} client:visible />
42+
<HallOfFameChart data={view.most_downloaded(dataArray, 10, 2024, false)} showDots={true} client:idle />
4343

4444
<h3>Most Downloaded New Plugins of 2024</h3>
4545

46-
<HallOfFameChart data={view.most_downloaded(dataArray, 10, 2024, true)} showDots={true} client:visible />
46+
<HallOfFameChart data={view.most_downloaded(dataArray, 10, 2024, true)} showDots={true} client:idle />
4747

4848
<h2 id="2023">2023</h2>
4949

5050
<h3>Most Downloaded</h3>
5151

52-
<HallOfFameChart data={view.most_downloaded(dataArray, 10, 2023, false)} showDots={true} client:visible />
52+
<HallOfFameChart data={view.most_downloaded(dataArray, 10, 2023, false)} showDots={true} client:idle />
5353

5454
<h3>Most Downloaded New Plugins of 2023</h3>
5555

56-
<HallOfFameChart data={view.most_downloaded(dataArray, 10, 2023, true)} showDots={true} client:visible />
56+
<HallOfFameChart data={view.most_downloaded(dataArray, 10, 2023, true)} showDots={true} client:idle />
5757

5858
<h2 id="2022">2022</h2>
5959

6060
<h3>Most Downloaded</h3>
6161

62-
<HallOfFameChart data={view.most_downloaded(dataArray, 10, 2022, false)} showDots={true} client:visible />
62+
<HallOfFameChart data={view.most_downloaded(dataArray, 10, 2022, false)} showDots={true} client:idle />
6363

6464
<h3>Most Downloaded New Plugins of 2022</h3>
6565

66-
<HallOfFameChart data={view.most_downloaded(dataArray, 10, 2022, true)} showDots={true} client:visible />
66+
<HallOfFameChart data={view.most_downloaded(dataArray, 10, 2022, true)} showDots={true} client:idle />
6767

6868
<h2 id="2021">2021</h2>
6969

7070
<h3>Most Downloaded</h3>
7171

72-
<HallOfFameChart data={view.most_downloaded(dataArray, 10, 2021, false)} showDots={true} client:visible />
72+
<HallOfFameChart data={view.most_downloaded(dataArray, 10, 2021, false)} showDots={true} client:idle />
7373

7474
<h3>Most Downloaded New Plugins of 2021</h3>
7575

76-
<HallOfFameChart data={view.most_downloaded(dataArray, 10, 2021, true)} showDots={true} client:visible />
76+
<HallOfFameChart data={view.most_downloaded(dataArray, 10, 2021, true)} showDots={true} client:idle />
7777

7878
<h2 id="2020">2020</h2>
7979

8080
<h3>Most Downloaded</h3>
8181

82-
<HallOfFameChart data={view.most_downloaded(dataArray, 10, 2020, false)} showDots={true} client:visible />
82+
<HallOfFameChart data={view.most_downloaded(dataArray, 10, 2020, false)} showDots={true} client:idle />
8383

8484
<h3>Most Downloaded New Plugins of 2020</h3>
8585

86-
<HallOfFameChart data={view.most_downloaded(dataArray, 10, 2020, true)} showDots={true} client:visible />
86+
<HallOfFameChart data={view.most_downloaded(dataArray, 10, 2020, true)} showDots={true} client:idle />
8787
</StarlightPage>

website/src/pages/pluginstats/licenses.astro

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ const licenseDataPoints = view.license_data_points(dataArray, licenseDataFile);
5353
<code>Unrecognized</code> means that a license file was found, but the license could not be identified.
5454
</p>
5555

56-
<BarChart dataPoints={licenseDataPoints.licenses} xLabel="License" yLabel="Number of Plugins" skewLabels hideBarValues client:visible />
56+
<BarChart dataPoints={licenseDataPoints.licenses} xLabel="License" yLabel="Number of Plugins" skewLabels hideBarValues client:idle />
5757

5858
<p>Licenses that are used by more than 100 plugins are excluded from the chart below.</p>
5959

@@ -63,7 +63,7 @@ const licenseDataPoints = view.license_data_points(dataArray, licenseDataFile);
6363
yLabel="Number of Plugins"
6464
skewLabels
6565
hideBarValues
66-
client:visible
66+
client:idle
6767
/>
6868

6969
<h2 id="license-terms">License Terms</h2>
@@ -74,7 +74,7 @@ const licenseDataPoints = view.license_data_points(dataArray, licenseDataFile);
7474

7575
<p>A number of plugins give the following permissions.</p>
7676

77-
<BarChart dataPoints={licenseDataPoints.permissions} xLabel="Permission" yLabel="Number of Plugins" skewLabels hideBarValues client:visible />
77+
<BarChart dataPoints={licenseDataPoints.permissions} xLabel="Permission" yLabel="Number of Plugins" skewLabels hideBarValues client:idle />
7878

7979
{
8080
licenseDataPoints.descriptions.permissions.map(x => (
@@ -88,7 +88,7 @@ const licenseDataPoints = view.license_data_points(dataArray, licenseDataFile);
8888

8989
<p>A number of plugins impose the following conditions.</p>
9090

91-
<BarChart dataPoints={licenseDataPoints.conditions} xLabel="Condition" yLabel="Number of Plugins" skewLabels hideBarValues client:visible />
91+
<BarChart dataPoints={licenseDataPoints.conditions} xLabel="Condition" yLabel="Number of Plugins" skewLabels hideBarValues client:idle />
9292

9393
{
9494
licenseDataPoints.descriptions.conditions.map(x => (
@@ -102,7 +102,7 @@ const licenseDataPoints = view.license_data_points(dataArray, licenseDataFile);
102102

103103
<p>A number of plugins impose the following limitations.</p>
104104

105-
<BarChart dataPoints={licenseDataPoints.limitations} xLabel="Limitation" yLabel="Number of Plugins" skewLabels hideBarValues client:visible />
105+
<BarChart dataPoints={licenseDataPoints.limitations} xLabel="Limitation" yLabel="Number of Plugins" skewLabels hideBarValues client:idle />
106106

107107
{
108108
licenseDataPoints.descriptions.limitations.map(x => (

website/src/pages/pluginstats/repo-data.astro

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -48,18 +48,18 @@ const desktopOnlyData = view.desktop_only_data(data);
4848
data in their manifest.
4949
</p>
5050

51-
<BarChart dataPoints={mismatchedData} xLabel="Mismatched Data" yLabel="Percent of Plugins" yDomain={[0, 100]} percentages client:visible />
51+
<BarChart dataPoints={mismatchedData} xLabel="Mismatched Data" yLabel="Percent of Plugins" yDomain={[0, 100]} percentages client:idle />
5252

5353
<p>
5454
Some fields in the manifest are optional, such as <code>authorUrl</code> and <code>fundingUrl</code>. Additionally, some plugin authors add extra,
5555
non-standard fields to the manifest, such as <code>helpUrl</code>. The following chart shows the percentage of plugins that have these fields set.
5656
</p>
5757

58-
<BarChart dataPoints={optionalManifestFields} xLabel="Optional Manifest Fields" yLabel="Percent of Plugins" yDomain={[0, 100]} percentages client:visible />
58+
<BarChart dataPoints={optionalManifestFields} xLabel="Optional Manifest Fields" yLabel="Percent of Plugins" yDomain={[0, 100]} percentages client:idle />
5959

6060
<p>Plugins can specify that they only work on the desktop version of Obsidian, which is useful for plugins that use features not available on mobile.</p>
6161

62-
<BarChart dataPoints={desktopOnlyData} xLabel="Desktop Only" yLabel="Percent of Plugins" yDomain={[0, 100]} percentages client:visible />
62+
<BarChart dataPoints={desktopOnlyData} xLabel="Desktop Only" yLabel="Percent of Plugins" yDomain={[0, 100]} percentages client:idle />
6363

6464
<h2 id="dependencies">Dependencies</h2>
6565

@@ -72,7 +72,7 @@ const desktopOnlyData = view.desktop_only_data(data);
7272

7373
<p>The below chart shows the distribution of package managers used in plugins.</p>
7474

75-
<BarChart dataPoints={dataPoints.package_managers} xLabel="Package Managers" yLabel="Percent of Plugins" yDomain={[0, 100]} percentages client:visible />
75+
<BarChart dataPoints={dataPoints.package_managers} xLabel="Package Managers" yLabel="Percent of Plugins" yDomain={[0, 100]} percentages client:idle />
7676

7777
<p>
7878
{dataPoints.no_package_managers.toFixed(1)}% of plugins have no lockfile.
@@ -87,7 +87,7 @@ const desktopOnlyData = view.desktop_only_data(data);
8787
> file.
8888
</p>
8989

90-
<BarChart dataPoints={dataPoints.bundlers} xLabel="Code Bundlers" yLabel="Percent of Plugins" yDomain={[0, 100]} percentages client:visible />
90+
<BarChart dataPoints={dataPoints.bundlers} xLabel="Code Bundlers" yLabel="Percent of Plugins" yDomain={[0, 100]} percentages client:idle />
9191

9292
<p>
9393
{dataPoints.no_bundlers.toFixed(1)}% of plugins use no code bundler.
@@ -97,7 +97,7 @@ const desktopOnlyData = view.desktop_only_data(data);
9797

9898
<p>Plugin developers like to use tooling to make their jobs easier. The chart below shows the usage percentage of common developer tooling.</p>
9999

100-
<BarChart dataPoints={toolingDataPoints} xLabel="Tooling Dependencies" yLabel="Percent of Plugins" yDomain={[0, 100]} percentages client:visible />
100+
<BarChart dataPoints={toolingDataPoints} xLabel="Tooling Dependencies" yLabel="Percent of Plugins" yDomain={[0, 100]} percentages client:idle />
101101

102102
<h3 id="testing-framework-usage">Testing Framework Usage</h3>
103103

@@ -108,7 +108,7 @@ const desktopOnlyData = view.desktop_only_data(data);
108108
> file of the plugin.
109109
</p>
110110

111-
<BarChart dataPoints={dataPoints.testing_frameworks} xLabel="Testing Frameworks" yLabel="Percent of Plugins" yDomain={[0, 100]} percentages client:visible />
111+
<BarChart dataPoints={dataPoints.testing_frameworks} xLabel="Testing Frameworks" yLabel="Percent of Plugins" yDomain={[0, 100]} percentages client:idle />
112112

113113
<p>
114114
{dataPoints.no_testing_frameworks.toFixed(1)}% of plugins use no testing framework.
@@ -121,7 +121,7 @@ const desktopOnlyData = view.desktop_only_data(data);
121121
frameworks. The data is extracted from the <code>package.json</code> file of the plugin.
122122
</p>
123123

124-
<BarChart dataPoints={frontEndFrameworksDataPoints} xLabel="Frontend Frameworks" yLabel="Percent of Plugins" yDomain={[0, 100]} percentages client:visible />
124+
<BarChart dataPoints={frontEndFrameworksDataPoints} xLabel="Frontend Frameworks" yLabel="Percent of Plugins" yDomain={[0, 100]} percentages client:idle />
125125

126126
<h3 id="most-used-dependencies">Most Used Dependencies</h3>
127127

website/src/pages/pluginstats/updates.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ const inactivityDistributionDataPoints = Array.from(view.inactivity_distribution
2525

2626
<p>The following chart shows the overall distribution of plugin inactivity.</p>
2727

28-
<InactivityDistributionChart dataPoints={inactivityDistributionDataPoints} client:visible />
28+
<InactivityDistributionChart dataPoints={inactivityDistributionDataPoints} client:idle />
2929

3030
<p>
3131
The next chart shows years of inactivity grouped by the month in which the plugin was released. The negative space represents the percentage of plugins that
3232
have been updated within the last year.
3333
</p>
3434

35-
<InactivityByReleaseChart dataPoints={inactivityDataPoints} client:visible />
35+
<InactivityByReleaseChart dataPoints={inactivityDataPoints} client:idle />
3636
</StarlightPage>

website/src/pages/releasestats/assets.astro

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const assetInstructionSet = dataArray.get_asset_instruction_set_percentages();
2525
distribution of how many assets of each type are included in all releases. The third bar shows the distribution of the average sizes of each asset type.
2626
</p>
2727

28-
<StackedXBarChart dataPoints={assetTypes} percentages client:visible />
28+
<StackedXBarChart dataPoints={assetTypes} percentages client:idle />
2929

3030
<p>
3131
The next graph shows the evolution of asset sizes over time. The data is split by asset type. Note that gaps may appear, as not every asset type is included
@@ -34,7 +34,7 @@ const assetInstructionSet = dataArray.get_asset_instruction_set_percentages();
3434
> assets after version <code>1.6.0</code> are even larger, as they contain an x86, a 32 bit x86, and an ARM version of the app in a singe installer.
3535
</p>
3636

37-
<AssetSizeChart dataPoints={assetSize} client:visible />
37+
<AssetSizeChart dataPoints={assetSize} client:idle />
3838

3939
<p>
4040
This graph shows the split between downloads of assets for different instruction sets. The instruction set is the type of CPU architecture that the asset is
@@ -44,5 +44,5 @@ const assetInstructionSet = dataArray.get_asset_instruction_set_percentages();
4444
installers that include both x86 and ARM versions, and are thus labeled as "Both".
4545
</p>
4646

47-
<StackedXBarChart dataPoints={assetInstructionSet} percentages client:visible />
47+
<StackedXBarChart dataPoints={assetInstructionSet} percentages client:idle />
4848
</StarlightPage>

website/src/pages/releasestats/downloads.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ const downloadsPercentages = dataArray.total_downloads_per_version_by_os_as_perc
2929

3030
<p>The below graph depicts the total number of downloads for every release, split by OS.</p>
3131

32-
<StackedBarChart dataPoints={downloads} xLabel="Version Number" yLabel="Downloads" skewLabels client:visible />
32+
<StackedBarChart dataPoints={downloads} xLabel="Version Number" yLabel="Downloads" skewLabels client:idle />
3333

3434
<p>This graph shows the distribution of downloads among the different operating systems.</p>
3535

36-
<StackedBarChart dataPoints={downloadsPercentages} xLabel="Version Number" yLabel="Downloads" skewLabels percentages client:visible />
36+
<StackedBarChart dataPoints={downloadsPercentages} xLabel="Version Number" yLabel="Downloads" skewLabels percentages client:idle />
3737
</StarlightPage>

website/src/pages/releasestats/overview.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ const changelogCategories = dataArray.get_changelog_categories();
5454
grouped by category. This statistic is determined by simply counting the number of items in the changelog.
5555
</p>
5656

57-
<ChangelogChart dataPoints={changelogChangesDataPoints} client:visible />
57+
<ChangelogChart dataPoints={changelogChangesDataPoints} client:idle />
5858

5959
<p>
6060
The following table shows the sum of changes made in each minor release, grouped by category. Note that the number of changes in this table can be inflated,

0 commit comments

Comments
 (0)