From 8f1236d962f5e4ac5fe40e064b609e497bba7962 Mon Sep 17 00:00:00 2001

From: =?UTF-8?q?Jaakko=20Kera=CC=88nen?= jaakko.keranen@iki.fi

Date: Sun, 14 May 2023 23:55:35 +0300

Subject: [PATCH 1/1] Improve post actions usability

If the reading order is top-down, add a Comment action at the bottom

of the thread.


feeds.py | 8 +++++++-

1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/feeds.py b/feeds.py

index 859a8bf..4e26462 100644

--- a/feeds.py

+++ b/feeds.py

@@ -218,7 +218,7 @@ def make_post_page(session, post):

     outgoing_xrefs = db.get_issue_crossrefs(session.context,

                                             outgoing_from_issueid=post.issueid)

 n = len(comments)

     dir_icon = '↑' if display_order_desc else '↓'

     page += f'\n## {n} Comment{plural_s(n)} {dir_icon}'

@@ -281,6 +281,12 @@ def make_post_page(session, post):

         rendered_comments.reverse()

     for rendered in rendered_comments:

         page += '\n' + rendered

 return page

--

2.25.1

Proxy Information
Original URL
gemini://git.skyjake.fi/bubble/main/patch/8f1236d962f5e4ac5fe40e064b609e497bba7962.patch
Status Code
Success (20)
Meta
text/plain
Capsule Response Time
28.33132 milliseconds
Gemini-to-HTML Time
0.628434 milliseconds

This content has been proxied by September (ba2dc).