Closed gynt closed 3 weeks ago
I like the idea to display it until it has been clicked or clicked away with an X, except for if newer version is available in the same domain, then the news about the new (but then already old) version doesn't make sense to display at all.
Proposal copied from hackmd:
UCP News
News format
Displayed by category (one sentence) in the Overview tab. There are four sentences displayed, one for each of these four categories:
News is not displayed if the
ignore
condition is true, which is mainly relevant when the new updated versions are installed (no reason to show the news anymore in the main Overview window).All news is accessible in the News modal (button in the top toolbar).
News should be removed when it is not relevant anymore.
Specification
YAML Front Matter followed by markdown content.
Javascript code to parse it
The actual
news.md
file lives on our GitHub main repo (UnofficialCrusaderPatch/UnofficialCrusaderPatch). The GUI reads this file on start.note: the GUI is written in TypeScript, but you get the point.