Compare commits

...

2 Commits

Author SHA1 Message Date
glyph fb3bae27b7 updat index links 2022-09-09 11:05:00 +01:00
glyph 7548962ff6 fix indentation and make minor wording improvements 2022-09-09 11:04:50 +01:00
3 changed files with 10 additions and 10 deletions

View File

@ -10,14 +10,14 @@ Author: [@glyph](https://mycelial.technology/)
- [Part 1: Sbot and Web Server](https://git.coopcloud.tech/glyph/lykin_tutorial/src/branch/main/part_1_sbot_rocket)
- [Part 2: Subscription Form and Key Validation](https://git.coopcloud.tech/glyph/lykin_tutorial/src/branch/main/part_2_subscribe_form)
- Part 3: Database and Follows
- Part 4: Posts and Message Streams
- Part 5: Task Loop
- Part 6: UI Layout and Peers List
- Part 7: Latest Posts and Names
- Part 8: Post List and Post Content
- Part 9: Read, Unread and Delete
- Part 10: Extension Ideas and Conclusion
- [Part 3: Database and Follows](https://git.coopcloud.tech/glyph/lykin_tutorial/src/branch/main/part_3_database_follows)
- [Part 4: Posts and Message Streams](https://git.coopcloud.tech/glyph/lykin_tutorial/src/branch/main/part_4_posts_streams)
- [Part 5: Task Loop](https://git.coopcloud.tech/glyph/lykin_tutorial/src/branch/main/part_5_task_loop)
- [Part 6: UI Layout and Peers List](https://git.coopcloud.tech/glyph/lykin_tutorial/src/branch/main/part_6_ui_layout)
- [Part 7: Latest Posts and Names](https://git.coopcloud.tech/glyph/lykin_tutorial/src/branch/main/part_7_latest_posts)
- [Part 8: Post List and Post Content](https://git.coopcloud.tech/glyph/lykin_tutorial/src/branch/main/part_8_ui_posts)
- [Part 9: Read, Unread and Delete](https://git.coopcloud.tech/glyph/lykin_tutorial/src/branch/main/part_9_read_delete)
- [Part 10: Extension Ideas and Conclusion](https://git.coopcloud.tech/glyph/lykin_tutorial/src/branch/main/part_10_extension_ideas)
## Links

View File

@ -36,7 +36,7 @@ The application we've written is very basic and still quite rough around the edg
I hope I've given you a few ideas for further development and that you feel excited and equipped to continue playing with this application. Make it your own! Modify the CSS, add new features, remove what you don't like...have fun.
If you do end up taking this futher, I'd love to hear about it! Please send me an email on `glyph@mycelial.technology` or on Scuttlebutt. You could also post an issue on the `lykin` git repo.
If you do end up taking this futher, I'd love to hear about it! Please send me an email on `glyph@mycelial.technology` or on Scuttlebutt (`@HEqy940T6uB+T+d9Jaa58aNfRzLx9eRWqkZljBmnkmk=.ed25519`). You could also post an issue on the `lykin` git repo.
Please also contact me with any feedback you may have about this tutorial series.

View File

@ -71,7 +71,7 @@ pub async fn home(db: &State<Database>, flash: Option<FlashMessage<'_>>) -> Temp
// Count the total unread posts for the given peer.
let unread_count = db.get_unread_post_count(&peer.public_key);
// Push a tuple of the peer data and peer unread post count
// to the `peers_unread` vector.
// to the `peers_unread` vector.
peers_unread.push((peer, unread_count.to_string()));
}