Commit Graph

13 Commits

Author SHA1 Message Date
Clément DOUIN a0dea19cdf wip: use shared stuff from pimalaya-tui 2024-10-16 11:46:12 +02:00
Clément DOUIN 8ccabf1fc0 make tables more customizable
All tables can customize the color of their column, and the envelopes
table can customize its flag chars.
2024-08-20 10:53:21 +02:00
Clément DOUIN daf2c7c87a make table full width 2024-08-19 09:55:08 +02:00
Clément DOUIN b773218c94 wip: fix printer, make thread compatible with it 2024-05-23 15:04:48 +02:00
Perma Alesheikh 098ae380c3 use comfy-table instead of builtin impl for table
This is to out-source the table making in terminal to the external
library.

I removed the in-house table implementation since it is not used any
more, and had been replaced by comfy-table, we use this instead.

I also have reimplemented table_max_width since new implementation
removed max width , with the new implemetation it will work again.

Signed-off-by: Perma Alesheikh <me@prma.dev>
2024-05-14 18:23:34 +02:00
Perma Alesheikh 5a0ff83a5e replace anyhow and log with color_eyre and tracing
Since Himalaya is intended to be ran as a CLI in the terminal emulator
environment, their user experience could vastly improve with better and
more colorful error messages and logging.

This change will replace more minimal libraries for error-reporting/han-
dling with their more advanced counterparts.

Since these crates have tight integrations, this commit will change both
in one shot.

Also we have don't need env_logger any more. So I also have removed that
guy as well.

Signed-off-by: Perma Alesheikh <me@prma.dev>
2024-04-15 12:17:56 +02:00
Clément DOUIN 3e0cf0cfda refactor backend system, remove accouts flattening 2024-02-21 11:38:50 +01:00
Clément DOUIN 161f35d20e clean cargo features 2024-01-08 10:34:37 +01:00
Clément DOUIN 819bdc84b3 fix features warns and save sent message copy option 2024-01-08 00:33:07 +01:00
Clément DOUIN a6b863759c add one cargo feature per backend feature 2024-01-07 23:48:45 +01:00
Clément DOUIN 2c33dd2f9f refactor envelope with clap derive api 2023-12-06 23:12:06 +01:00
Clément DOUIN 4a77253c1d refactor folder with clap derive api 2023-12-06 22:13:50 +01:00
Clément DOUIN 7a10a7fc25 reorganize folder and cli structure 2023-12-05 15:06:26 +01:00