Closed
Bug 865202
Opened 13 years ago
Closed 13 years ago
We need collapsible sections JS for Optimizely test
Categories
(support.mozilla.org :: Knowledge Base Software, task, P1)
support.mozilla.org
Knowledge Base Software
Tracking
(Not tracked)
RESOLVED
FIXED
2013Q2
People
(Reporter: atopal, Assigned: rehandalal+mozilla)
Details
(Whiteboard: u=sumo-team c=wiki p=2 s=2013.9)
We want to test if collapsible sections give us better helpfulness ratings than the the really long articles that we have today. We'd like to use Optimizely to perform the test, and need to manipulate the page to look like this:
http://people.mozilla.org/~mverdi/mockups/article-layout1/
Two things are changed here:
1. There is no TOC (a TOC makes no sense when the sections are collapsed)
2. The content between <H1>s is collapsed
Please provide the JS for this so we can stick it into our Optimizely A/B test.
Comment 1•13 years ago
|
||
I talked with Rehan and this seems very doable. Making it 2pts in case it gets tricky.
Whiteboard: u=sumo-team c=wiki p= s=2013.9 → u=sumo-team c=wiki p=2 s=2013.9
| Assignee | ||
Updated•13 years ago
|
Assignee: nobody → rdalal
| Assignee | ||
Comment 2•13 years ago
|
||
Landed:
https://github.com/mozilla/kitsune/commit/570b1815b807db2e4b75afe38edda317ddb1a370
Pushed to prod by me, right now.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
| Reporter | ||
Comment 3•13 years ago
|
||
Rehan, can you explain what's happening in that commit? What I was talking to Ricky about was a piece of jquery that we could insert into the test on Optimalsort, It would add the necessary containers and handle the folding etc for our a/b test.
Flags: needinfo?(rdalal)
Comment 4•13 years ago
|
||
(In reply to Kadir Topal [:atopal] from comment #3)
> Rehan, can you explain what's happening in that commit? What I was talking
> to Ricky about was a piece of jquery that we could insert into the test on
> Optimalsort, It would add the necessary containers and handle the folding
> etc for our a/b test.
Oh, sorry we didn't explain how to use it :)
just call from js `k.makeWikiCollapsable();`
For example: http://cl.ly/image/3s2k2i0l3K3K
I assume that works?
| Reporter | ||
Comment 5•13 years ago
|
||
Oh, great :) Thanks!
You need to log in
before you can comment on or make changes to this bug.
Description
•