standards-hub / docs

A documentation template made with Nuxt UI Pro.
https://standards-hub.github.io/docs/
0 stars 0 forks source link

[FEATURE] ShListCards - New constructor #119

Closed jpradocueva closed 1 month ago

jpradocueva commented 4 months ago

ShListCards New Constructor

We need a new constructor ShListCards to represent a list of news. See example, Latest News at the bottom of the index page.

Properties: see spreadsheet

Example

This is a possible example of how this new constructor can be used:

::ShListCard
---
description: This module is indented inside of a ShColum
cols: 3 # three columns of news
title: News
subtitle: Latest Information on LwM2M
text: |
        Open Mobile Alliance continues advancing its LwM2M protocol into the smart meter vertical ...
cardID: 1, 30, 2, 45, 8, 3, 100 # This is the order in which the news will be listed from left to right and top to bottom inside of a matrix of 3 columns and n rows.
tags: 5G, Security, LwM2M, SmartMeter # A click on one of these tags will filter the list of Card based on that selection
---
::

Changes to ShCard

In order to render e.g., a list of news as in the example, Latest News. We need to introduce the following changes to the ShCard constructor:

Changes to Properties

News

ShCard and ShListCards are used to content and display news on any page. All the news should be stored in a specific folder called News, and the files containing the news follow the following filename schema:

FroudeDescartes commented 3 months ago

PR related to this issue

FroudeDescartes commented 3 months ago

As I have merged this PR, I have realized that tags and content excerpt are not implemented, so those will be addressed in additional PR

jpradocueva commented 3 months ago

Other improvements

@FroudeDescartes I list here other less pressing improvements, some are related to ShCards

jpradocueva commented 3 months ago

Issues identified:

jpradocueva commented 3 months ago

Issues Identified: @FroudeDescartes

jpradocueva commented 3 months ago

Issues Identified:

FroudeDescartes commented 2 months ago

PR related to this issue (one of many)

jpradocueva commented 2 months ago

All the issues have been resolved.