mirror of
https://github.com/svemagie/indiekit-endpoint-microsub.git
synced 2026-04-02 15:35:00 +02:00
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:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@rmdes/indiekit-endpoint-microsub",
|
"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.",
|
"description": "Microsub endpoint for Indiekit. Enables subscribing to feeds and reading content using the Microsub protocol.",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"indiekit",
|
"indiekit",
|
||||||
|
|||||||
@@ -38,14 +38,14 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="ms-actor-profile__actions">
|
<div class="ms-actor-profile__actions">
|
||||||
<a href="{{ actor.url }}" class="button button--secondary button--small" target="_blank" rel="noopener">
|
<a href="{{ actor.url }}" class="button button--secondary button--small" target="_blank" rel="noopener">
|
||||||
{{ icon("external") }} View profile
|
{{ icon("syndicate") }} View profile
|
||||||
</a>
|
</a>
|
||||||
{% if canFollow %}
|
{% if canFollow %}
|
||||||
{% if isFollowing %}
|
{% if isFollowing %}
|
||||||
<form action="{{ baseUrl }}/actor/unfollow" method="POST" style="display: inline;">
|
<form action="{{ baseUrl }}/actor/unfollow" method="POST" style="display: inline;">
|
||||||
<input type="hidden" name="actorUrl" value="{{ actorUrl }}">
|
<input type="hidden" name="actorUrl" value="{{ actorUrl }}">
|
||||||
<button type="submit" class="button button--secondary button--small">
|
<button type="submit" class="button button--secondary button--small">
|
||||||
{{ icon("checkboxChecked") }} Following
|
{{ icon("tick") }} Following
|
||||||
</button>
|
</button>
|
||||||
</form>
|
</form>
|
||||||
{% else %}
|
{% else %}
|
||||||
@@ -152,7 +152,7 @@
|
|||||||
{# Actions #}
|
{# Actions #}
|
||||||
<div class="ms-item-actions">
|
<div class="ms-item-actions">
|
||||||
<a href="{{ item.url }}" class="ms-item-actions__button" target="_blank" rel="noopener" title="View original">
|
<a href="{{ item.url }}" class="ms-item-actions__button" target="_blank" rel="noopener" title="View original">
|
||||||
{{ icon("external") }}
|
{{ icon("syndicate") }}
|
||||||
</a>
|
</a>
|
||||||
<a href="{{ baseUrl }}/compose?reply={{ item.url | urlencode }}" class="ms-item-actions__button" title="Reply">
|
<a href="{{ baseUrl }}/compose?reply={{ item.url | urlencode }}" class="ms-item-actions__button" title="Reply">
|
||||||
{{ icon("reply") }}
|
{{ icon("reply") }}
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
<input type="hidden" name="channel" value="{{ channel.uid }}">
|
<input type="hidden" name="channel" value="{{ channel.uid }}">
|
||||||
<input type="hidden" name="entry" value="last-read-entry">
|
<input type="hidden" name="entry" value="last-read-entry">
|
||||||
<button type="submit" class="button button--secondary button--small">
|
<button type="submit" class="button button--secondary button--small">
|
||||||
{{ icon("checkboxChecked") }} {{ __("microsub.reader.markAllRead") }}
|
{{ icon("tick") }} {{ __("microsub.reader.markAllRead") }}
|
||||||
</button>
|
</button>
|
||||||
</form>
|
</form>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@@ -58,7 +58,7 @@
|
|||||||
{% else %}
|
{% else %}
|
||||||
<div class="ms-reader__empty">
|
<div class="ms-reader__empty">
|
||||||
{% if readCount > 0 and not showRead %}
|
{% if readCount > 0 and not showRead %}
|
||||||
{{ icon("checkboxChecked") }}
|
{{ icon("tick") }}
|
||||||
<p>{{ __("microsub.reader.allRead") }}</p>
|
<p>{{ __("microsub.reader.allRead") }}</p>
|
||||||
<a href="{{ baseUrl }}/channels/{{ channel.uid }}?showRead=true" class="button button--secondary">
|
<a href="{{ baseUrl }}/channels/{{ channel.uid }}?showRead=true" class="button button--secondary">
|
||||||
{{ icon("show") }} {{ __("microsub.reader.showRead", { count: readCount }) }}
|
{{ icon("show") }} {{ __("microsub.reader.showRead", { count: readCount }) }}
|
||||||
|
|||||||
@@ -130,7 +130,7 @@
|
|||||||
<footer class="ms-item__actions">
|
<footer class="ms-item__actions">
|
||||||
{% if item.url %}
|
{% if item.url %}
|
||||||
<a href="{{ item.url }}" class="button button--secondary button--small" target="_blank" rel="noopener">
|
<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>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<a href="{{ baseUrl }}/compose?reply={{ item.url | urlencode }}" class="button button--secondary button--small">
|
<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"
|
class="button button--secondary button--small ms-item__mark-read"
|
||||||
data-item-id="{{ item._id }}"
|
data-item-id="{{ item._id }}"
|
||||||
data-channel="{{ channel.uid }}">
|
data-channel="{{ channel.uid }}">
|
||||||
{{ icon("checkboxChecked") }} {{ __("microsub.timeline.markRead") }}
|
{{ icon("tick") }} {{ __("microsub.timeline.markRead") }}
|
||||||
</button>
|
</button>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</footer>
|
</footer>
|
||||||
|
|||||||
@@ -158,7 +158,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% if item.url %}
|
{% if item.url %}
|
||||||
<a href="{{ item.url }}" class="ms-item-actions__button" target="_blank" rel="noopener" title="View original">
|
<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>
|
<span class="-!-visually-hidden">Original</span>
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@@ -188,7 +188,7 @@
|
|||||||
{% if item._channelUid %}data-channel-uid="{{ item._channelUid }}"{% endif %}
|
{% if item._channelUid %}data-channel-uid="{{ item._channelUid }}"{% endif %}
|
||||||
{% if item._channelId %}data-channel-id="{{ item._channelId }}"{% endif %}
|
{% if item._channelId %}data-channel-id="{{ item._channelId }}"{% endif %}
|
||||||
title="Mark as read">
|
title="Mark as read">
|
||||||
{{ icon("checkboxChecked") }}
|
{{ icon("tick") }}
|
||||||
<span class="-!-visually-hidden">Mark read</span>
|
<span class="-!-visually-hidden">Mark read</span>
|
||||||
</button>
|
</button>
|
||||||
<button type="button"
|
<button type="button"
|
||||||
@@ -213,7 +213,7 @@
|
|||||||
{% if item._channelUid %}data-channel-uid="{{ item._channelUid }}"{% endif %}
|
{% if item._channelUid %}data-channel-uid="{{ item._channelUid }}"{% endif %}
|
||||||
{% if item._channelId %}data-channel-id="{{ item._channelId }}"{% endif %}
|
{% if item._channelId %}data-channel-id="{{ item._channelId }}"{% endif %}
|
||||||
title="Mark as read">
|
title="Mark as read">
|
||||||
{{ icon("checkboxChecked") }}
|
{{ icon("tick") }}
|
||||||
<span class="-!-visually-hidden">Mark read</span>
|
<span class="-!-visually-hidden">Mark read</span>
|
||||||
</button>
|
</button>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
Reference in New Issue
Block a user