mind-co / comind

think something
https://www.comind.me/
MIT License
6 stars 0 forks source link

Add start page #20

Open cpfiffer opened 8 months ago

cpfiffer commented 8 months ago

Need to open a start page. Users should see 1-5 thoughts.

Will call from /api/startpage and return a list of thoughts.

These will be some combination of notifications, recent thoughts, and thoughts from followed users.

cpfiffer commented 7 months ago

This is about halfway done. Currently this does the two most recent thoughts, but the following function needs to be implemented:

# Get the most relevant thoughts
relevant_thoughts = get_relevant_thoughts(conn, username)

https://github.com/mind-co/comind-server/blob/b91dba8ae864050e0b2731d856214c8c3db82145/src/server.jl#L734-L768

cpfiffer commented 7 months ago

Current status: the start page consists of a single cothought that tries to summarize your last ten thoughts.

Next steps:

  1. Popular thoughts
  2. Thoughts related to recent notifications