japhb / Terminal-Widgets

Simple Raku widgets for full-screen TUIs
Artistic License 2.0
4 stars 3 forks source link

Provide a default design language for T-W apps #8

Open japhb opened 5 months ago

japhb commented 5 months ago

At the moment T-W makes some relatively arbitrary decisions about what the built-in widgets look like and how they act. In addition, the arrangement of Widgets into TopLevels is mostly a matter of convention and the available capabilities of the constraint solving system built into the Layout engine.

This is not to say that no thought has gone into this; I've mostly tried to keep the implemented bits at least somewhat intuitive (to me), but there are a LOT of capabilities one might expect to find that are not yet implemented, and decisions that are currently left entirely to the app developer with no guarantee different app developers will make the same choices.

It would be much more intuitive for the average user, and easier for the app developer, if there were one or more built-in design languages available that can easily be opted in to. The user could then assume that any app based on one of these would act roughly the same (and hopefully as they expect for the app type).

Existing terminal-friendly design languages to consider:

(More examples very much welcome!)

patrickbkr commented 3 months ago

I just found out about GitUI. Surprisingly it has a UI that works remarkably similar to how I envision my debugger to work and look.