JaimeChizavane / magento-w2p

Automatically exported from code.google.com/p/magento-w2p
0 stars 0 forks source link

Conditional "Update preview" button #767

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Some pages don't need to show the "Update preview" button because it can only 
confuse the users. These can be:
- Static pages
or
- Passive pages (with fields shared from a previous page)

Lets make this button conditional and have it show up only when needed. Some 
page might have a shared field and a unique one. If there's at least one field 
unique to that page or this is the first page where it shows up, then this 
qualifies the page for a "Update preview" button. Otherwise, we hide it.

Testing template:
http://d1.zetaprints.com/magedev/index.php/magentot-03/passive-pgs.html

Original issue reported on code.google.com by agur...@gmail.com on 5 Mar 2012 at 12:41

GoogleCodeExporter commented 8 years ago
Remove completely or grey out?

Thinking that just removing it will be confusing too.

Original comment by ad...@zetaprints.com on 5 Mar 2012 at 8:14

GoogleCodeExporter commented 8 years ago
We don't show Update preview button for static pages. Need to  implement it for 
passive ones.

It can be done in 2 ways:

1. Additional flag from ZP
2. Check that page has fields

Original comment by Anatoly....@gmail.com on 6 Mar 2012 at 4:53

GoogleCodeExporter commented 8 years ago
OK, u get a flag.
I think it was already mentioned somewhere.
Give me a day or two.

Original comment by ad...@zetaprints.com on 6 Mar 2012 at 5:23

GoogleCodeExporter commented 8 years ago
About the greyed out button...

Attached is the updated sprite.
Text color is #767676

Original comment by agur...@gmail.com on 6 Mar 2012 at 9:29

Attachments:

GoogleCodeExporter commented 8 years ago
Not I'd always notice the difference. It's quite subtle.

What about Update Preview in the fancybox?

Original comment by ad...@zetaprints.com on 6 Mar 2012 at 6:00

GoogleCodeExporter commented 8 years ago
Color is #9b9b9b

About the fancybox... we simply don't show the Update preview button. Same as 
on static pages ex. second page here:
http://d1.zetaprints.com/magedev/index.php/magentot-03/passive-pgs.html
a "X" corner button rather than a "Update preview | X" one.

I guess we can also show it greyed out (see F1-1FB_greyed_out.png). You think 
we need to do it that way?

Original comment by agur...@gmail.com on 7 Mar 2012 at 3:35

Attachments:

GoogleCodeExporter commented 8 years ago
Confusing requirements. We need a decision table.

Original comment by ad...@zetaprints.com on 7 Mar 2012 at 8:20

GoogleCodeExporter commented 8 years ago
In fancybox I grayes Update preview button when no data is placed in fields and 
hides it when page is static.

Original comment by Anatoly....@gmail.com on 8 Mar 2012 at 7:04

GoogleCodeExporter commented 8 years ago

Original comment by Anatoly....@gmail.com on 14 Mar 2012 at 5:15

GoogleCodeExporter commented 8 years ago
Why ZP status?

Original comment by ad...@zetaprints.com on 14 Mar 2012 at 8:52

GoogleCodeExporter commented 8 years ago
I'm waiting for the flag.

> OK, u get a flag.
> I think it was already mentioned somewhere.
> Give me a day or two.

Original comment by Anatoly....@gmail.com on 15 Mar 2012 at 3:18