nandi/gleanpublic Fork 0
ce55b7c
Commits
Clone
git clone https://git.rickub.com/nandi/glean.git
git clone ssh://git@rickub.com/nandi/glean.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

Refresh feed list on addUnverified

Julien Robert committed 2026-06-04T09:12:02+02:00 Browse files
ce55b7c parent: 82d1c8b
modified internal/tmpl/feeds.html +1 -1
@@ -65,7 +65,7 @@ function gleanToggleEdit(id){var i=document.getElementById('feed-edit-'+id);if(i
6565 <h2 class="text-sm font-bold text-spot-text uppercase tracking-wide">Add feed</h2>
6666 <form hx-post="/feeds/add" hx-target="#feed-list" hx-swap="beforeend"
6767 hx-on::before-request="document.getElementById('add-feed-error').textContent=''"
68- hx-on::after-request="if(event.detail.successful)this.reset();else document.getElementById('add-feed-error').textContent=event.detail.xhr.responseText"
68+ hx-on::after-request="if(event.detail.successful){this.reset();location.reload()}else{document.getElementById('add-feed-error').textContent=event.detail.xhr.responseText}"
6969 class="space-y-3">
7070 {{csrfInput .CSRFToken}}
7171 <input type="text" name="feed_url" placeholder="https://example.com/feed.xml or at://did:plc:.../site.standard.publication/..."
@@ -65,7 +65,7 @@ function gleanToggleEdit(id){var i=document.getElementById('feed-edit-'+id);if(i
65 <h2 class="text-sm font-bold text-spot-text uppercase tracking-wide">Add feed</h2>65 <h2 class="text-sm font-bold text-spot-text uppercase tracking-wide">Add feed</h2>
66 <form hx-post="/feeds/add" hx-target="#feed-list" hx-swap="beforeend"66 <form hx-post="/feeds/add" hx-target="#feed-list" hx-swap="beforeend"
67 hx-on::before-request="document.getElementById('add-feed-error').textContent=''"67 hx-on::before-request="document.getElementById('add-feed-error').textContent=''"
68- hx-on::after-request="if(event.detail.successful)this.reset();else document.getElementById('add-feed-error').textContent=event.detail.xhr.responseText"68+ hx-on::after-request="if(event.detail.successful){this.reset();location.reload()}else{document.getElementById('add-feed-error').textContent=event.detail.xhr.responseText}"
69 class="space-y-3">69 class="space-y-3">
70 {{csrfInput .CSRFToken}}70 {{csrfInput .CSRFToken}}
71 <input type="text" name="feed_url" placeholder="https://example.com/feed.xml or at://did:plc:.../site.standard.publication/..."71 <input type="text" name="feed_url" placeholder="https://example.com/feed.xml or at://did:plc:.../site.standard.publication/..."