fix: replace invalid icon names — external→syndicate, checkboxChecked→tick (v1.0.48)

These icon names don't exist in @indiekit/frontend's icon set, rendering
as empty placeholder squares. Replaced with valid core icons.

Confab-Link: http://localhost:8080/sessions/bb4a6ec4-b711-48cd-b3d7-942ec2a9851d
This commit is contained in:
Ricardo
2026-03-13 12:55:29 +01:00
parent 5ec09eb799
commit 465caccc94
5 changed files with 11 additions and 11 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "@rmdes/indiekit-endpoint-microsub",
"version": "1.0.47",
"version": "1.0.48",
"description": "Microsub endpoint for Indiekit. Enables subscribing to feeds and reading content using the Microsub protocol.",
"keywords": [
"indiekit",

View File

@@ -38,14 +38,14 @@
</div>
<div class="ms-actor-profile__actions">
<a href="{{ actor.url }}" class="button button--secondary button--small" target="_blank" rel="noopener">
{{ icon("external") }} View profile
{{ icon("syndicate") }} View profile
</a>
{% if canFollow %}
{% if isFollowing %}
<form action="{{ baseUrl }}/actor/unfollow" method="POST" style="display: inline;">
<input type="hidden" name="actorUrl" value="{{ actorUrl }}">
<button type="submit" class="button button--secondary button--small">
{{ icon("checkboxChecked") }} Following
{{ icon("tick") }} Following
</button>
</form>
{% else %}
@@ -152,7 +152,7 @@
{# Actions #}
<div class="ms-item-actions">
<a href="{{ item.url }}" class="ms-item-actions__button" target="_blank" rel="noopener" title="View original">
{{ icon("external") }}
{{ icon("syndicate") }}
</a>
<a href="{{ baseUrl }}/compose?reply={{ item.url | urlencode }}" class="ms-item-actions__button" title="Reply">
{{ icon("reply") }}

View File

@@ -10,7 +10,7 @@
<input type="hidden" name="channel" value="{{ channel.uid }}">
<input type="hidden" name="entry" value="last-read-entry">
<button type="submit" class="button button--secondary button--small">
{{ icon("checkboxChecked") }} {{ __("microsub.reader.markAllRead") }}
{{ icon("tick") }} {{ __("microsub.reader.markAllRead") }}
</button>
</form>
{% endif %}
@@ -58,7 +58,7 @@
{% else %}
<div class="ms-reader__empty">
{% if readCount > 0 and not showRead %}
{{ icon("checkboxChecked") }}
{{ icon("tick") }}
<p>{{ __("microsub.reader.allRead") }}</p>
<a href="{{ baseUrl }}/channels/{{ channel.uid }}?showRead=true" class="button button--secondary">
{{ icon("show") }} {{ __("microsub.reader.showRead", { count: readCount }) }}

View File

@@ -130,7 +130,7 @@
<footer class="ms-item__actions">
{% if item.url %}
<a href="{{ item.url }}" class="button button--secondary button--small" target="_blank" rel="noopener">
{{ icon("external") }} {{ __("microsub.item.viewOriginal") }}
{{ icon("syndicate") }} {{ __("microsub.item.viewOriginal") }}
</a>
{% endif %}
<a href="{{ baseUrl }}/compose?reply={{ item.url | urlencode }}" class="button button--secondary button--small">
@@ -150,7 +150,7 @@
class="button button--secondary button--small ms-item__mark-read"
data-item-id="{{ item._id }}"
data-channel="{{ channel.uid }}">
{{ icon("checkboxChecked") }} {{ __("microsub.timeline.markRead") }}
{{ icon("tick") }} {{ __("microsub.timeline.markRead") }}
</button>
{% endif %}
</footer>

View File

@@ -158,7 +158,7 @@
{% endif %}
{% if item.url %}
<a href="{{ item.url }}" class="ms-item-actions__button" target="_blank" rel="noopener" title="View original">
{{ icon("external") }}
{{ icon("syndicate") }}
<span class="-!-visually-hidden">Original</span>
</a>
{% endif %}
@@ -188,7 +188,7 @@
{% if item._channelUid %}data-channel-uid="{{ item._channelUid }}"{% endif %}
{% if item._channelId %}data-channel-id="{{ item._channelId }}"{% endif %}
title="Mark as read">
{{ icon("checkboxChecked") }}
{{ icon("tick") }}
<span class="-!-visually-hidden">Mark read</span>
</button>
<button type="button"
@@ -213,7 +213,7 @@
{% if item._channelUid %}data-channel-uid="{{ item._channelUid }}"{% endif %}
{% if item._channelId %}data-channel-id="{{ item._channelId }}"{% endif %}
title="Mark as read">
{{ icon("checkboxChecked") }}
{{ icon("tick") }}
<span class="-!-visually-hidden">Mark read</span>
</button>
{% endif %}