Skip to content
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

doc(tooling): réordonnancement #57

Merged
merged 25 commits into from
Jul 28, 2020
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
dbdc69c
doc(tooling): réordonnancement
Jul 6, 2020
a988e00
Fix typos in readme
Xartok Jul 6, 2020
0d6c4dd
doc(tooling): maj accès devtools
Jul 7, 2020
e3e11e0
doc(app-shell): suppression slides sur la vitesse d'affichage
Jul 7, 2020
3cf9ba3
docs: consistence arrow functions
geromegrignon Jul 8, 2020
673f28c
docs(fil rouge): utilisation de npx
geromegrignon Jul 9, 2020
7f040b3
docs(tooling): integration dependance lighthouse
geromegrignon Jul 9, 2020
96d54d4
Merge pull request #59 from sfeir-open-source/ylag_readme_typos
Xartok Jul 9, 2020
17c2167
Update README.md
Xartok Jul 6, 2020
da18d17
Merge pull request #58 from sfeir-open-source/ylag_update_readme
Xartok Jul 9, 2020
dc7e5e0
feat: single line arrow functions
geromegrignon Jul 13, 2020
5cfb560
Merge pull request #62 from sfeir-open-source/arrow-function
geromegrignon Jul 28, 2020
544e1f7
Merge pull request #61 from sfeir-open-source/app-shell
geromegrignon Jul 28, 2020
e57b69a
Fix typos in readme
Xartok Jul 6, 2020
ddfba21
Update README.md
Xartok Jul 6, 2020
2e75afa
docs: consistence arrow functions
geromegrignon Jul 8, 2020
4bc6f9a
feat: single line arrow functions
geromegrignon Jul 13, 2020
c2bd26b
doc(app-shell): suppression slides sur la vitesse d'affichage
Jul 7, 2020
2c0b954
doc(tooling): move lighthouse dependency
geromegrignon Jul 28, 2020
d714fcb
doc(tooling): réordonnancement
Jul 6, 2020
acc7602
doc(tooling): maj accès devtools
Jul 7, 2020
87440ff
docs(fil rouge): utilisation de npx
geromegrignon Jul 9, 2020
fa9589d
docs(tooling): integration dependance lighthouse
geromegrignon Jul 9, 2020
16431c8
doc(tooling): move lighthouse dependency
geromegrignon Jul 28, 2020
3b8c259
Merge branch '17-tooling' of https://github.com/sfeir-open-source/sfe…
geromegrignon Jul 28, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified docs/assets/images/chrome_devtools.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/assets/images/firefox_devtools.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/images/safari_devtools.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/assets/images/safari_devtools_1.png
Binary file not shown.
Binary file removed docs/assets/images/safari_devtools_2.png
Binary file not shown.
70 changes: 0 additions & 70 deletions docs/markdown/01-intro/04-outils.md

This file was deleted.

45 changes: 45 additions & 0 deletions docs/markdown/01-intro/06-fil-rouge.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
<!-- .slide: class="transition bg-red" -->

# Fil rouge

##==##

<!-- .slide: class="two-column-layout" -->

# Lighthouse

##--##

<br><br>

![center](assets/images/lighthouse.png)

##--##

<!-- .slide: class="with-code" -->

<br><br><br>

Chrome Devtools :

Lighthouse => "Generate report"
<br><br>

CLI:

```shell
npx lighthouse http://localhost:8080/ --view
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

du coup, pour continuer sur cette discussion, tu pense qu'il faudrait qu'on fige une version de lighthouse dans notre package.json ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

en effet cela permettrait d'être résilient aux changements surtout que la version actuelle correspond à notre besoin.

```

<!-- .element: class="big-code" -->

Notes:
Lighthouse, which you'll learn more about, has tools from the app and from the command line to help check security.

--chrome-flags=”no-sandbox” pour linux

##==##

# Rapport lighthouse

![center h-900](assets/images/lighthouse-pwa.png)
103 changes: 0 additions & 103 deletions docs/markdown/01-intro/06-intro-secu.md

This file was deleted.

35 changes: 35 additions & 0 deletions docs/markdown/02-serviceworkers/06-outils.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<!-- .slide: class="transition bg-blue" -->

# Outils

##==##

# Chrome Devtools

![center h-800](assets/images/chrome_devtools.png)

##==##

# Firefox Devtools

Saisir _about:debugging_ dans l'url d'un nouvel onglet

![center h-500](assets/images/firefox_devtools.png)

##==##

# Safari Devtools

Cliquer sur _Preferences_ / _Advanced_ et cocher l'option 'Show Develop menu in menu bar'

Cliquer sur _Develop_ / _Service workers_ / _http://localhost:8080_

![center h-400](assets/images/safari_devtools.png)

##==##

# En savoir plus sur les devtools ?

Documentation Developpers Google

https://developers.google.com/web/ilt/pwa/tools-for-pwa-developers
21 changes: 11 additions & 10 deletions docs/scripts/slides.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@ function introSlides() {
'01-intro/01-contexte.md',
'01-intro/02-definition.md',
'01-intro/03-FIRE.md',
'01-intro/04-outils.md',
'01-intro/05-webapp.md',
'01-intro/06-intro-secu.md'
'01-intro/06-fil-rouge.md'
];
}

Expand All @@ -23,18 +22,20 @@ function serviceWorkersSlides() {
'02-serviceworkers/03-recap-promise.md',
'02-serviceworkers/04-recap-function.md',
'02-serviceworkers/05-exercice.md',
'02-serviceworkers/06-no-window.md',
/* tooling */
'02-serviceworkers/06-outils.md',
'02-serviceworkers/07-no-window.md',
/* events */
'02-serviceworkers/07-events-intro.md',
'02-serviceworkers/08-events-intro.md',
/* lifecycle */
'02-serviceworkers/08-lifecycle-intro.md',
'02-serviceworkers/09-lifecycle-exercice.md',
'02-serviceworkers/09-lifecycle-intro.md',
'02-serviceworkers/10-lifecycle-exercice.md',
/* control-lifecycle */
'02-serviceworkers/10-control-lifecycle-intro.md',
'02-serviceworkers/11-control-lifecycle-exercice.md',
'02-serviceworkers/11-control-lifecycle-intro.md',
'02-serviceworkers/12-control-lifecycle-exercice.md',
/* fetch-api */
'02-serviceworkers/12-fetch-api-intro.md',
'02-serviceworkers/13-fetch-api-exercice.md'
'02-serviceworkers/13-fetch-api-intro.md',
'02-serviceworkers/14-fetch-api-exercice.md'
];
}

Expand Down