Commit Graph

45 Commits

Author SHA1 Message Date
bae39ce01d Attract multi edit: Edit multiple tasks/shots/assets at the same time
For the user:
Ctrl + L-Mouse to select multiple tasks/shots/assets and then edit
the nodes as before. When multiple items are selected a chain icon
can be seen in editor next to the fields. If the chain is broken
it indicates that the values are not the same on all the selected
items.

When a field has been edited it will be marked with a green background
color.

The items are saved one by one in parallel. This means that one item
could fail to be saved, while the others get updated.

For developers:
The editor and activities has been ported to Vue. The table and has
been updated to support multi select.

MultiEditEngine is the core of the multi edit. It keeps track of
what values differs and what has been edited.
2019-03-13 13:53:40 +01:00
5e73720d91 Vue Attract: Sort/filterable table based on Vue
Initial commit implementing sortable and filterable tables for attract
using Vue.
2019-02-12 09:08:37 +01:00
11652dd5cf Vue Comments: Comments ported to Vue + DnD fileupload
* Drag and drop files to comment editor to add a file attachment
* Using Vue to render comments

Since comments now has attachments we need to update the schemas
./manage.py maintenance replace_pillar_node_type_schemas
2018-12-12 11:45:47 +01:00
ed457a125c Attract: class name fixes
To work with Bootstrap 4
2018-09-06 16:56:05 +02:00
c38203ba63 item_open: use toastr notification when failing 2017-06-14 18:27:16 +02:00
b5cbbad1ba Remove processing status when loading a task fails 2017-04-11 16:47:20 +02:00
76108c9c16 Style new tasks so we can identify them and avoid double-load 2017-02-14 16:16:20 +01:00
b545288851 Fix Ctrl+Enter to save tasks/shots 2017-02-14 15:57:08 +01:00
9aaa2365cf item_open: First set item as processing, then style it as active on success 2017-02-14 15:33:44 +01:00
1a6fb58d6e Mark all links as 'deactivated' when opening a new item.
This fixes the issue of a task "ball" showing as "active", even when
navigating away to a shot.
2016-11-10 08:56:04 +01:00
dc85f81768 Only convert date if there's one 2016-11-10 00:14:58 +01:00
d67ce6b880 Refresh page on asset creation 2016-11-09 17:18:10 +01:00
5bf56ffd34 task- and shot- specific lists are now called item- 2016-11-09 17:04:17 +01:00
2b70e362da Use XHR for asset links 2016-11-09 15:29:13 +01:00
16e1fd1df0 Also save assets on ctrl+enter 2016-11-09 15:26:11 +01:00
0e170464e6 Templates & Flask end-points for managing assets. 2016-11-09 14:57:46 +01:00
506844a342 Show due_date on tasks list rather than type, as it's more used 2016-11-07 17:17:23 +01:00
e4795d6b12 No need to scrollTop anymore!
Since both sides are now scrollable
2016-11-04 16:38:47 +01:00
f3c6585fb3 Highlight shot row when opening a task in shot context 2016-11-04 13:02:43 +01:00
74b14f1154 Fix styling shot row when clicking on task 2016-11-03 16:08:01 +01:00
256647f0f5 Ctrl+Enter saves shot when comment field is not focused 2016-11-03 16:08:01 +01:00
ee935d9791 Reload activity list after posting a comment. 2016-11-02 17:24:04 +01:00
543a158bb2 More consistent naming 2016-11-02 13:55:30 +01:00
3be2b30122 Notify deletion of tasks 2016-11-02 12:13:31 +01:00
1aa4b642e8 Use Pillar's statusBarSet js function 2016-11-01 12:44:35 +01:00
2ae9bc6d94 Save task/shot changes on ctrl+enter 2016-10-20 15:33:44 +02:00
963430e6d9 Show activities on shot page. 2016-10-18 14:50:35 +02:00
3c2a00b086 Added "View in shot context" to task detail when viewed in task context. 2016-10-11 15:53:19 +02:00
75e6b39069 Added user-specific task list. 2016-10-05 10:30:10 +02:00
60c13615bf Moved stuff that always needs to happen on 'task open' into task_open(). 2016-10-05 10:29:46 +02:00
a4668c45d8 Scroll all the way to the top when opening a shot/task.
This way the status bar is in view too, which is essential when loading
fails for some reason.
2016-10-04 16:11:19 +02:00
b1196e4036 Some more task tweaks, now task creation works again
... my previous commit broke it (much enthusiasm checking for undefined)
2016-10-04 15:35:42 +02:00
2fd7ae7927 Some task creation fixes 2016-10-04 15:21:59 +02:00
f4ae005252 Reopen tasks & shots after editing 2016-10-04 14:37:58 +02:00
a9ed5e0b19 Added parameter checking for undefined 2016-10-04 14:37:50 +02:00
dcf503c66a Removed project_url from parameters in favour of ProjectUtils 2016-10-04 14:37:39 +02:00
785e35434d Update status bar before/after loading shot/task 2016-10-04 14:26:37 +02:00
932fad9161 Properly handle errors opening tasks/shots. 2016-10-04 14:24:27 +02:00
5cc989cd82 Fixed JS issue. JS doesn't support default function arguments. 2016-09-29 16:52:41 +02:00
1cefb2fa06 Shot list: Make shot active when making one of its tasks active 2016-09-29 15:50:27 +02:00
48b9209d2f ScrollTo tweak when selecting tasks 2016-09-29 15:37:40 +02:00
5ae33041ed Make tasks appear on the list when added 2016-09-29 15:36:02 +02:00
93a8a0db3c fix fade out of item-details on task deletion 2016-09-29 15:35:31 +02:00
55aebebadb Scroll to top after clicking on shots/tasks 2016-09-29 14:29:09 +02:00
4c4489a890 Concatenate all general js files into tutti.js 2016-09-29 12:22:53 +02:00