Bubble [main]

Auto-update post title from first segment

=> Jaakko Keränen

Fri Oct 11 13:31:20 2024 +0300

Regardless of whether you are creating or editing segments,

if the first text segment starts with a level 1 heading, it

is extracted and used as the post title.

 composer.py | 16 ++++++++++++++++
 feeds.py    | 10 +---------
 model.py    | 20 ++++++++++++++++++--
 settings.py |  2 +-
 utils.py    | 13 +++++++++++++
 5 files changed, 49 insertions(+), 12 deletions(-)

=> Diff (Colored) | Diff (Colored, Plain Text) | 🔨 Patch

=> Parent fc6c458 | Repository

Proxy Information
Original URL
gemini://git.skyjake.fi/bubble/main/commits/25daafc
Status Code
Success (20)
Meta
text/gemini; charset=utf-8
Capsule Response Time
31.212596 milliseconds
Gemini-to-HTML Time
0.458773 milliseconds

This content has been proxied by September (ba2dc).