Skip to content
This repository has been archived by the owner on Oct 3, 2022. It is now read-only.

Global thread watcher #1220

Open
Kamuso opened this issue Aug 14, 2020 · 1 comment
Open

Global thread watcher #1220

Kamuso opened this issue Aug 14, 2020 · 1 comment

Comments

@Kamuso
Copy link
Contributor

Kamuso commented Aug 14, 2020

Tag watcher in v7. Pings you when a thread is created on a board you're watching. Could use the selectedBoards local storage as the watched list.
Any opinions on the feature, or thoughts on how to detect thread creation?

@bakape bakape changed the title Board watcher Global thread watcher Aug 14, 2020
@bakape
Copy link
Owner

bakape commented Aug 14, 2020

thread descriptor:

{
  id: u64,
  tags: Vec<String>,
  post_count: u32,
  subject: String,
}
  • On thread creation, send thread descriptor to all clients globally
  • Cache current thread descriptors
    • Load on server start
    • Send to client on connection
  • Send new post count on post open
  • Send new tags on tag edit

@bakape bakape added this to the v7 milestone Aug 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants