-
Notifications
You must be signed in to change notification settings - Fork 9
/
TODO.txt
52 lines (39 loc) · 1.85 KB
/
TODO.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
- expose Shotgun alerts to Python via the native messenger
- new SG.AlertDialog({title: 'SGActions Error', body: 'The native dispatcher errored; please trigger that action again.'}, {}).present()
- new SG.AlertDialog({
title: 'SGActions Error',
body: 'The native dispatcher errored; please trigger that action again.',
action: {extra_cls: 'blue_button'}
}, {}).present()
- new SG.ConfirmDialog({title: 'SGActions Error', body: 'The native dispatcher errored; please trigger that action again.'}, {}).present()
- Logging via `logging` instead of via stdout.
- sgactions rich ACL
- e.g.: group==Admin, group==Manager
- disable menu items
- Task launcher
- "Launch Task Toolbox..." from Task
- Brings up something Toolbox like which takes heirarchical settings for
Maya version, etc..
- Maya, Nuke, Mudbox, Zbrush, etc..
- More icons:
window.SG.schema.entity_icon_for = function(obj, mode) {
// obj may be a string, in which case entity_icon_name is called.
// otherwise mode should be one of "entity_hash" or "record", in which case
// it looks up the entity in this.get_special_entity_icon_cfg(), and
// calls `icon_for_{mode}` in it (if set)
// defaults to entity_icon_name
}
// We can also do fun things with get_special_entity_icon_cfg:
/*
SG.schema.special_entity_icon_cfg.CustomNonProjectEntity13 = {
columns: ['sg_type'],
icon_for_record: function(record) {
console.log(record); return {
'workstation': 'silk silk-computer',
'printer': 'silk silk-brick'
}[record.get('sg_type')] || 'silk silk-computer'
}
}
// record.row.data appears to be all the data. So we could have icon_for_record
// be the same as (icon_for_entity_hash(record.row.data))
*/