fix: correct invalid icon names and date filter issue
- Replace invalid icons (edit→updatePost, discover→syndicate, refresh→repost)
- Remove date("relative") filter that fails on Date objects
- Bump to 1.0.25
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@rmdes/indiekit-endpoint-microsub",
|
"name": "@rmdes/indiekit-endpoint-microsub",
|
||||||
"version": "1.0.24",
|
"version": "1.0.25",
|
||||||
"description": "Microsub endpoint for Indiekit. Enables subscribing to feeds and reading content using the Microsub protocol.",
|
"description": "Microsub endpoint for Indiekit. Enables subscribing to feeds and reading content using the Microsub protocol.",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"indiekit",
|
"indiekit",
|
||||||
|
|||||||
+4
-4
@@ -43,7 +43,7 @@
|
|||||||
<span class="feeds__error-count">{{ feed.consecutiveErrors }} consecutive errors</span>
|
<span class="feeds__error-count">{{ feed.consecutiveErrors }} consecutive errors</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if feed.lastSuccessAt %}
|
{% if feed.lastSuccessAt %}
|
||||||
<span class="feeds__meta">Last success: {{ feed.lastSuccessAt | date("relative") }}</span>
|
<span class="feeds__meta">Last success: {{ feed.lastSuccessAt }}</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -51,16 +51,16 @@
|
|||||||
<a href="{{ baseUrl }}/channels/{{ channel.uid }}/feeds/{{ feed._id }}/edit"
|
<a href="{{ baseUrl }}/channels/{{ channel.uid }}/feeds/{{ feed._id }}/edit"
|
||||||
class="button button--secondary button--small"
|
class="button button--secondary button--small"
|
||||||
title="Edit feed URL">
|
title="Edit feed URL">
|
||||||
{{ icon("edit") }}
|
{{ icon("updatePost") }}
|
||||||
</a>
|
</a>
|
||||||
<form method="post" action="{{ baseUrl }}/channels/{{ channel.uid }}/feeds/{{ feed._id }}/rediscover" style="display:inline;">
|
<form method="post" action="{{ baseUrl }}/channels/{{ channel.uid }}/feeds/{{ feed._id }}/rediscover" style="display:inline;">
|
||||||
<button type="submit" class="button button--secondary button--small" title="Rediscover feed">
|
<button type="submit" class="button button--secondary button--small" title="Rediscover feed">
|
||||||
{{ icon("discover") }}
|
{{ icon("syndicate") }}
|
||||||
</button>
|
</button>
|
||||||
</form>
|
</form>
|
||||||
<form method="post" action="{{ baseUrl }}/channels/{{ channel.uid }}/feeds/{{ feed._id }}/refresh" style="display:inline;">
|
<form method="post" action="{{ baseUrl }}/channels/{{ channel.uid }}/feeds/{{ feed._id }}/refresh" style="display:inline;">
|
||||||
<button type="submit" class="button button--secondary button--small" title="Refresh now">
|
<button type="submit" class="button button--secondary button--small" title="Refresh now">
|
||||||
{{ icon("refresh") }}
|
{{ icon("repost") }}
|
||||||
</button>
|
</button>
|
||||||
</form>
|
</form>
|
||||||
<form method="post" action="{{ baseUrl }}/channels/{{ channel.uid }}/feeds/remove" style="display:inline;">
|
<form method="post" action="{{ baseUrl }}/channels/{{ channel.uid }}/feeds/remove" style="display:inline;">
|
||||||
|
|||||||
Reference in New Issue
Block a user