-
-
Notifications
You must be signed in to change notification settings - Fork 497
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[OCTANE] change ember-core-concepts.png
to use </>
syntax
#631
Conversation
Also, this version uses "free" fonts (Roboto and Source Code Pro), but it'd probably be best if the svg inherited the css from the site proper. |
Would you mind sharing before/after screenshots too? |
I love the switch to an svg in regards to maintainability. However by using non standard fonts, there is potential for it not to be consistent on every screen. For example this is how it looks for me I suspect we also want to update this code to be in the new format import Route from '@ember/routing/route';
export default class RentalsRoute extends Route {
model() {
return this.store.findAll('rental');
}
} <RentalTile @rental={{rental-unit}} /> |
@Frozenfire92: I agree. I think it should adopt the fonts used in the css for the guides. I haven't yet done that. Let me try that now. |
As for the native class syntax on the Route, I left it as is because the octane guides so far also don't have native class syntax in Routing. See, for example, |
looking at the |
That was my thinking too! I'm working on the text spacing stuff now to see if I can get it to play nicely w/ different fonts. |
ember-core-concepts.png
to use </>
syntaxember-core-concepts.png
to use </>
syntax
ember-core-concepts.png
to use </>
syntaxember-core-concepts.png
to use </>
syntax
OK I took away WIP since I think this is ready for review? |
@muziejus thanks for this work! Can you also make the variable in the template |
Didn't mean to suggest that, just was fixing up the already there example 100% right though, should be |
Good catch, @mixonic . As @Frozenfire92 suggested, that was already in the original. I was more reacting to the lack of angle bracket syntax and completely overlooked the kebab-case! |
This is such an improvement! Thanks @muziejus for your patience with the back & forth. I'm merging this, and if there are any other outstanding changes people were looking for (browser compatibility), let's hit those in separate PRs. Nice work! |
…learn#631) * Replace core-concepts image w/ svg that includes angle bracket syntax * Components, not templates, in the bottom row. * Fix fi ligature problem. * Change fonts to match css of Ember guides. * Clean up classnames and code section. * Add text anchors for first lines. * Change template variable to camelCase
The original png used curlies for a component. I've changed that here. I've also made an editable svg out of the file, so hopefully it'll be easier to update in the future
that said, I think this image can be made better. I think it's still confusing:
findAll
lead to an arrow going to theModel
but not coming back?findAll
talk about persisting to the web server; no changes have been madeetc. I can try to make a few changes to try and make it a bit clearer, but I want this minimum change in as a PR.