gamevault-app
gamevault-app copied to clipboard
Markdown News, Message of the Day, Notes and Descriptions
The client should support Markdown for two main use cases:
- Displaying emphasized descriptions.
- Rendering a "Message of the Day" (MOTD) and "Phalcode News" page on startup.
Tasks:
Server-side:
- [ ] Implement a GET and PUT API for
motd.md
, a Markdown file that admins can edit. - [ ] Implement a page for
news.md
atphalco.de/gamevault/news.md
. - [X] Support Markdown in Descriptions
- [X] Implement a "Notes" field in GameMetadata for Admin notes, that also supports markdown.
Client-side:
- [ ] Integrate a Markdown library capable of editing and visualizing Markdown files.
- [ ] Render Markdown Description in GameView
- [ ] Render Markdown Notes in GameView
- [ ] Create a new News/MOTD popup with two tabs: one for server news and one for GameVault news, displaying Markdown content from specified URLs.
- [ ] Add a button to re-open the News/MOTD popup.
- [ ] Calculate a checksum based on the contents of
motd.md
andnews.md
. If the user has already seen this checksum, the popup should not auto-open; otherwise, it should open on startup (similar to Steam). - [ ] Add a configuration option to never show this popup automatically.