SYSTEM AND METHODS FOR ALTERING CHAT LAYOUT BASED ON CONTENT
The present disclosure relates to systems and methods for changing the Graphical User Interface (GUI) of a chat based on the content shared in the chat. According to one embodiment, a computer-implemented method for changing a GUI of a chat window in a collaboration environment is proposed. The method comprises the steps of: receiving a message shared by a participant of a chat; detecting that the message comprises a type of attachment; and applying a layout to the chat window based on the type of attachment.
1 . A computer-implemented method for changing a Graphical User Interface (GUI) of a chat window in a collaboration environment, the method comprising:
receiving a message shared by a participant of a chat;
detecting that the message comprises a type of attachment; and
applying a layout to the chat window based on the type of attachment.
2 . The computer-implemented method of claim 1 , further comprising causing to display the messages in the layout of the chat window to a user.
3 . The computer-implemented method of claim 1 , further comprising:
setting a threshold percentage of a number of messages comprising the type of attachment; and
wherein applying the layout occurs when a percentage of the number of messages exceeds the threshold percentage.
4 . The computer-implemented method of claim 1 , further comprising:
detecting a degree of essentiality of text of the message with regard to the attachment; and
upon determining that the degree of essentiality of text exceeds a predetermined threshold, displaying the text of the message in the layout of the chat window based on the degree of essentiality.
5 . The computer-implemented method of claim 1 , wherein the type of attachment comprises: an audio file, a video file, a picture, a link, a text file, or a code part.
6 . The computer-implemented method of claim 1 , wherein the layout comprises: a playlist view, a gallery view, a text viewer view, or a syntax highlighter view.
7 . The computer-implemented method of claim 1 , further comprising the steps of:
receiving a second message shared by the participant of the chat;
detecting that the second message comprises a second type of attachment, wherein the second type of attachment is different from the type of attached in the message;
incorporating the second type of attachment into the layout; and
causing to display the layout of the chat window, with the second type of attachment to a user.
8 . A non-transitory, computer-readable medium storing a set of instructions that, when executed by a processor, cause:
receiving a message shared by a participant of a chat;
detecting that the message comprises a type of attachment; and
applying a layout to the chat window based on the type of attachment.
9 . The non-transitory, computer-readable medium of claim 8 , wherein the instructions further comprise causing to display the message in the layout of the chat window to a user.
10 . The non-transitory, computer-readable medium of claim 8 , wherein the instructions further comprise:
setting a threshold percentage of a number of messages comprising the type of attachment; and
wherein applying the type of GUI occurs when a percentage of the number of messages exceeds the threshold percentage.
11 . The non-transitory, computer-readable medium of claim 8 , wherein the instructions further comprise:
detecting a degree of essentiality of text of the message with regard to the attachment; and
upon determining that the degree of essentiality of text exceeds a predetermined threshold, displaying the text of the message in the layout of the chat window based on the degree of essentiality.
12 . The non-transitory, computer-readable medium of claim 8 , wherein the type of attachment comprises: an audio file, a video file, a picture, a link, a text file, or a code part.
13 . The non-transitory, computer-readable medium of claim 8 , wherein the layout comprises: a playlist, a gallery, a text viewer, or a syntax highlighter.
14 . The non-transitory, computer-readable medium of claim 8 , wherein the instructions further comprise:
receiving a second message shared by the participant of the chat;
detecting that the second message comprises a second type of attachment, wherein the second type of attachment is different from the type of attached in the message;
incorporating the second type of attachment into the layout; and
causing to display the layout of the chat window, with the second type of attachment to a user.
15 . A system for changing a Graphical User Interface (GUI) of a chat window in a collaboration environment, the system comprising:
a processor;
a memory operatively connected to the processor and storing instructions that, when executed by the processor, cause:
receiving a message shared by a participant of a chat;
detecting that the message comprises a type of attachment; and
applying a layout to the chat window based on the type of attachment.
16 . The system of claim 15 , wherein the instructions further comprise causing to display the message in the layout of the chat window to a user.
17 . The system of claim 15 , wherein the instructions further comprise:
setting a threshold percentage of a number of messages comprising the type of attachment; and
wherein applying the layout occurs when a percentage of the number of messages exceeds the threshold percentage.
18 . The system of claim 15 , wherein the instructions further comprise:
detecting a degree of essentiality of text of the message with regard to the attachment; and
upon determining that the degree of essentiality of text exceeds a predetermined threshold, displaying the text of the message in the layout of the chat window based on the degree of essentiality.
19 . The system of claim 15 , wherein the type of attachment comprises: an audio file, a video file, a picture, a link, a text file, or a code part.
20 . The system of claim 15 , wherein the layout comprises: a playlist view, a gallery view, a text viewer view, or a syntax highlighter.