Conversation
|
Nice. I do think we need to check with @tomdale or someone else at Tilde whether we're not infringing anything here ;-) Also, I believe some work on emberjs.com is underway, don't know what the impact on the styling will be. |
|
Tomster is pretty well protected, but color scheme should be good. I'll ping @wifelette to just double check though. |
|
@joostdevries I assumed there wasn't a problem since jsbin already has a similar theme. 👍 |
|
👍 on the header, this fits with our overall strategy for where the brand bits can be used :) The New Twiddle button doesn't look great, but I'll assume it's still being iterated on. The new website stuff is definitely dragging, so I wouldn't wait on it. That said, once it comes out, we may want to update. Can cross that bridge when we get to it. |
|
👍 🚢 |
There was a problem hiding this comment.
Seems somewhat odd to hotlink from emberjs.com directly. I think we should bring this .png down, into our own public folder.
There was a problem hiding this comment.
@rwjblue Definitely. I was just setting this up quickly to get feedback. Will fix this right away.
|
@wifelette Thank you for your input. Regarding the New Twiddle button, that isn't exactly a button. It's an input where the user types the fiddle name. When you hover it its background transitions to a bright color. Please let me know how I should handle this. |
|
@miguelcobain - That bit of UX needs a bit of work (even before your changes). I think that can likely be tweaked laterish.. |
|
Gotcha :) I think it caught my eye for a few design reasons:
There are surely better solutions out there, but potentially not ones worth waiting on. Unsure if there's anyone around with design chops (I'm assuming you're all devs, but correct me if I'm wrong!) though. (Any ideas, @sandraor?) In the interim... some ideas:
This sort of thing: It's a different kind of example of course, but just making sure you know what I meant :p |
|
@wifelette Your observations make a lot of sense. An alternative would be to use the "Fork us" button style at http://emberjs.com/ with a pencil icon? |
|
That could be an option :) In general, it might be a mistake to be thinking about a button and an editable window as the same thing, which it sounds like we're doing. We may want to create something entirely new and avoid all the confusion. I chatted with @sandraor and she has some great ideas, stay tuned for her comments! |
|
I took a look at what's currently on http://ember-twiddle.com and I like that subtle approach to editing. I played around with the button styles from the http://emberjs.com/ header to come up with a few states: Hover (semi-transparent background) Editing (darker background with Since there's a hover state, I don't think it's essential to have an icon to indicate the edit feature. But it could work: |
|
MUCH improved here, and I still think we need the pencil icon to be sure it's clear. I say let's make it happen :D Is there someone already set up who can do the implementation? Neither @sandraor nor I happen to already be set up with everything we need to run ember-cli on our machines, so these are just mockups so far. |
|
@wifelette @sandraor Feel free to use https://ember-twiddle-gaurav.herokuapp.com and Chrome / Firebug to directly edit the CSS until you like it and then and post it here. :) |
|
I can do that. Looks really nice! Also agree on the pencil icon. If the user happens to never mouse over the title, he/she may never understand that it's editable. @sandraor What are the transparency levels you used? Also, what values for box shadow? |
|
So much ❤️ for this :-) |
|
@Gaurav0 Thanks for the link! Also, changing the pane header background colour to |
|
Any suggestions for including the pencil icon? We can either include font-awesome, for example, or go with something like https://github.com/Kinvey/ember-cli-fontcustom I use ember-cli-fontcustom myself and it works really great. However it would require contributors to install font custom on their pc's: https://github.com/FontCustom/fontcustom Another option would be to use something like fontello or just simply include a png/svg file. |
|
I don't mind installing fontcustom on my PC, however for the sake of getting as many contributors as possible I would prefer to use ember-cli-font-awesome just because it downloads from bower and doesn't require another install. |
|
I'm not opposed to any of these options, but in theory I would prefer vendoring the specific png/svg needed for the pencil icon (not sure if there are downsides there)... |
|
@rwjblue The advantage to using a font is that you can make it any color and size. |
|
And using a font gives retina support out of the box for this icon (and potentially others down the road)
|
|
Derp, can't believe I got this all mixed up. Anyways, lets shoot for fontawesome (as opposed to requiring everyone to install fontcustom assuming I didn't misunderstand that too). |
|
The downside of installing font awesome is that we're making everyone download a font with hundreds of glyphs just for one icon. Fontcustom allows us to create our own icon font, with the icons we want. Still, font-awesome is widely used. It may even be present in most of our caches. :) |
|
Another option (that like Fontcustom allows creating a font with only a few glyphs) is https://icomoon.io I've used it in the past and been quite happy with it, but it might get to be a headache for Ember ... There is this package that could ease things as well. Personally, I think using FontAwesome from a CDN might be simplest though ... ;-) |
|
I just noticed that bootstrap's glyphicons were being included from the start. I just went with that (it's also a font). |
|
Looks really good to me. |
|
b966409 deployed to https://ember-twiddle-gaurav.herokuapp.com |
|
@acorncom That also happens to me on latest linux Chrome. That bug was present before these restylings, though. It should be related with ember-autoresize. |
|
@acorncom Don't know how, but it looks fixed now! |
There was a problem hiding this comment.
one last question: cant't the behaviour this provides also be done with CSS :focus?
|
👍 |
1 similar comment
|
👍 |
|
I get a different pencil on canary? |
|
I see a different pencil too. Bootstrap assets are different? |
|
@miguelcobain For future reference, looks like Fontello.com files (and config) were originally used for icons on the Ember website (emberjs/website@ff29f7c) Just found it when digging through to make a fix on the guides website ... We should probably document that somewhere (for this repo and others) ;-) |









Opinions?
Styles need refactoring, IMO. I think they're a bit confusing. I tried to go along with the existing logic.
Depending on feedback I can refactor the styles further.
Preview:
