~ihabunek

Zagreb, Croatia

~ihabunek/toot-discuss

Last active a month ago

~ihabunek/hub3-announce

Last active 1 year, 7 months ago

~ihabunek/triglav-discuss

Last active 3 years ago
View more

Recent activity

[PATCH tooi 2/3] GotoScreen: add keyboard shortcuts a month ago

From Ivan Habunek to ~ihabunek/toot-discuss

Refactors the widget to use Menu and uses the newly added feature to add
keyboard shortcuts to menu items.

This enables cobos such as "gh" to open the home timeline.
---
 tooi/screens/goto.py | 33 ++++++++++++++-------------------
 1 file changed, 14 insertions(+), 19 deletions(-)

diff --git a/tooi/screens/goto.py b/tooi/screens/goto.py
index 91de775..3aae8ed 100644
--- a/tooi/screens/goto.py
+++ b/tooi/screens/goto.py
@@ -1,12 +1,13 @@
from textual import on
[message trimmed]

[PATCH tooi 3/3] MenuItem: Highlight shortcut keys a month ago

From Ivan Habunek to ~ihabunek/toot-discuss

---
 tooi/widgets/menu.py | 17 +++++++++++++++--
 1 file changed, 15 insertions(+), 2 deletions(-)

diff --git a/tooi/widgets/menu.py b/tooi/widgets/menu.py
index f2911e6..b6113fc 100644
--- a/tooi/widgets/menu.py
+++ b/tooi/widgets/menu.py
@@ -1,7 +1,9 @@
import re

from typing import cast
from rich.text import Text

[message trimmed]

[PATCH tooi 1/3] Menu: add support for keyboard shortcuts a month ago

From Ivan Habunek to ~ihabunek/toot-discuss

---
 tooi/widgets/menu.py | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/tooi/widgets/menu.py b/tooi/widgets/menu.py
index e11b295..f2911e6 100644
--- a/tooi/widgets/menu.py
+++ b/tooi/widgets/menu.py
@@ -1,5 +1,7 @@
from typing import cast

from textual import events
from textual.app import log
from textual.message import Message
[message trimmed]

Re: [PATCH tooi v2] api.timeline: factor and clean up a month ago

From Ivan Habunek to ~ihabunek/toot-discuss

Applied. Thanks.

-- Ivan

Re: [PATCH tooi] api.timeline: factor and clean up a month ago

From Ivan Habunek to ~ihabunek/toot-discuss

Please rebase this one on main since it does not apply cleanly.

Thanks.

-- Ivan

Re: [PATCH tooi] Add personal timeline to GotoScreen a month ago

From Ivan Habunek to ~ihabunek/toot-discuss

On Tue, 9 Jan 2024, at 16:52, Lexi Winter wrote:
> diff --git a/tooi/app.py b/tooi/app.py
> index 8a8995d..ac77586 100644
> --- a/tooi/app.py
> +++ b/tooi/app.py
> @@ -5,13 +5,14 @@ from textual.app import App
>  from textual.screen import ModalScreen
>  from urllib.parse import urlparse
> 
> -from tooi.api.timeline import Timeline, HomeTimeline, LocalTimeline, 
> TagTimeline
> +from tooi.api.timeline import Timeline, HomeTimeline, LocalTimeline, 
> TagTimeline, AccountTimeline
>  from tooi.api.timeline import FederatedTimeline, ContextTimeline, 

Re: [PATCH tooi v2] Add notification tab (#6) a month ago

From Ivan Habunek to ~ihabunek/toot-discuss

Thanks!

-- Ivan