--
cgit v1.2.3
From 44af6d1e09aa3bec6967ac3eb4e67b3e9215fb08 Mon Sep 17 00:00:00 2001
From: Xavier Morel
Date: Tue, 26 Nov 2013 17:01:48 +0100
Subject: [IMP] significantly improve handling of trying to create a new page
which already exists
# Through the menu
Rather than output a generic error (500 due to an IntegrityError),
return a templated 409 letting the user either visit the
page-which-already-exists-with-the-name-he'd-picked or open the page
creation dialog again for a second round.
An alternative would be to promote the website.prompt use to
full-blown dialog as a result of selecting "New Page" and handle the
"page already exists" case without even closing the dialog.
# Through the link dialog
Added an RPC call to check if a page already exists (essentially a
cheaper version of opening /page/whatever and checking whether it's a
200 over JSON-RPC), if the page matching the completion term already
exists, do *not* add the choice of creating the page, only provide
completions from existing pages.
bzr revid: xmo@openerp.com-20131126160148-wrk4zvz9istscwa0
---
addons/website/static/src/xml/website.xml | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
(limited to 'addons/website/static/src/xml')
diff --git a/addons/website/static/src/xml/website.xml b/addons/website/static/src/xml/website.xml
index b35dd8a9cfc..d5368ec7b94 100644
--- a/addons/website/static/src/xml/website.xml
+++ b/addons/website/static/src/xml/website.xml
@@ -72,16 +72,21 @@
-
+
-
- You have encountered an error. You can edit in the backend this data.
+
+
--
cgit v1.2.3
From 9d9d3f207e7e6089d01f0b7fe26d7fd9cda0ddce Mon Sep 17 00:00:00 2001
From: Xavier Morel
Date: Tue, 3 Dec 2013 12:13:23 +0100
Subject: [IMP] cancellation of RTE
* rename Cancel to Discard for clarity (user test)
* add intermediate dialog in case of mis-click, use 'danger' button
style to clearly indicate this is a destructive operation
bzr revid: xmo@openerp.com-20131203111323-9mx7aazfpsybe718
---
addons/website/static/src/xml/website.editor.xml | 26 +++++++++++++++++++++++-
1 file changed, 25 insertions(+), 1 deletion(-)
(limited to 'addons/website/static/src/xml')
diff --git a/addons/website/static/src/xml/website.editor.xml b/addons/website/static/src/xml/website.editor.xml
index 8f749374485..8c1adf1ee27 100644
--- a/addons/website/static/src/xml/website.editor.xml
+++ b/addons/website/static/src/xml/website.editor.xml
@@ -6,7 +6,7 @@
SaveCancel
+ class="btn">Discard
@@ -170,4 +170,28 @@
+
+
+
+
+
+ ×
+
Discard edition
+
+
+
+ If you discard the current edition, all
+ unsaved changes will be lost.
+
+
You can cancel to return to the edition mode.
+
+
+
+
+
+
+
--
cgit v1.2.3
From b79e56d1af9a2d9e10631df79c4325ea7d0854e1 Mon Sep 17 00:00:00 2001
From: Xavier Morel
Date: Wed, 4 Dec 2013 11:52:12 +0100
Subject: [IMP] clarity of links edition
According to user tests, users have a hard time finding out how to
edit links. Thus, add same system as image edition (a small button
appearing when hovering the element).
Extract and unify these two to avoid redundancies between handlings as
they are broadly similar (only details such as label, positioning and
size of button relative to the element being hovered really change,
the lifecycle itself is the same).
The main setup still isn't very clean, there might be a better way to
do it.
bzr revid: xmo@openerp.com-20131204105212-u0a49nbvwilgtfst
---
addons/website/static/src/xml/website.editor.xml | 7 +++++++
1 file changed, 7 insertions(+)
(limited to 'addons/website/static/src/xml')
diff --git a/addons/website/static/src/xml/website.editor.xml b/addons/website/static/src/xml/website.editor.xml
index 8c1adf1ee27..be80e71afc0 100644
--- a/addons/website/static/src/xml/website.editor.xml
+++ b/addons/website/static/src/xml/website.editor.xml
@@ -194,4 +194,11 @@
+
+
+
+
+
+
--
cgit v1.2.3
From 083e88167e5c376a9559e6c38fd3af193266ff2f Mon Sep 17 00:00:00 2001
From: Christophe Matthieu
Date: Wed, 11 Dec 2013 17:33:05 +0100
Subject: [IMP] website: save (button) or discard (link), on left in modal
bzr revid: chm@openerp.com-20131211163305-5qwltn11k2ph179o
---
addons/website/static/src/xml/website.editor.xml | 14 ++++++++------
addons/website/static/src/xml/website.seo.xml | 3 ++-
2 files changed, 10 insertions(+), 7 deletions(-)
(limited to 'addons/website/static/src/xml')
diff --git a/addons/website/static/src/xml/website.editor.xml b/addons/website/static/src/xml/website.editor.xml
index be80e71afc0..15f1fec8bbd 100644
--- a/addons/website/static/src/xml/website.editor.xml
+++ b/addons/website/static/src/xml/website.editor.xml
@@ -2,11 +2,11 @@
-
@@ -25,7 +25,8 @@
@@ -138,7 +139,7 @@
@@ -187,7 +188,8 @@
diff --git a/addons/website/static/src/xml/website.seo.xml b/addons/website/static/src/xml/website.seo.xml
index 676a4c7760e..be9414ca37f 100644
--- a/addons/website/static/src/xml/website.seo.xml
+++ b/addons/website/static/src/xml/website.seo.xml
@@ -57,7 +57,8 @@
-->
--
cgit v1.2.3
From aca3b51bf3c9fb4bdde68f11429526e66d5cb6bc Mon Sep 17 00:00:00 2001
From: Christophe Matthieu
Date: Fri, 13 Dec 2013 17:16:42 +0100
Subject: [IMP] website_sale: layout for all theme and mobile view
bzr revid: chm@openerp.com-20131213161642-e1ltxlidm9apg3l4
---
addons/website/static/src/xml/website.editor.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'addons/website/static/src/xml')
diff --git a/addons/website/static/src/xml/website.editor.xml b/addons/website/static/src/xml/website.editor.xml
index 15f1fec8bbd..0497d2d574c 100644
--- a/addons/website/static/src/xml/website.editor.xml
+++ b/addons/website/static/src/xml/website.editor.xml
@@ -6,7 +6,7 @@
Save
or
- Discard
+ Discard
--
cgit v1.2.3
From c62e8fc793b9e65219d89759d384eb99ad3bffdc Mon Sep 17 00:00:00 2001
From: Fabien Pinckaers
Date: Sat, 14 Dec 2013 20:21:05 +0100
Subject: [IMP] Small improvements
bzr revid: fp@tinyerp.com-20131214192105-0ngdj4t6fz8xjd4q
---
addons/website/static/src/xml/website.editor.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'addons/website/static/src/xml')
diff --git a/addons/website/static/src/xml/website.editor.xml b/addons/website/static/src/xml/website.editor.xml
index 0497d2d574c..15f1fec8bbd 100644
--- a/addons/website/static/src/xml/website.editor.xml
+++ b/addons/website/static/src/xml/website.editor.xml
@@ -6,7 +6,7 @@
Save
or
- Discard
+ Discard