Systems and methods for providing controls in a messaging interface
AssigneeAtlassian Pty Ltd.
InventorsTanguy Crusson, Julien Hoarau, Anatoli Kazatchkov, Michael Oates, Patrick Streule, Royce Wong
Life of this patent
Estimating the term…
Abstract
Described herein is a computer implemented method for displaying a conditional control in a chat interface running on a client device. The method comprises receiving, from a collaboration platform, a conditional control descriptor which defines a conditional control, one or more conditions, and an action to be performed on activation of the conditional control; determining whether the one or more conditions are met; and in response to determining that the one or more conditions are met, displaying the conditional control in the chat interface.
Claims9
A computer implemented method for displaying a conditional control in a chat interface of a first application running on a client device, the method comprising:
- receiving, by the chat interface and from a collaboration platform, a conditional control descriptor of an integration of a second application installed on the client device, the conditional control descriptor defining a conditional control, one or more conditions defining a regular expression, an element type that the conditional control is associated with, and an action of the second application to be performed on activation of the conditional control, wherein the one or more conditions are based on content of messages sent by another user and received in the chat interface;
- displaying a view controls button in the chat interface, the view controls button associated with a particular element of the chat interface, the particular element having an element type and associated with a particular message received in the chat interface;
- detecting activation of the view controls button;
- determining that the element type associated with the conditional control matches the element type of the particular element of the chat interface associated with the activated view controls button;
- in response to determining that the element type associated with the conditional control matches the element type of the activated view controls button, determining that content of the particular message matches the regular expression;
- in response to determining that the content of the particular message matches the regular expression, displaying the conditional control in a drop-down menu of controls together in the drop-down menu with other, non-conditional controls in the chat interface;
- receiving an activation of the conditional control;
- in response to receiving an activation of the conditional control, performing the action of the second application directly from the chat interface.
An electronic device configured to operate as a client to a collaboration platform, the electronic device comprising:
- one or more processors;
- a display,
- a communications interface;
- and
- one or more non-transitory computer-readable storage media storing sequences of instructions which, when executed by the one or more processors, cause the one or more processors to:
- display, on the display, a chat interface of a first application;
- receive, via the communication interface, a conditional control descriptor of an integration of a second application installed on a client device, the conditional control descriptor defining a conditional control, one or more conditions defining a regular expression, an element type that the conditional control is associated with, and an action of the second application to be performed on activation of the conditional control, wherein the one or more conditions are based on content of messages sent by another user and received in the chat interface;
- display a view controls button in the chat interface, the view controls button associated with a particular element of the chat interface, the particular element having an element type and associated with a particular message received in the chat interface;
- detect activation of the view controls button;
- determine that the element type associated with the conditional control matches the element type of the particular element of the chat interface associated with the activated view controls button;
- in response to determining that the element type associated with the conditional control matches the element type of the activated view controls button, determining that content of the particular message matches the regular expression;
- in response to determining that the content of the particular message matches the regular expression, displaying the conditional control in a drop-down menu of controls together in the drop-down menu with other, non-conditional controls in the chat interface;
- receive an activation of the conditional control;
- in response to receiving an activation of the conditional control, performing the action of the second application directly from the chat interface.
Non-transient computer readable storage comprising instructions which, when executed by a processor, cause the processor to:
- display, on the display, a chat interface of a first application;
- receive, from a collaboration platform via a communication interface, a conditional control descriptor of an integration of a second application installed on a client device, the conditional control descriptor defining a conditional control, one or more conditions defining a regular expression, an element type that the conditional control is associated with, and an action of the second application to be performed on activation of the conditional control, wherein the one or more conditions are based on content of messages sent by another user and received in the chat interface;
- display a view controls button in the chat interface, the view controls button associated with a particular element of the chat interface, the particular element having a message element type and associated with a particular message received in the chat interface;
- detect activation of the view controls button;
- determine that the element type associated with the conditional control matches the element type of the particular element of the chat interface associated with the activated view controls button;
- in response to determining that the element type associated with the conditional control matches the element type of the activated view controls button, determining that content of the particular message matches the regular expression;
- in response to determining that the content of the particular message matches the regular expression, displaying the conditional control in a drop-down menu of controls together in the drop-down menu with other, non-conditional controls in the chat interface;
- receive an activation of the conditional control;
- in response to receiving an activation of the conditional control, performing the action of the second application directly from the chat interface.
Dependencies are inferred from the claim text.