mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-15 18:12:47 +03:00
ea93dd3af8
Specifically, this commit removes the add action from the contact-view and replaces it with a listener within contact-hook for additions to groups. This means that when a ship is added to a group that the contact-hook is watching, the ship is automatically sent an invite to join that "managed group" from the contacts application. This also includes the UI integration work on the management screen and settings screen for working with the new group / permission structure.
18 lines
468 B
Plaintext
18 lines
468 B
Plaintext
/- *contact-store
|
|
|%
|
|
+$ contact-view-action
|
|
$% :: %create: create in both groups and contacts
|
|
::
|
|
[%create =path ships=(set ship)]
|
|
:: %remove: remove from both groups and contacts
|
|
::
|
|
[%remove =path =ship]
|
|
:: %delete: delete in both groups and contacts
|
|
::
|
|
[%delete =path]
|
|
:: %share: send %add contact-action to to recipient's contact-hook
|
|
::
|
|
[%share recipient=ship =path =ship =contact]
|
|
==
|
|
--
|