Show a single Category highlighted (on top) on Region-page #647
Labels
Change: Code
Changes to logic/templates required
Change: Content
Changes to the text-content required
Change: Visual
Changes to styling/lay-out required
Client: UM
Specifically for Undocumented Migrants ("normal HIA")
documentation
Improvements or additions to documentation
enhancement
New feature or request
Feature: Region/Sheet
Custom settings/values manageable in the sheet
Feature: (Sub-)Categories
The structure/hierarchy of data
question
Further information is requested
Size: S
Small, 1 day for 1 developer
Possible solution: Extra Category-property
We could add a "pin"/"sticky"/"highlight"-property to a Category.
So in the sheet we'd have an extra column with a "Yes/No"-field per Category.
This would switch the layout for that category to "full width" or "regular single block".
(Like in #112 )
Downsides:
Possible solution: Using Markdown/HTML links
We could use a Markdown or HTML-link in the sheets' Introduction-text. This will be shown above the list/grid of Categories.
For example: https://green-pebble-0707a6b03.azurestaticapps.net/example
Downsides:
currently ALL Markdown/HTML-links (even local/relative ones) will open in a new window/tabPossibly work around that with plugin: https://www.npmjs.com/package/markdown-it-link-attributesSee Let relative/internal links in HTML/Markdown-content NOT open new window/tab #649The text was updated successfully, but these errors were encountered: