EragonJ / Trip.js

🚀 Trip.js is a plugin that can help you customize a tutorial trip easily with more flexibilities.
https://eragonj.github.io/Trip.js/
MIT License
793 stars 111 forks source link

chrome extension #127

Open EragonJ opened 8 years ago

EragonJ commented 8 years ago

I was thinking that it would be nice that we can easily generate the trip steps by ourselves with some simple clicks on the chrome extensions !

kafeltz commented 8 years ago

Would it be over static or dynamic generated content? I don't think it's useful for real life project. Or is it?

EragonJ commented 8 years ago

I am still thinking how to make it useful. As you said, real use case is more complicated than what we have thought, but if we can easily generate some basic configurations, I think this can still be helpful. Any idea ?

kafeltz commented 8 years ago

@EragonJ I think it would be fun to do it, but I didn't have much deep ideias to make it really helpful. I'm curious to know what other people think about it.

EragonJ commented 8 years ago

no worries, i'll keep this open and we can focus on the core features of Trip.js first !

mcicoria commented 8 years ago

@EragonJ I like this idea. It would probably make this much easier to use for folks who aren't really coders. I think it should be a separate project though, no?

EragonJ commented 8 years ago

Yes you are right, this should be moved to another repo. But right now there is no formal idea about how to do that, any idea ? if would be nice that if someone can help out xDD

EragonJ commented 8 years ago

This can be totally a new chromes extension and no dependency with Trip.js (Just use it to do a preview), so things should be simpler than the development work in Trip.js ! I think what we need here is a simple inspector (like how Chrome Inspector work) to let us pick certain element as one Trip step, and then, users can configure the details of each step by themselves easily from the extension.

After things are done, they can preview things first to make sure it look nice, and then press a button to generate the metadata for Trip.js use.

This is what I have planed for this Chrome extension, any further idea :) ?

kafeltz commented 8 years ago

I'm thinking about it.

Can we for example, imagine: replace all demo in trip.js with the metadata generated with this proposed extension?

I'm not sure if creating interface helper is the way to go, I'm on textual declarative, which is, reading the code makes your eye shines so elegant it is. My opinion is we could improve the elegancy of the trip usage.

Well, I have no ideias anyway, but i will keep reading this discussion, maybe someone can come up with something new.

EragonJ commented 8 years ago

@kafeltz you did mention another good point, I was bad at writing examples about how to use Trip.js, so it would be also helpful if we can have more detailed examples to teach others how to build up anything they want by Trip.js.

And for Chrome thing, its a nice-to-have feature and is still an idea, so we can keep this open and if there is anyone with any different idea or willing to jump in and help, it would be nice ++

nathanh0 commented 8 years ago

@EragonJ I was hoping a feature like that would exist somewhere. The ability to build your trip by clicking elements on the page and typing descriptions (wysiwyg?) would be incredible.

If it can't be done in chrome, it could definitely be done in jquery.

EragonJ commented 8 years ago

@nathanh0 i do have some ideas about that before, but the better way to achieve this is to make an extension (chrome, safari ... whatever) for it. Because this is more like what an add-on will do instead of Trip.js itself.