hugovk / norwegianblue

CLI to show end-of-life dates for a number of products.
https://endoflife.date
MIT License
74 stars 4 forks source link

:pray: User Experience on cli > left alignement of "cycle" #154

Closed adriens closed 1 year ago

adriens commented 1 year ago

:grey_question: About

Currently, on the cli, cycle is centered:

┌────────────────────────────────────────────────────────────────
│                                                                
├────────┬────────────┬──────────┬────────────────┬────────────┬─
│ cyclereleaselatestlatest releasesupport   │ 
├────────┼────────────┼──────────┼────────────────┼────────────┼─
│ 20 LTS │ 2023-04-18 │  20.2.0  │   2023-05-16   │ 2024-10-22 │ 
│   19   │ 2022-10-18 │  19.9.0  │   2023-04-10   │ 2023-04-01 │ 
│ 18 LTS │ 2022-04-19 │ 18.16.0  │   2023-04-12   │ 2023-10-18 │ 
│   17   │ 2021-10-19 │  17.9.1  │   2022-06-01   │ 2022-04-01 │ 
│ 16 LTS │ 2021-04-20 │ 16.20.0  │   2023-03-29   │ 2022-10-18 │ 
│   15   │ 2020-10-20 │ 15.14.0  │   2021-04-06   │ 2021-04-01 │ 
│ 14 LTS │ 2020-04-21 │ 14.21.3  │   2023-02-16   │ 2021-10-19 │ 
│   13   │ 2019-10-22 │ 13.14.0  │   2020-04-29   │ 2020-04-01

... which makes it not optimal to read (my own point of view).

But when we export as markdown, it is left justified.... which make things (my pov) very comfortable to read:

image

:pray: Feature request

hugovk commented 1 year ago

Thanks, this is actually a bug and will be fixed by https://github.com/hugovk/norwegianblue/pull/155.

adriens commented 1 year ago

:ok_man: image