otwstephanie / otwarchive3

Clone of OTWarchive, for merge testing
0 stars 0 forks source link

Sandbox pane to allow styles in stories (Light style) #349

Closed otwstephanie closed 10 years ago

otwstephanie commented 10 years ago

From shal...@gmail.com on September 12, 2008 16:24:40

Currently we strip out all style attributes in uploaded HTML. This is not required for safety but is required to protect against breaking the user interface.

In the long run, ideally we would allow style attributes through, and display stories inside a kind of sandbox pane where at the end of it, we reset everything, which also comes with a button that lets the reading user strip out all the style attributes (with a preference to always read that way as well).

Post-beta feature!

Original issue: http://code.google.com/p/otwarchive/issues/detail?id=349

otwstephanie commented 10 years ago

From eni...@gmail.com on March 06, 2009 13:08:17

Labels: Milestone-Release1.0

otwstephanie commented 10 years ago

From jenny.sc...@gmail.com on April 01, 2010 06:39:38

See http://wiki.transformativeworks.org/mediawiki/Light_Style for design.

otwstephanie commented 10 years ago

From jenny.sc...@gmail.com on April 16, 2010 06:09:29

Summary: Sandbox pane to allow styles in stories (Light style)
Owner: cesy.avon
Labels: -Milestone-Release1.0 Milestone-Internal0.8

otwstephanie commented 10 years ago

From jenny.sc...@gmail.com on April 16, 2010 06:26:47

My commit message got mangled, but here it is:

Adds light style feature. There is a new user preference for 'Always use light style'. Work pages have buttons to switch style. You can actually add the parameters to the URL on any page, and they will have the same effect, so you can use it on things like collection FAQs if you need to. Light style also skips Fertigo, so should be faster to load on things like the iPhone that like to pretend they're not mobile phones. I have also added a couple of extra classes, as an experiment. If you make a <span class='font-red'> in your story, it should come out red. Similarly for the following classes: dropcap, flashback, caps, font-serif, font-big, font-small. I can add more such classes fairly easily, but it would probably be better to wait, and fix the RTE and parser first. r2540 .

Status: FixedAndCommitted
Labels: -Milestone-Internal0.8 Milestone-Internal0.7 Release-0.7.5

otwstephanie commented 10 years ago

From jenny.sc...@gmail.com on April 16, 2010 08:09:28

Labels: Release-0.7.4

otwstephanie commented 10 years ago

From elz...@gmail.com on April 16, 2010 17:28:00

Status: FixedButUnverified

otwstephanie commented 10 years ago

From Zooey.Gl...@gmail.com on April 19, 2010 04:55:56

Changing back to FixedandCommitted as it got missed out in deploy to Test :(

Status: FixedAndCommitted

otwstephanie commented 10 years ago

From Zooey.Gl...@gmail.com on April 19, 2010 09:51:11

Oops, it got to Test after all, but some bits are broken. Setting back to Started now till Cesy has a chance to finish and commit her fixes.

Status: Started

otwstephanie commented 10 years ago

From cesy.a...@gmail.com on April 19, 2010 10:33:01

New bits have now been fixed and committed.

Status: FixedAndCommitted

otwstephanie commented 10 years ago

From elz...@gmail.com on April 19, 2010 14:33:19

Status: FixedButUnverified

otwstephanie commented 10 years ago

From Zooey.Gl...@gmail.com on April 21, 2010 08:42:08

Tested the following scenarios:

Looged-out user: Viewing single-chapter work - switching between light and creator style works.\0/ Viewing individual chapter in a multi-chapter work - switching between light and creator style works. \0/ Viewing multi-chapter work as an entire work - cannot switch to light style.

Logged-in user with preference set to view light style by default: Viewing single-chapter work - switching between light and creator style works.\0/ Viewing individual chapter in a multi-chapter work - switching between light and creator style works.\0/ Viewing multi-chapter work as an entire work - cannot switch to creator style.

Cesy, I'm leaving this FBU for now, in case you can get the fix in for the part that's not working. But if it turns out to be a tricker job, then mark this FAV and open a new issue for the view entire work functionality :D

otwstephanie commented 10 years ago

From cesy.a...@gmail.com on April 21, 2010 10:06:23

Fixed viewing entire work in r2593 .

Status: FixedAndCommitted

otwstephanie commented 10 years ago

From elz...@gmail.com on April 21, 2010 11:16:57

Status: FixedButUnverified

otwstephanie commented 10 years ago

From elz...@gmail.com on April 21, 2010 13:17:44

Can switch back and forth from full-work view now. \o/

It might be handy if it held on to your style preference when switching from full view to chapter view and when navigating between chapters in the same work, but we could call that an enhancement and make a new issue for it.

Status: FixedAndVerified

otwstephanie commented 10 years ago

From elz...@gmail.com on April 23, 2010 09:55:04

Status: DeployedToBeta

otwstephanie commented 10 years ago

From Black0Sa...@gmail.com on April 25, 2010 19:28:58

Marking VerifiedOnBeta

Status: VerifiedOnBeta

otwstephanie commented 10 years ago

From autu...@gmail.com on November 13, 2010 14:11:07

listing all former issues for automated tests

Status: NeedsTests

otwstephanie commented 10 years ago

From autu...@gmail.com on November 14, 2010 11:44:23

Converting from NeedsTest status to NeedsTest label

Status: VerifiedOnBeta
Labels: NeedsTests