status-desktop icon indicating copy to clipboard operation
status-desktop copied to clipboard

Close Chat and Clear History flows updated to align with mobile app in terms of functionality and terminology

Open benjthayer opened this issue 1 year ago • 2 comments

The Close Chat and Clear History context menu items for 1:1 chat have been updated to align with mobile.

Screenshot 2024-02-01 at 9 12 25 PM

In addition the confirmation dialogs for each action have also been updated to align with mobile:

Close chat:

Screenshot 2024-02-01 at 9 14 08 PM

Once the chat is closed, the chat disappears from the user's Chat list and the next chat down in the list is selected. If the user is closing their only chat, the empty state for the Messaging app is shown.

--

Clear chat history: Note that there are 2 checkboxes: Delete all messages on my side- mandatory (on and disabled) Delete my messages for [counterparty name] - optional - if checked, this will delete all of the actioning user's messages from the chat on the counterparty side.

Screenshot 2024-02-01 at 9 14 33 PM

Figma: https://www.figma.com/file/Mr3rqxxgKJ2zMQ06UAKiWL/%F0%9F%92%AC-Chat%E2%8E%9CDesktop?type=design&node-id=24942-215153&mode=design&t=GWTxxV5I2KBpua8E-4

benjthayer avatar Feb 01 '24 21:02 benjthayer

Hmm. Please try using the full IRI for your EFO term, or defining a prefix for EFO: http://robot.obolibrary.org/global#prefixes.

jamesaoverton avatar May 07 '24 17:05 jamesaoverton

It works with the full IRI ("http://www.ebi.ac.uk/efo/EFO_0000408"). It turned out obo_context.jsonld doesn't include EFO. Thanks!

shbrief avatar May 08 '24 14:05 shbrief

Glad that it worked! Yes, EFO is not an OBO ontology, although it is quite similar and makes wide use of OBO terms and techniques.

jamesaoverton avatar May 08 '24 15:05 jamesaoverton