~torresjrjr

London (GMT)

https://torresjrjr.com/

Physics undergraduate. long live libre software.

Trackers

~torresjrjr/birck.vim

Last active a day ago

~torresjrjr/pdssg

Last active 3 days ago

~torresjrjr/gemini.vim

Last active 3 days ago

~torresjrjr/linkchanbot

Last active 14 days ago

~torresjrjr/dotfiles

Last active a month ago

#50 Link Select mode 4 days ago

Ticket created by ~torresjrjr on ~adnano/astronaut

From this thread https://lists.sr.ht/~adnano/astronaut-devel/%3CC9KPYBVQPQ7F.7I4RGB0VTK8H%40ace%3E

#Feature description

In summary and to recall, a key binding (likely f) would activate this Link Select mode, and visually tag all the clickable links within the viewport with a letter or letters. The tags would appear affixed to the link titles.

=> [a] A generic Gemini link
=> [s] Another generic Gemini link
=> [d] Yet another generic Gemini link
=> [f] And so on

The user would choose a letter and send/press it, selecting the corresponding link, and leave select mode.

Tags are to be assigned dymanically per viewport.

The set of tagging letters should first come from the keyboard's homerow, then the top and bottom, for ergonomics.

When there are more than 26 links in the viewport, use two letter tags aswell.

#Rationale

This improves apon the UX of scrolling and tabbing. A common problem is: scrolling far down, encountering a link, only to have to tab repeatedly from the top.

#Requirements

See #39 *Better keybinding system"

  • An advanced keybinding system. A history of keypress events to determine whether a valid selection has been made. Bare in mind, the number of keypress events required is variadic, not always two.
  • A new link-select-mode state in the browser/tab/page/idk.

#Notes

This likely requires much refactoring. I could not figure out how to do this myself. Hence the ticket!

#3 [enhancement] Use HTML formatting instead of Markdown 14 days ago

on ~torresjrjr/linkchanbot

REPORTED RESOLVED FIXED

#3 [enhancement] Use HTML formatting instead of Markdown 14 days ago

Comment by ~torresjrjr on ~torresjrjr/linkchanbot

Markdown will continue to be used in /start, /help and /about, since markdown is easier to read and text is not dynamic.

#2 [feature] Add Libreddit instances 14 days ago

on ~torresjrjr/linkchanbot

REPORTED RESOLVED IMPLEMENTED

#2 [feature] Add Libreddit instances 14 days ago

Comment by ~torresjrjr on ~torresjrjr/linkchanbot

Addressed by commit 20c331b

Added 9 Libreddit instances from https://github.com/spikecodes/libreddit

#1 [feature] Add CloudTube instances 14 days ago

on ~torresjrjr/linkchanbot

REPORTED RESOLVED FIXED

#1 [feature] Add CloudTube instances 14 days ago

Comment by ~torresjrjr on ~torresjrjr/linkchanbot

Addressed by commit 20c331b

Added the one instance I could find, tube.cloudtube.moe, with no thumbnail available.

#4 [bug] usernames with underscores break markdown parsing (#3) 14 days ago

on ~torresjrjr/linkchanbot

REPORTED RESOLVED FIXED

#4 [bug] usernames with underscores break markdown parsing (#3) 14 days ago

Comment by ~torresjrjr on ~torresjrjr/linkchanbot

Quickfixed by decfcee

See #3 for thoughts.

#3 [enhancement] Use HTML formatting instead of Markdown 14 days ago

Comment by ~torresjrjr on ~torresjrjr/linkchanbot

Addressed by commit 60d38b5

The TEMPLATE for substituted links (from inline or echo) now uses HTML. The text from /start, /help and /about stil use Markdown, and may continue to, since errors can be easily predetermined and accounted for with suitable escaping, since the text hardly changes (only the BOT_USERNAME).

See Telegram bot API on formatting: https://core.telegram.org/bots/api#formatting-options

This issue shall be revised before becomming resolved.