Commit Graph

61 Commits

Author SHA1 Message Date
Tobias Johansson 0c96d3eda1 Add css class per task type to table columns 2019-03-22 14:06:53 +01:00
Tobias Johansson 479b844174 Generalized table to not depend on project id 2019-03-15 10:18:23 +01:00
Tobias Johansson 4f5eee6705 Added comments and minor refactoring 2019-03-14 10:54:43 +01:00
Tobias Johansson 434cdb35a0 Attract multi edit: Disable save button during save 2019-03-13 15:25:32 +01:00
Tobias Johansson 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
Tobias Johansson f4c7101427 Attract: Don't show add task button in cell if there are tasks
Requested by @fsiddi
2019-02-20 16:46:02 +01:00
Tobias Johansson fbe4e53e50 Regression fix: Highlight selected task "dot" in shots/assets table
Quick hack to restore functionality. Known limitations:
* A direct link to task will not highlight it
* When a new task is created it will not be highlighted
* Selected row will not be highlighted
2019-02-13 13:03:17 +01:00
Tobias Johansson ac8a6284d4 Vue Attract: Default sort shots by cut_in_timeline_in_frames 2019-02-12 12:59:01 +01:00
Tobias Johansson 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
Tobias Johansson 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
Pablo Vazquez ed457a125c Attract: class name fixes
To work with Bootstrap 4
2018-09-06 16:56:05 +02:00
Sybren A. Stüvel 9ea75c30e3 Added project settings allowing setup + editing task types.
- Attract added to Project Settings screen
- setting up project for Attract
- editing shot/asset task types

To do: add checks that the user is allowed to use Attract in the first
place.
2017-06-15 11:07:27 +02:00
Pablo Vazquez ab72357336 scrollHeaderHorizontal: don't use hardcoded class 2017-06-14 18:31:09 +02:00
Pablo Vazquez 28edb86aeb Shots/Assets list: Fix fixed table header not resizing when adjusting col_main width 2017-06-14 18:27:16 +02:00
Pablo Vazquez c38203ba63 item_open: use toastr notification when failing 2017-06-14 18:27:16 +02:00
Francesco Siddi b5cbbad1ba Remove processing status when loading a task fails 2017-04-11 16:47:20 +02:00
Pablo Vazquez 76108c9c16 Style new tasks so we can identify them and avoid double-load 2017-02-14 16:16:20 +01:00
Pablo Vazquez b545288851 Fix Ctrl+Enter to save tasks/shots 2017-02-14 15:57:08 +01:00
Pablo Vazquez 9aaa2365cf item_open: First set item as processing, then style it as active on success 2017-02-14 15:33:44 +01:00
Pablo Vazquez 2c8e20d0c0 Fix header of shots/assets list 2016-11-17 15:12:12 +01:00
Pablo Vazquez 36d076c228 Hide horizontal scroll when not in use 2016-11-10 11:44:54 +01:00
Pablo Vazquez 3917c90a13 Quick fix: If we're in mobile, set height of columns to half window height
TODO: Make item-details a popup for easier browsing
2016-11-10 11:24:42 +01:00
Sybren A. Stüvel 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
Pablo Vazquez dc85f81768 Only convert date if there's one 2016-11-10 00:14:58 +01:00
Pablo Vazquez d67ce6b880 Refresh page on asset creation 2016-11-09 17:18:10 +01:00
Pablo Vazquez 5bf56ffd34 task- and shot- specific lists are now called item- 2016-11-09 17:04:17 +01:00
Pablo Vazquez 40ecbe2135 Use col-scrollable for columns that need fixed height 2016-11-09 17:04:17 +01:00
Sybren A. Stüvel 2b70e362da Use XHR for asset links 2016-11-09 15:29:13 +01:00
Sybren A. Stüvel 16e1fd1df0 Also save assets on ctrl+enter 2016-11-09 15:26:11 +01:00
Sybren A. Stüvel 0e170464e6 Templates & Flask end-points for managing assets. 2016-11-09 14:57:46 +01:00
Pablo Vazquez 506844a342 Show due_date on tasks list rather than type, as it's more used 2016-11-07 17:17:23 +01:00
Pablo Vazquez e4795d6b12 No need to scrollTop anymore!
Since both sides are now scrollable
2016-11-04 16:38:47 +01:00
Pablo Vazquez 54c1d89866 TextArea auto-resizer jQuery plugin by James Padolsey
With some tweaks by icyleaf and some minor tweaks from me
2016-11-04 15:27:07 +01:00
Pablo Vazquez f3c6585fb3 Highlight shot row when opening a task in shot context 2016-11-04 13:02:43 +01:00
Pablo Vazquez 74b14f1154 Fix styling shot row when clicking on task 2016-11-03 16:08:01 +01:00
Pablo Vazquez 256647f0f5 Ctrl+Enter saves shot when comment field is not focused 2016-11-03 16:08:01 +01:00
Sybren A. Stüvel ee935d9791 Reload activity list after posting a comment. 2016-11-02 17:24:04 +01:00
Sybren A. Stüvel 543a158bb2 More consistent naming 2016-11-02 13:55:30 +01:00
Pablo Vazquez 3be2b30122 Notify deletion of tasks 2016-11-02 12:13:31 +01:00
Pablo Vazquez 1aa4b642e8 Use Pillar's statusBarSet js function 2016-11-01 12:44:35 +01:00
Pablo Vazquez 2ae9bc6d94 Save task/shot changes on ctrl+enter 2016-10-20 15:33:44 +02:00
Sybren A. Stüvel 963430e6d9 Show activities on shot page. 2016-10-18 14:50:35 +02:00
Pablo Vazquez 9a6cc298dc Utility to load and fill the global #modal div 2016-10-13 19:19:03 +02:00
Sybren A. Stüvel 3c2a00b086 Added "View in shot context" to task detail when viewed in task context. 2016-10-11 15:53:19 +02:00
Sybren A. Stüvel 75e6b39069 Added user-specific task list. 2016-10-05 10:30:10 +02:00
Sybren A. Stüvel 60c13615bf Moved stuff that always needs to happen on 'task open' into task_open(). 2016-10-05 10:29:46 +02:00
Sybren A. Stüvel 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
Sybren A. Stüvel 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
Sybren A. Stüvel 2fd7ae7927 Some task creation fixes 2016-10-04 15:21:59 +02:00
Sybren A. Stüvel f4ae005252 Reopen tasks & shots after editing 2016-10-04 14:37:58 +02:00