urbit / shrub

An operating function (Prototype)
https://urbit.org
MIT License
28 stars 2 forks source link

DM improvements #14

Closed will-hanlen closed 2 months ago

will-hanlen commented 3 months ago

negotiator shrub which sets up mutual DM subscriptions and hub-and-spoke groupchats.

future milestone: users can accept or reject DM and groupchat joins.

stretch goal: pull in Circles to populate options for who to start DMs/groupchats with

hanfel-dovned commented 3 months ago

From #11:

_"but we probably want to move to a different architecture:

aggregator publisher subscriber."_

hanfel-dovned commented 3 months ago
hanfel-dovned commented 3 months ago

I've split the logic between a publisher and a subscriber shrub. This feels cleaner on the backend side, but there's a lot of code re-use on the rendering side.

Next steps are to fix a synching bug with the subscriber dependencies and add UI elements for creating a new DM and adding people to a DM.

(Does "DM" imply only two people? These are multi-party now.)

will-hanlen commented 3 months ago

our.bowl issue is fixed, but still need to rework all the con files to use an updated here.bowl which also includes the our

tiller-tolbus commented 3 months ago
tiller-tolbus commented 3 months ago

DM and groupchat UIs should have iMessage-style chat bubbles (on the right-hand side if it's your message and left-hand side if it's somebody else's)

hanfel-dovned commented 2 months ago

lib/messages.hoon

con/messenger.hoon

Testing