Method, apparatus, electronic device and computer readable storage medium for task creation
View Patent ↗A method, apparatus, electronic device and computer-readable storage medium for task creation. The method includes: in response to a triggering operation of creating a first task for a single file message in a session, determining a first title name of the first task based on a file name of a file corresponding to the single file message; and creating the first task and filling the determined first title name in a title region of the first task.
1 . A method of task creation, comprising:
in response to a triggering operation of creating a first task for a single file message in a session, determining a first title name of the first task based on a file name of a file corresponding to the single file message;
creating the first task and filling the determined first title name in a title region of the first task; and
filling in a note content region of the first task with a link of a session interface in which the single file message is located.
2 . The method of claim 1 , wherein,
the file corresponding to the single file message is ceased to be attached as an attachment to the first task.
3 . The method of claim 1 , wherein the single file message corresponds to at least two files;
determining the first title name of the first task based on the file name of the file corresponding to the single file message comprises:
obtaining a file name of a first file based on a distribution of the at least two files corresponding to the single file message in the session, and determining the file name of the first file as the first title name of the first task.
4 . The method of claim 1 , further comprising:
in response to a triggering operation for the link of the session interface in which the single file message is located in the note content region of the first task, displaying the session interface which comprising the single file message.
5 . The method of claim 4 , wherein displaying the session interface comprises:
displaying the session interface, a single file message being displayed with an identification in the displayed session interface.
6 . The method of claim 1 , further comprising:
in response to a triggering operation of creating a second task for at least two target messages in the session, determining a second title name of the second task based on an object of the session; wherein the at least two target messages comprise at least one file message; and
creating the second task and filling the determined second title name in a title region of the second task.
7 . The method of claim 6 , further comprising:
filling in a note content region of the second task with a link of a session corresponding to the at least two target messages which comprising the at least two target messages.
8 . The method of claim 6 , before creating a second task for at least two target messages in the session in response to a triggering operation, the method further comprising:
in response to a selection triggering operation on the at least two target messages in the session interface, displaying a task creation button.
9 . The method of claim 1 , further comprising:
in response to a triggering operation of adding at least one attachment in a task panel, displaying the at least one attachment in the task panel.
10 . The method of claim 9 , further comprising:
if a title region of the task panel is empty, filling in the title region based on a file name of the at least one attachment.
11 . The method of claim 10 , wherein filling in the title region based on a file name of the at least one attachment comprises: filling a file name of a first attachment in the at least one attachment in the title region.
12 . An electronic device, comprising:
one or more processors; and
a storage device for storing one or more programs,
the one or more programs, when executed by the one or more processors, causing the one or more processors to implement acts comprising:
in response to a triggering operation of creating a first task for a single file message in a session, determining a first title name of the first task based on a file name of a file corresponding to the single file message;
creating the first task and filling the determined first title name in a title region of the first task; and
filling in a note content region of the first task with a link of a session interface in which the single file message is located.
13 . The device of claim 12 , wherein,
the file corresponding to the single file message is ceased to be attached as an attachment to the first task.
14 . The device of claim 12 , wherein the single file message corresponds to at least two files;
determining the first title name of the first task based on the file name of the file corresponding to the single file message comprises:
obtaining a file name of a first file based on a distribution of the at least two files corresponding to the single file message in the session, and determining the file name of the first file as the first title name of the first task.
15 . The device of claim 12 , the acts further comprising:
in response to a triggering operation for the link of the session interface in which the single file message is located in the note content region of the first task, displaying the session interface which comprising the single file message.
16 . The device of claim 15 , wherein displaying the session interface comprises:
displaying the session interface, a single file message being displayed with an identification in the displayed session interface.
17 . The device of claim 12 , the acts further comprising:
in response to a triggering operation of creating a second task for at least two target messages in the session, determining a second title name of the second task based on an object of the session; wherein the at least two target messages comprise at least one file message; and
creating the second task and filling the determined second title name in a title region of the second task.
18 . A non-transitory computer readable storage medium having a computer program stored thereon, wherein the program, when executed by a processor, implements acts comprising:
in response to a triggering operation of creating a first task for a single file message in a session, determining a first title name of the first task based on a file name of a file corresponding to the single file message;
creating the first task and filling the determined first title name in a title region of the first task; and
filling in a note content region of the first task with a link of a session interface in which the single file message is located.