Skip to content

Commit bdcf06f

Browse files
committed
add episode notes for 90
1 parent c8b5b08 commit bdcf06f

File tree

3 files changed

+60
-1
lines changed

3 files changed

+60
-1
lines changed

episodes/2016-11-29/notes.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
### Host
2+
+ [Justin Schwartzenberger](https://twitter.com/schwarty)
3+
4+
### Guest
5+
+ [Mike Ryan](https://twitter.com/mikeryan52)
6+
7+
### Panelists
8+
+ [Austin McDaniel](https://twitter.com/amcdnl)
9+
+ [Mike Brocchi](https://twitter.com/Brocco)
10+
+ [Olivier Combe](https://twitter.com/OCombe)
11+
12+
### Episode Notes
13+
+ Introductions
14+
+ What is ngrx
15+
+ What are the different packages?
16+
+ Why are they separate?
17+
+ Demos
18+
+ Basic reducers
19+
+ Injecting Store
20+
+ Smart/Dumb Components
21+
+ Isolating side effects with ngrx/effects
22+
23+
### Picks
24+
+ Justin Schwartzenberger
25+
+ Forbes.com article with Misko
26+
Miško Hevery, Inventor of Angular And How Open Source Languages Are Redefining Enterprise Software
27+
<http://www.forbes.com/sites/louiscolumbus/2016/11/14/misko-hevery-inventor-of-angular-and-how-open-source-languages-are-redefining-enterprise-software/#3029a2a54351>
28+
+ Samsung SmartHome
29+
<https://www.smartthings.com>
30+
+ Mike Ryan
31+
+ SimplySNAP - Lighting platform
32+
<http://www.synapse-wireless.com/simplysnap>
33+
+ Offscreen
34+
<http://www.offscreenmag.com/>
35+
+ @ngrx/example-app
36+
<https://github.com/ngrx/example-app>
37+
+ Austin McDaniel
38+
+ The Grammar of Graphics
39+
<https://g2.alipay.com/>
40+
+ Mike Brocchi
41+
+ Angular 2 Flex Layout
42+
<https://github.com/angular/flex-layout> (even though Austin stole it)

index.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ <h2>
4848
<h2>Upcoming Episodes</h2>
4949

5050
<div ng-repeat="episode in vm.episodes" class="episode">
51+
<a ng-if="episode.number > 0" id="episode-{{::episode.number}}"></a>
5152
<div class="main-episode-content">
5253
<h3 class="episode__title">
5354
<a ng-href="{{::episode.hangoutUrl}}">{{::episode.title}}</a>
@@ -70,6 +71,14 @@ <h3 class="episode__title">
7071
Stay tuned for a YouTube link!
7172
</span>
7273
</div>
74+
<div ng-if="::episode.hasNotes" class="notes">
75+
<a ng-click="episode.notesAreVisible = !episode.notesAreVisible" class="toggle">
76+
Notes ({{episode.notesAreVisible ? 'click to hide' : 'click to show'}})
77+
</a>
78+
<div class="episode__notes justify"
79+
ng-style="{'display': episode.notesAreVisible ? 'block' : 'none'}"
80+
ng-bind-html="::episode.notes"></div>
81+
</div>
7382
<person-group groups="episode.guests"></person-group>
7483
</div>
7584
<div class="episode__description justify" ng-bind-html="::episode.description"></div>

script.js

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,15 @@
5050

5151
vm.episodes = [
5252
{
53+
number: 90,
5354
title: 'ngrx with Mike Ryan',
5455
displayDate: 'Tuesday, November 29, 2016',
5556
date: '2016-11-29',
5657
time: '11:00 AM (Pacific Time)',
5758
hangoutUrl: 'http://ngair.io/ngrx-2016',
58-
guests: [[]]
59+
guests: [[]],
60+
hasNotes: true,
61+
notesAreVisible: false
5962
},
6063
{
6164
title: 'Angular and D3 for Data Visualization with Marjan Georgiev, Olivier Combe and Austin McDaniel',
@@ -1285,6 +1288,11 @@
12851288
}
12861289
});
12871290
});
1291+
if(episode.hasNotes) {
1292+
markdownGetter.getNotes(episode.date).then(function success(markdown) {
1293+
episode.notes = $sce.trustAsHtml(markdown);
1294+
});
1295+
}
12881296

12891297
// markdownGetter.getDescription(episode.date).then(function success(markdown) {
12901298
// episode.description = $sce.trustAsHtml(markdown);

0 commit comments

Comments
 (0)