Commit Graph

466 Commits

Author SHA1 Message Date
970e835ddc Remember currently showed settings model ID
[MAILPOET-1974]
2019-05-16 08:26:16 -04:00
4817347293 Remove eslint comments
[MAILPOET-1974]
2019-05-16 08:26:16 -04:00
787a3870c2 Don't render modal overlay for editor block's settings
[MAILPOET-1974]
2019-05-16 08:26:16 -04:00
f37058b81e Display product price in editor
[MAILPOET-1981]
2019-04-23 10:39:13 -04:00
3fbdd861b2 [MQ-109] tests text block can be added to editor 2019-04-22 11:29:10 -04:00
7cb861b16a [MQ-105] tests adding social block to editor 2019-04-18 10:12:53 +03:00
fa61a24caa Unify naming (post => product), remove unused code
[MAILPOET-1843]
2019-04-16 16:40:45 +02:00
47b264406f Test image width and position
[MAILPOET-1843]
2019-04-16 16:40:45 +02:00
e2080eea2d Show Products widget only when WC is active
[MAILPOET-1843]
2019-04-16 16:40:45 +02:00
42f43e96e1 Allow <del> element in editor to correctly format discounted product
[MAILPOET-1843]
2019-04-16 16:40:45 +02:00
b40e4bb28a Use WC functions to get short and full description in products widget
[MAILPOET-1843]
2019-04-16 16:40:45 +02:00
0f1e01ec31 Update products display options - change Read more to Buy now
[MAILPOET-1843]
2019-04-16 16:40:45 +02:00
b131afa73e Update products display options - add price property
[MAILPOET-1843]
2019-04-16 16:40:45 +02:00
60381716a6 Update products display options - removed author and categories properties
[MAILPOET-1843]
2019-04-16 16:40:45 +02:00
b51e6c0c9c Update products display options - image properties
[MAILPOET-1843]
2019-04-16 16:40:45 +02:00
83ffbcad8e Update products display options - title properties
[MAILPOET-1843]
2019-04-16 16:40:45 +02:00
78587c7271 Remove condition to display products widget
[MAILPOET-1843]
2019-04-16 16:40:45 +02:00
34c29333bb [MQ-104] tests adding spacer block to editor 2019-04-15 14:30:56 +02:00
24a7abba0b [MQ-111] Test add divider to editor 2019-04-15 12:38:01 +02:00
02e8a8eb15 [MQ-183] tests adding header block to editor 2019-04-15 09:57:15 +02:00
8f734a538a [MQ-180] tests footer block can be added to edtior 2019-04-12 09:20:05 -04:00
5e141148dc Display resize handles when settings panel is active
[MAILPOET-1872]
2019-04-10 01:36:54 -04:00
a671aede6d [MQ-110] tests image widget drag-n-drop 2019-04-08 10:45:04 -04:00
06ed6cf61a Add products block config
[MAILPOET-1842]
2019-03-28 15:32:50 -04:00
38f8cd9439 Create acceptance test for testing products widget
[MAILPOET-1842]
2019-03-28 15:32:50 -04:00
f05e513ff5 List products in products widget
[MAILPOET-1842]
2019-03-28 15:32:50 -04:00
afe7aa0a54 Move user flags from settings [MAILPOET-1677] 2019-03-21 10:03:21 -04:00
46416e410b Rename posts to product
[MAILPOET-1709]
2019-03-19 10:25:06 -04:00
abebf5ce49 Add a feature flag
[MAILPOET-1709]
2019-03-19 10:25:06 -04:00
1fd64330d2 Create a products widget in editor
[MAILPOET-1709]
2019-03-19 10:25:06 -04:00
cc9a0c4141 Fix block and container highlight for resizing
Previously the position of cursor (inside/outside block) was tracked during the resizing.
This commit changes this focus detection so that it is detected once at the end of resizing based on the final mouse position.
Thanks to event bubbling parent containers could set correct highlight state as well.
[MAILPOET-1819]
2019-03-18 06:07:30 -04:00
ad05c0ca94 Add resize events bubbling from block to containers
https://marionettejs.com/docs/master/events.html#event-bubbling
[MAIPOET-1816]
2019-03-18 06:07:30 -04:00
d445495cba Refactor event within view detection into utils
[MAILPOET-1819]
2019-03-18 06:07:30 -04:00
b8ce70ec2f Fix ALC block view settings opening on click
[MAILPOET-1819]
2019-03-18 06:07:30 -04:00
ae84cdc859 Fix resize handle hiding after block resize finishes
[MAILPOET-1819]
2019-03-18 06:07:30 -04:00
1b044f77a3 Fix for mouseleave not being triggered during resize
[MAILPOET-1819]
2019-03-18 06:07:30 -04:00
727240ca0c Add block highlight during resizing
[MAILPOET-1819]
2019-03-18 06:07:30 -04:00
d69e0dea9e Refactor block highlight to be managed fully by highlight behavior
[MAILPOET-1819]
2019-03-18 06:07:30 -04:00
ece7e711c9 Add an option to select title option
[MAILPOET-1710]
2019-03-06 07:48:33 -05:00
89e2cb3f18 Display friendlier mailer errors when sending preview fails
[MAILPOET-1699]
2019-03-05 10:27:30 -05:00
9c06ae6534 Apply model defaults also on nested levels
[MAILPOET-1450]
2019-03-05 07:21:16 -05:00
35d39a6ac9 Implement adjustable line-height
[MAILPOET-1450]
2019-03-05 07:21:16 -05:00
837a380642 Ensure highlighted block when it is re-rendered during edit
[MAILPOET-1805]
2019-02-28 13:11:21 -05:00
c9a70c4870 Keep container block highlighted and tools displayed when editing settings
[MAILPOET-1805]
2019-02-28 13:11:21 -05:00
6662f4e4d2 Keep block highlighted and tools displayed when editing settings
[MAILPOET-1805]
2019-02-28 13:11:21 -05:00
ce0a761eab Fix import of a module that does not use 'export default'
[MAILPOET-1829]
2019-02-21 11:52:39 -05:00
5c92af4881 Add and fix comma-dangle rules for *.js files
[MAILPOET-1829]
2019-02-21 11:52:39 -05:00
e95e7d3b4c Remove unused imports
[MAILPOET-1829]
2019-02-21 11:52:39 -05:00
bb658f77ec Fix indentaition in *.js files (auto-fix by ESLint)
[MAILPOET-1829]
2019-02-21 11:52:39 -05:00
afcde00003 Convert AMD and CommonJS odules to ES6
[MAILPOET-1829]
2019-02-21 11:52:39 -05:00