Roundup Tracker - Issues

Issue 2551273

classification
Build a TUI/CLI with textualize or python-prompt-toolkit
Type: rfe Severity: minor
Components: Versions:
process
Status: new
:
: : rouilj
Priority: :

Created on 2023-04-05 02:03 by rouilj, last changed 2024-03-06 02:16 by rouilj.

Messages
msg7753 Author: [hidden] (rouilj) Date: 2023-04-05 02:03
textualize is a toolkit for building text based interfaces in python.

 https://www.textualize.io/

While I try to build tracker html instances that work in a text based browser,
javascript is often useful for some UI things and most text based browsers
don't run javascript.

I had a DM on irc asking if there was a text based interface for Roundup.
The best I could point to was roundup-admin.... Which, if you look hard enough
and turn your head just so, can be used to submit files and update issues.
But is far from a curses style interface.

Ranar asked if something like textualize could be used to design it working against
the python API. I don't see why it can't be used. You might be able to even write
an interface using the Rest API rather than running it on the roundup server.
Implementing the @schema endpoint as documented in rest.txt would allow discovery
of the data model.

I am not sure if a generic interface can be created by mapping the schema from
rest or the database and then autogenerate a screen of widgets to manipulate
specific classes, but it's an interesting idea.
msg7754 Author: [hidden] (rouilj) Date: 2023-04-05 02:06
https://github.com/prompt-toolkit/python-prompt-toolkit could be another toolkit
to use.
msg7956 Author: [hidden] (rouilj) Date: 2024-03-06 02:16
https://github.com/prompt-toolkit/python-prompt-toolkit can also be used as a terminal ui or
cli enhancement.
History
Date User Action Args
2024-03-06 02:16:41rouiljsetmessages: + msg7956
title: Build a TUI with textualize -> Build a TUI/CLI with textualize or python-prompt-toolkit
2023-04-05 02:06:13rouiljsetmessages: + msg7754
2023-04-05 02:03:08rouiljcreate