Skip to content

Commit

Permalink
Merge pull request #433 from ijlee2/blog/embertimes-128
Browse files Browse the repository at this point in the history
Covered release of Ember Device addon for Times issue 128
  • Loading branch information
ijlee2 authored Dec 13, 2019
2 parents de2d5d5 + 6f43fce commit e2386e0
Showing 1 changed file with 31 additions and 6 deletions.
37 changes: 31 additions & 6 deletions source/2019-12-13-the-ember-times-issue-128.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ responsive: true

<SAYING-HELLO-IN-YOUR-FAVORITE-LANGUAGE> Emberistas! ๐Ÿน
Check out the new accessible controls for ember-sortable ๐ŸŽ›๏ธ,
a new testing codemod from Freshworks ๐ŸŽ‰,
updates for the Octane/Classic Ember Cheat Sheet ๐ŸŽฎ,
introduce adaptive loading to your app with Ember Device ๐Ÿ“ถ,
a new testing codemod from Freshworks ๐ŸŽ‰,
<SOME-INTRO-HERE-TO-KEEP-THEM-SUBSCRIBERS-READING>

READMORE
Expand All @@ -34,6 +35,8 @@ Unfortunately there was not a well-defined standard for making accessible drag a

As part of this work, [ember-sortable](https://github.com/adopted-ember-addons/ember-sortable) is now part of the [adopted-ember-addons](https://github.com/adopted-ember-addons) which is a GitHub org where community members can find a [new home](https://github.com/adopted-ember-addons/program-guidelines/blob/master/README.md) for their Ember addon. Moreover, ember-sortable was also highlighted on [DecEmber Day 1](https://blog.emberjs.com/2019/12/01/countdown-to-the-new-year-ember-sortable.html)!

---

## [New Release of the Octane vs Classic Cheat Sheet ๐ŸŽฎ](https://ember-learn.github.io/ember-octane-vs-classic-cheat-sheet/)

Ember's first edition, [Ember Octane](https://emberjs.com/editions/octane/), is around the corner. And did you already know that you can find all the cheat codes you will ever need to master your move from classic Ember apps to Octane ones in [this official cheat sheet](https://ember-learn.github.io/ember-octane-vs-classic-cheat-sheet/)? It compares many of the APIs, patterns and best practices that you might already be familiar with from the classic Ember world to the new paradigms used in Octane applications.
Expand All @@ -46,13 +49,35 @@ Want to contribute to the cheat sheet yourself? Check out [the project on Github

---

## [Section Title in Title Case ๐Ÿน](#section-url)
## [Introduce Adaptive Loading to Your App with Ember Device ๐Ÿ“ถ](https://twitter.com/_gokatz/status/1201534724696494081)

<change section title emoji>
<consider adding some bold to your paragraph>
With [Ember Device](https://github.com/gokatz/ember-device), you can **progressively deliver rich content and powerful web experiences**. Thanks to [Gokul Kathirvel (@gokatz)](https://github.com/gokatz), you can **provide as much value to users with low-end devices** as to users with high-end devices. ๐Ÿ’ฏ

<add your name to author list, top and bottom>
<add blurb and emoji to "SOME-INTRO-HERE">
Ember Device provides a `device` service so that you can gauge a user's device and network to decide what content to show.

```handlebars
{{#let this.device.networkStatus.effectiveConnectionType as |effectiveType|}}
{{#if (eq effectiveType "slow-2g")}}
<ImageLoader @resolution="low" />
{{else if (eq effectiveType "2g")}}
<ImageLoader @resolution="mid" />
{{else if (eq effectiveType "3g")}}
<ImageLoader @resolution="high" />
{{else if (eq effectiveType "4g")}}
<VideoLoader />
<!-- Fallback -->
{{else}}
<ImageLoader @resolution="mid" />
{{/if}}
{{/let}}
```

To learn more about **adaptive loading**, we encourage you to check out [Ember Device's documentation](https://ember-device.netlify.com/) and [@astronomersiva's blog post](https://siva.dev/adaptive-fetching/)!

---

Expand Down

0 comments on commit e2386e0

Please sign in to comment.