Skip to content

Commit 79f9bbb

Browse files
committed
deprecate mod compatibility list
1 parent 446dd93 commit 79f9bbb

3 files changed

Lines changed: 15 additions & 1 deletion

File tree

‎docs/release-notes.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
* Added OS metrics to the [metrics API](technical/web.md#modsmetrics).
1313

1414
* For the web UI:
15-
* Added [mod stats page](https://smapi.io/stats).
15+
* Added [mod stats page](https://smapi.io/stats) (see [announcement](https://www.patreon.com/pathoschild/posts/new-mod-dataset-161970558)).
16+
* Deprecated the [mod compatibility list](https://smapi.io/stats) (see [announcement](https://www.patreon.com/pathoschild/posts/162629586)).
1617

1718
* For tool maintainers:
1819
* Added the [open mod dataset](https://github.com/Pathoschild/StardewModDataset).

‎src/SMAPI.Web/Views/Mods/Index.cshtml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ else
4343
</div>
4444
</noscript>
4545

46+
<div class="deprecation-warning">
47+
This list is no longer comprehensively updated each month, and its future is in doubt.<br />See <a href="https://www.patreon.com/pathoschild/posts/162629586"><em>Sunset on the mod compatibility list</em></a> for more info.
48+
</div>
49+
4650
@if (Model.IsStale)
4751
{
4852
<div class="error">Showing data from @staleAge.Humanize(maxUnit: TimeUnit.Hour, minUnit: TimeUnit.Minute) ago. (Couldn't fetch newer data; the GitHub API may be offline.)</div>

‎src/SMAPI.Web/wwwroot/Content/css/mods.css‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,15 @@ div.error {
4949
font-weight: bold;
5050
}
5151

52+
div.deprecation-warning {
53+
margin-top: 0.5em;
54+
padding: 1em;
55+
display: inline-block;
56+
border: 1px solid red;
57+
border-left-width: 1em;
58+
font-weight: bold;
59+
}
60+
5261
/*********
5362
** Mod list
5463
*********/

0 commit comments

Comments
 (0)