63b2ad8440857e84b898a10ac662a94bfb47f690
The notification item component was incorrectly accessing `notif.username` directly instead of `notif.username.name`, causing undefined values to appear in the notification display when the username field contained an object with a `name` property. Added a console.info statement for debugging and corrected the property chain to properly extract the display name from nested object structures.
Rantii
DevRant client built with vanilla JavaScript, Web Components, and CSS.
Requirements
- Python 3.8+
- aiohttp (
pip install aiohttp)
Run
python3 proxy.py
Open http://localhost:8101
Features
- Browse rants, weekly challenges, collabs, stories
- User profiles and notifications
- Voting, commenting, posting
- Search
- 7 themes: dark, light, black, white, ocean, forest, sunset
- PWA installable
- Offline support via service worker
Structure
rantii/
├── index.html
├── proxy.py
├── manifest.json
├── sw.js
├── css/
│ ├── base.css
│ ├── variables.css
│ ├── themes/
│ └── components/
├── js/
│ ├── app.js
│ ├── api/
│ ├── services/
│ ├── components/
│ ├── pages/
│ └── utils/
├── lib/
│ ├── marked.min.js
│ └── highlight.min.js
└── assets/
Author
retoor retoor@molodetz.nl
Description
devRant front-end with markdown, syntax highlighting, url previews and youtube / image embedding.
672 KiB
Languages
JavaScript
73.6%
CSS
19.1%
Python
6.2%
HTML
1%