endoflife-date / endoflife.date

Informative site with EoL dates of everything
https://endoflife.date
MIT License
2.49k stars 772 forks source link

[Request] a new tag for products : description/productDescription #2065

Closed usta closed 1 year ago

usta commented 1 year ago

I think having a string tag called description/productDescription will nice to have so we can do something like this [1] or [2] , sure also we can easily use it within our api system The main idea is a short version of context will be in this tag [not more than a few lines]

example [1] :
image

example [2]: image

usta commented 1 year ago

What do you think @captn3m0 @generalmimon @BiNZGi @hebbet @marcwrobel @adriens ?

usta commented 1 year ago

@hugovk

captn3m0 commented 1 year ago

Since we already have a clear blockquote (>) as part of our contribution template, maybe we can just do this in Jekyll. I don't want to define large HTML/markdown blobs in the front-matter. The only exception so far is LTSLabel where we stuff a abbr tag, but description feels incorrect.

Seeing if this can be done in liquid.

usta commented 1 year ago

you are just looking for the frontend side , this will also allow users to get product information though api it will be nice to used in cli applications that show product information which also needs it though api

captn3m0 commented 1 year ago

The code I wrote for #2069 can also be used for the API usecase. Our convention of using a quote for the product description works well here - and it keeps our contributions simpler (Writing markdown inside YAML isn't always easy).

Long-term, I want to use as little Liquid as possible, by doing all of the logic in Ruby, and presenting a simple data model to both the HTML template, and the API layout.

marcwrobel commented 1 year ago

Nice addition @usta / @captn3m0 :+1: !

Product pages without a logo look a little bit strange. Maybe we should add a default logo or remove it entirely in that case ?

usta commented 1 year ago

@marcwrobel @captn3m0 we can use [prepare same or similar icon for simpleicons] for NA icons image

marcwrobel commented 1 year ago

I doubt simpleicons will accept it, but we could try.

captn3m0 commented 1 year ago

We can add it directly in our template as well.

marcwrobel commented 1 year ago

Yep, I was more thinking about that.

I fear choosing a logo for such product will be difficult (like it is for #978): it must be clear that this is not the product logo. So I wonder if it would not be simpler to just drop it for those pages (=> no more space on the left of the description).

usta commented 1 year ago

i think that logo which i shown above perfect for all applications