Andrey Antukh
2143bb6e04
Major images page refactor.
2016-10-23 17:23:17 +02:00
Andrey Antukh
7ad0b1f555
Send mimetype on image upload.
2016-10-23 17:23:17 +02:00
Andrey Antukh
492e57d845
Only allow upload a limited set of image types.
2016-10-23 17:23:17 +02:00
Andrey Antukh
2b00395253
Refactor and adapt create-images event to backend changes.
2016-10-23 17:23:17 +02:00
Andrey Antukh
f05d6924a3
Improve page data structure and adapt it to the backend representation.
2016-10-23 17:23:17 +02:00
Andrey Antukh
720178c03f
Fix image uploading broken in previous commits.
2016-10-09 21:06:20 +02:00
Andrey Antukh
5762ee0bf3
Fix image initialization event.
2016-10-09 18:02:36 +02:00
Andrey Antukh
b1ce61c6bb
Update delete image event acording to new image storage layout.
2016-10-09 17:59:38 +02:00
Andrey Antukh
e017975162
Store images indexed in the state.
2016-10-09 17:59:38 +02:00
Andrey Antukh
81c9794657
Simplify images dashboard initialization event impl.
2016-10-09 17:59:38 +02:00
Andrey Antukh
9c5ec0ec9c
Declare an other function on images events ns.
2016-10-09 17:59:38 +02:00
Andrey Antukh
707f2b0d87
Fix color collections loading on the colorpalette (on workspace).
...
With additional cosmetic improvements on the namespace.
2016-09-30 12:21:26 +02:00
Andrey Antukh
c617fba52b
Add collapsing group shape events.
...
And reorganize a little bit the shapes events ns.
2016-09-30 11:34:57 +02:00
Andrey Antukh
1f73638018
Revert "Remove update-radius-attrs event."
...
This reverts commit b1e9936aa6552bde75e9c7ffb0bcdfeedc98be56.
2016-09-29 07:38:28 +02:00
Andrey Antukh
b1e9936aa6
Remove update-radius-attrs event.
...
Replaced by the now generic `update-size` event.
2016-09-29 07:13:38 +02:00
Andrey Antukh
a994dba165
Add proportions related events to shapes events ns.
2016-09-29 07:10:42 +02:00
Andrey Antukh
69f258b4f4
Add a precondition to update-size event.
2016-09-29 07:08:54 +02:00
Andrey Antukh
4f2e4a54aa
Remove wrong docstring.
2016-09-29 07:06:58 +02:00
Andrey Antukh
e30871bd48
Make update-size event work with different types of shapes.
...
Thanks to the previously added `resize-dim` geom helpers.
2016-09-29 07:06:03 +02:00
Andrey Antukh
20cfae2a17
Setup shape proportions when it is added to the page.
2016-09-29 07:01:28 +02:00
Andrey Antukh
40b71fda5e
Add missing icons related events ns.
2016-09-27 09:28:37 +03:00
Andrey Antukh
5bf3e9a06e
Improve state usage of colors page and its events.
2016-09-27 09:28:14 +03:00
Andrey Antukh
9af2e54a2c
Improve state usage on images page and its events.
2016-09-27 09:27:15 +03:00
Andrey Antukh
d871dfceac
Simplify projects events.
2016-09-27 09:22:42 +03:00
Andrey Antukh
cf7a3f8e3b
More refactor on images page.
2016-09-25 13:29:33 +03:00
Andrey Antukh
a3db60c2fe
Add new events for images page.
2016-09-25 10:19:45 +03:00
Andrey Antukh
abead1aa9e
Add missing fields on loaded image collections.
2016-09-25 10:19:06 +03:00
Andrey Antukh
6c43164ed1
Add new approach for images page initialization.
2016-09-25 10:18:30 +03:00
Andrey Antukh
5dfaf8e4be
Minor changes on data loading on colors page.
2016-09-25 10:16:36 +03:00
Andrey Antukh
8d20cf9d3d
Disable loader on colors.
2016-09-25 10:15:55 +03:00
Andrey Antukh
a7f8443843
Refactor dashboard colors page.
2016-09-23 09:00:07 +03:00
Andrey Antukh
20e89cb8a7
Open element options when shape is selected.
2016-08-31 17:22:52 +03:00
Andrey Antukh
823a5a8120
Remove "deselect-all" debug message.
2016-08-28 10:16:42 +03:00
Andrey Antukh
c17f9da243
Deactivate path edition mode on mouse down out of area.
2016-08-28 10:13:44 +03:00
Andrey Antukh
12a74070d2
Move rlocks under uxbox.util ns.
2016-08-27 16:43:21 +03:00
Andrey Antukh
38bead08e9
Replace bidi with funcool/bide.
...
And upgrade all dependencies.
2016-08-27 15:50:28 +03:00
Andrey Antukh
1693d172bd
Enable path edition with grid alignment.
2016-08-23 19:11:40 +03:00
Andrey Antukh
7875a6b961
Add proper path edition behavior.
2016-08-23 16:26:44 +03:00
Andrey Antukh
3187a3ed2c
Remove whitespace on shapes data ns.
2016-08-22 17:33:11 +03:00
Andrey Antukh
b90e70277e
Add missing require.
2016-08-22 17:33:10 +03:00
Andrey Antukh
cd365b77d3
Add update-path event.
2016-08-22 17:33:10 +03:00
Andrey Antukh
c52755b329
Move uxbox independent geom logic under uxbox.util ns.
2016-08-12 21:09:07 +03:00
Andrey Antukh
56d64cf737
Add proper impl of undo/redo.
2016-07-31 15:11:53 +03:00
Andrey Antukh
5715e11d8f
Initial work on proper undo/redu functionality.
...
That is based in in-memmory queue of more detailed changes
instead of relying on history log that is not pretty
detailed and requires explcit user confirmation on each
Ctrl+Z action that is counterintuitive.
2016-07-31 00:26:50 +03:00
Andrey Antukh
b871217bb6
Move watch-page-changes func on top of history ns.
2016-07-31 00:26:21 +03:00
Andrey Antukh
414b25242d
Add better docstring for page change watcher on pages ns.
2016-07-31 00:08:01 +03:00
Andrey Antukh
70c5a29862
Simplify the page changes watcher of history.
2016-07-31 00:08:01 +03:00
Andrey Antukh
f1955c2a7c
Remove ^:const usage.
2016-07-10 11:57:45 +03:00
Andrey Antukh
ad5095ce5d
Move state.project functions to appropriate data related namespaces.
2016-07-09 21:30:15 +03:00
Andrey Antukh
507e2b1d38
Merge uxbox.common and uxbox.util modules.
...
Under uxbox.util.
2016-06-30 19:57:39 +03:00