Dem13n / discussion-cards

Output of discussions in form of cards
MIT License
15 stars 5 forks source link

3 cards type settings #27

Open justdudeone opened 3 years ago

justdudeone commented 3 years ago

Hello, I prefer to have at top 2-3 sticky topics as vertical-primary cards, then 5 horizontal cards with last new active answers with images, then more compact-smaller horizontal cards. Will be nice to have an option for the manual setup the type and number of different cards like this: 1) Primary cards: vertical + width % or better just number of cards per row + number of rows // horizontal + number // horizontal compact + number // use for types: any or sticky only. 2) Secondary cards - horizontal + number // horizontal compact + number // standard listing. 3) Tertiary - horizontal compact + number // standard listing.

If at (1) the specific number was not set - then next cards type (2) settings will be hidden and cards type (1) will be used for the whole topics listing. The same if at (2) the specific number was not set - then next cards type (3) settings will be hidden and cards type (2) will be used for the whole next topics listing. If numbers at cards types (1) and (2) was set then cards type (3) will be used for the whole next topics listing.

Most of this functionality are already exist or almost done, will be just great to add 3 cards types custom setup + new more compact horizontal cards. Sure you can make it easy. 👍