-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Date column in Tasks section (#689) * Add unix-millis-request-time field in taskstate Signed-off-by: fierro <fierrofenix@gmail.com> * Generate taskstate model according to the rmf_api_msgs changes Signed-off-by: fierro <fierrofenix@gmail.com> * Generate api client to get the new field Signed-off-by: fierro <fierrofenix@gmail.com> * Save unix request time as now() and use previous value if the method is update Signed-off-by: fierro <fierrofenix@gmail.com> * Show unix_millis_request_time in dashboard Signed-off-by: fierro <fierrofenix@gmail.com> * Add Unix_millis_request_time into booking instead of taskstate directly Signed-off-by: fierro <fierrofenix@gmail.com> * Access to unix_millis_request_time field through booking Signed-off-by: fierro <fierrofenix@gmail.com> * Get previous task_state and if is not none use its request_time value Signed-off-by: fierro <fierrofenix@gmail.com> --------- Signed-off-by: fierro <fierrofenix@gmail.com> (cherry picked from commit 7ea986d) Signed-off-by: Aaron Chong <aaronchongth@gmail.com> * Fix/request date export (#690) * Added date column to minimal export, only update fields of task state when it has not been created before Signed-off-by: Aaron Chong <aaronchongth@gmail.com> * Use create and get_or_none, and save model if it exists Signed-off-by: Aaron Chong <aaronchongth@gmail.com> --------- Signed-off-by: Aaron Chong <aaronchongth@gmail.com> (cherry picked from commit a1ea778) Signed-off-by: Aaron Chong <aaronchongth@gmail.com> * Feature/task initiator (#692) * Add initiator column in taskstate model Signed-off-by: fierro <fierrofenix@gmail.com> * Initiator field has been added on client side Signed-off-by: fierro <fierrofenix@gmail.com> * Set initiator field with the previous value if its is updated or use self.user.username if its is created Signed-off-by: fierro <fierrofenix@gmail.com> * Add initiator as column in datagrid and show it in TaskSection Signed-off-by: fierro <fierrofenix@gmail.com> * Populate initiator field with self.user.name when task is created Signed-off-by: fierro <fierrofenix@gmail.com> * Add initiator column to minimal export Signed-off-by: fierro <fierrofenix@gmail.com> * Set initiator column to minimal export Signed-off-by: fierro <fierrofenix@gmail.com> * In update method, fill the initiator field with the previous db_task_state value Signed-off-by: fierro <fierrofenix@gmail.com> --------- Signed-off-by: fierro <fierrofenix@gmail.com> (cherry picked from commit 86700da) Signed-off-by: Aaron Chong <aaronchongth@gmail.com> * Adding user and request time to requests before submitting Signed-off-by: Aaron Chong <aaronchongth@gmail.com> * api-server, use requester instead of initiator for task_request and task_state Signed-off-by: Aaron Chong <aaronchongth@gmail.com> * Initiator to Requester Signed-off-by: Aaron Chong <aaronchongth@gmail.com> * Update api-client Signed-off-by: Aaron Chong <aaronchongth@gmail.com> * Using N/A instead of unknown for fields Signed-off-by: Aaron Chong <aaronchongth@gmail.com> * pylint Signed-off-by: Aaron Chong <aaronchongth@gmail.com> * Changing N/A to unknown Signed-off-by: Aaron Chong <aaronchongth@gmail.com> * Adding try catch for username promise Signed-off-by: Aaron Chong <aaronchongth@gmail.com> --------- Signed-off-by: fierro <fierrofenix@gmail.com> Signed-off-by: Aaron Chong <aaronchongth@gmail.com> Co-authored-by: César Rolón <37310205+Angatupyry@users.noreply.github.com>
- Loading branch information
1 parent
bd1b279
commit b39540c
Showing
11 changed files
with
149 additions
and
14 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters