Closed
Bug 665735
Opened 13 years ago
Closed 12 years ago
Live sample management (with jsFiddle)
Categories
(developer.mozilla.org Graveyard :: Wiki pages, defect, P3)
developer.mozilla.org Graveyard
Wiki pages
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: openjck, Unassigned)
References
Details
(Whiteboard: u=user c=wiki s= p=)
No description provided.
Reporter | ||
Updated•13 years ago
|
Version: unspecified → Kuma
Updated•13 years ago
|
Assignee: lcrouch → nobody
Reporter | ||
Updated•13 years ago
|
Target Milestone: 1.0 alpha → ---
Updated•13 years ago
|
Priority: -- → P1
Reporter | ||
Comment 2•13 years ago
|
||
On bug 665691, Raymond pointed out that the meta-goal is to "show live samples of HTML in action".
Reporter | ||
Comment 3•13 years ago
|
||
In his user interview, Sheppy mentioned he would love if users were able to create and test HTML/CSS/JavaScript demos directly on the site rather than doing this work locally and uploading it.
He mentioned that he is not a fan of jsFiddle and pointed to Skywriter (now merged into Cloud9 IDE) as a possible alternative.
Sheppy: What do you dislike about jsFiddle?
Whiteboard: [u: user] [c: wiki] → [user-interview] [u: user] [c: wiki]
Reporter | ||
Updated•13 years ago
|
Summary: Kuma: jsFiddle integration → jsFiddle integration
Whiteboard: [user-interview] [u: user] [c: wiki] → [user-interview] u=user c=wiki p=
Comment 4•13 years ago
|
||
My primary concerns are streamlining the development of examples. The less you have to go off-site or out of the typical workflow of the site in order to put together examples, the more and better examples we will have. jsFiddle isn't bad but is designed, it seems, to be a full-page experience rather than something you would use embedded in content.
Comment 5•13 years ago
|
||
I don't see any way to embed cloud9 examples into other pages. Do you know of any tools that offer the right kind of integration already? We have connections to the dev's of jsFiddle so they may help us out with it.
Comment 6•13 years ago
|
||
I was just using Cloud9 as an example.
Reporter | ||
Comment 7•13 years ago
|
||
Points well taken, Sheppy. It does look like jsFiddle can be embedded (see http://doc.jsfiddle.net/use/embedding.html). Is this still not ideal in your opinion?
Comment 8•13 years ago
|
||
OK, that's kind of nice. I hadn't previously seen the embedding stuff in action before. However, it still takes you to a whole separate page to do the editing if you want to do that, which might not be ideal. But that may be a minor point worth playing with.
Can we store jsFiddle content on our own server? I'd hate to rely on another site for storage and risk the content vanishing on us someday.
Comment 9•13 years ago
|
||
Remember, Piotr [:zalun], the developer behind jsFiddle works for Mozilla and has been *waiting* for us to contact him about integrating the embedding stuff into Kuma.
Luke/Les: Can you please reconnect with him and setup some time to discuss? I'm adding him to this bug so he can follow along here as well.
Comment 10•13 years ago
|
||
Hi,
I had some email about Vidyo conference, but no date was provided.
I need to install Vidyo on my Gentoo and will be happy to talk about.
Comment 11•13 years ago
|
||
We can do a conference whenever, though we're still a way off from implementing and I'd rather talk about it right before we do it.
Maybe before 1.2 planning? (Sep 7)
Comment 12•13 years ago
|
||
I'm traveling the 6th, maybe 4th?
Comment 13•13 years ago
|
||
4th is a Sunday, how about the 5th? ;)
Comment 14•13 years ago
|
||
Could work - I've got no idea how available I'm gonna be.
Friday would be better.
Comment 16•13 years ago
|
||
jsfiddle and jsbin seem like simple enough but important enough components that we don't have to go with an off-the-shelf solution here. We can develop something just right for MDN if jsfiddle isn't just right.
In particular, you might want to take a look at the live editor that Atul Varma has been developing for:
http://lovebomb.me/
http://toolness.github.com/webpage-maker-prototype/
http://webpad.hackasaurus.org/
Atul's solution is aimed at kids and "web makers", while MDN aimed at professional webdevs, but it might still be nice to use the same solution in both places.
Comment 17•13 years ago
|
||
Thanks David!
We've got plans to add context-sensitive help to webpage maker too, so that e.g. when the user hovers over an <a> tag, they get a bit of novice-friendly help on what that is, examples of its use, and so on--kind of like the related MDN page, but less intimidating for newcomers.
Another interesting thing about our solution is that the UX is static HTML and JS--all server-side storage is done by a separate RESTful API called "hackpub":
https://github.com/hackasaurus/hackpub
Note, though, that webpad.hackasaurus.org is actually just a fork of jsbin, and we're probably abandoning it since the lovebomb.me/webpage-maker route is more optimal for our needs.
Comment 18•13 years ago
|
||
beta jsFiddle will have pluggable editors, so it might just be the case to add another editor to CodeMirror or Ace. I'm developing fiddle as a separate Django app to make it easy to plug into other projects.
Reporter | ||
Comment 19•12 years ago
|
||
Whichever editor we go with, I think this could be a huge asset for the MDN. I once recommended the MDN to a friend of mine who was learning HTML and CSS, but she refused as w3schools.com allowed her to edit code and see the results immediately. In fact, I started learning about webdev with w3schools.com many moons ago for the same reason.
Comment 20•12 years ago
|
||
FWIW, I'd vote for moving this to block bug 756266 as a post-launch enhancement, rather than block Kuma launch in July.
Reporter | ||
Comment 21•12 years ago
|
||
Agreed. I think it should be fairly high-priority after launch, though, due to the value it would provide.
No longer blocks: 710713
Updated•12 years ago
|
Whiteboard: [user-interview] u=user c=wiki p= → [user-interview] u=user c=wiki s=2012-06-05 p=
Updated•12 years ago
|
Whiteboard: [user-interview] u=user c=wiki s=2012-06-05 p= → u=user c=wiki s=2012-06-05 p=
Comment 22•12 years ago
|
||
longer-term bug
Blocks: 756266
Whiteboard: u=user c=wiki s=2012-06-05 p= → u=user c=wiki s= p=
Updated•12 years ago
|
Priority: P1 → P3
Comment 23•12 years ago
|
||
Pages like this one rely on this to have their live examples working in Kuma. (Dekiwiki was allowing <script> by admins, which we can't do right now in Kuma, and won't very likely).
https://developer-new.mozilla.org/en-US/docs/CSS/::first-line
We don't have many page so many pages with this kind of stuff in CSS, but we really want much more of them in the future.
(Adding the link here so that we don't forget to update it once this bug is fixed)
Comment 24•12 years ago
|
||
Still for remembering:
https://developer-new.mozilla.org/en-US/docs/CSS/:only-child
Assignee | ||
Updated•12 years ago
|
Version: Kuma → unspecified
Assignee | ||
Updated•12 years ago
|
Component: Website → Landing pages
Comment 25•12 years ago
|
||
We'll use this as our tracking bug for the jsFiddle-based sample management system we're going to build.
Updated•12 years ago
|
Summary: jsFiddle integration → Live sample management (with jsFiddle)
Reporter | ||
Comment 26•12 years ago
|
||
We already have code example features, so samples will not be simple jsFiddle integration as this bug originally assumed. We may still use jsFiddle as an optional editor for MDN code examples, but it will look much different than simple jsFiddle integration.
Closing this out. We will open other bugs if/when we need to integrate jsFiddle with our existing code example system.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → INVALID
Updated•4 years ago
|
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•