Skip to content

Commit 8298999

Browse files
committed
tweak 9
1 parent ece80a5 commit 8298999

File tree

11 files changed

+371
-40
lines changed

11 files changed

+371
-40
lines changed

src/components/InfoBanner.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,8 @@ const InfoBanner = ({ visible, onHide }) => {
4646
<div style={style}>
4747
<div style={textStyle}>
4848
<p style={{ marginBottom: 20}}>
49-
The testing libraries used in part 5 were changed 3rd March 2024. In frontend Vite replaced Jest. For End to end-tests Playwright is the new preferred library.
49+
A new exercise has been added at the on of Part 9 "Typing an Express app" at 28th August 2024. Because of that numbering the of Exercises 9.14- has changed.
5050
</p>
51-
<p>
52-
If you have started with Jest or Cypress, you may continue. The relevant material is still available, for Jest, the link is at the top of part 5c and for the Cypress, the link is at the menu at the left.
53-
</p>
5451
</div>
5552
<div style={buttonDiv}>
5653
<button style={buttonStyle} onClick={onHide}>

src/components/layout.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import Footer from './Footer/Footer';
1010
import PropTypes from 'prop-types';
1111
import SkipToContent from './SkipToContent/SkipToContent';
1212

13-
const BANNER_TO_KEY = 'part_5_changes';
13+
const BANNER_TO_KEY = 'part_9c_changes';
1414

1515
const Layout = props => {
1616
const { i18n } = useTranslation();
@@ -23,12 +23,13 @@ const Layout = props => {
2323
useEffect(() => {
2424
const key = localStorage.getItem(BANNER_TO_KEY)
2525
if (!key) {
26-
const relevant = window.location.href.includes('osa5') || window.location.href.includes('en/part5')
26+
const relevant = window.location.href.includes('en/part9')
2727
setVisible(relevant);
2828
}
2929
}, []);
3030

3131
const hideNote = () => {
32+
console.log('hideNote');
3233
localStorage.setItem(BANNER_TO_KEY, 'yes');
3334
setVisible(false);
3435
};
@@ -39,7 +40,7 @@ const Layout = props => {
3940

4041
<Header lang={siteLanguage} />
4142

42-
<InfoBanner onHide={() => hideNote()} visible={false} />
43+
<InfoBanner onHide={() => hideNote()} visible={visible} />
4344

4445
<main id="main-content">{children}</main>
4546

src/content/0/en/part0a.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,9 @@ By submitting at least 22/26 of the exercises for part 8 of the course, GraphQL,
132132
133133
#### Part 9 - Full Stack Web Development: TypeScript (1 cr, CSM14110)
134134
135-
By submitting at least 24/29 of the exercises for part 9 of the course, TypeScript, you can get one additional credit. It is recommended that you complete parts 0-7 before taking part 9.
135+
By submitting at least 24/30 of the exercises for part 9 of the course, TypeScript, you can get one additional credit. It is recommended that you complete parts 0-7 before taking part 9.
136136
137-
- Submit at least 24/29 exercises for part 9.
137+
- Submit at least 24/30 exercises for part 9.
138138
- [Enroll in part 9 through the Open University](https://www.avoin.helsinki.fi/palvelut/esittely.aspx?s=otm-929a947d-6810-410d-b828-cc40f368dcc7).
139139
- [Request credits for part 9](/en/part0/general_info/#how-to-get-your-credits).
140140
@@ -340,7 +340,7 @@ Despite changes *all the submitted exercises remain valid*, and the course can b
340340
341341
Recent major changes
342342
343-
- Part 9 (12th August, 2024): ESLint configurations updated
343+
- Part 9 (28th August, 2024): Zod library for validating request body type
344344
- Part 3 (20th June, 2024): ESLint configurations updated
345345
- Part 10 (21st March, 2024): Create React app replaced with Vite
346346
- Parts 3-5 (February-March 2024): Libraries used for testing changed

src/content/0/es/part0a.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,9 @@ Al enviar al menos 22 de 26 ejercicios para la parte 8 del curso de, GraphQL, pu
132132
133133
#### Part 9 - Desarrollo Web Full Stack: TypeScript (1 crédito, CSM14110)
134134
135-
Al enviar al menos 24 de 29 ejercicios de la parte 9 del curso, TypeScript, puedes obtener un crédito adicional. Se recomienda que completes las partes 0-7 antes de hacer la parte 9.
135+
Al enviar al menos 24 de 30 ejercicios de la parte 9 del curso, TypeScript, puedes obtener un crédito adicional. Se recomienda que completes las partes 0-7 antes de hacer la parte 9.
136136
137-
- Envía al menos 24 de 29 ejercicios para la parte 9.
137+
- Envía al menos 24 de 30 ejercicios para la parte 9.
138138
- [Inscríbete en la parte 9 a través de la Open University](https://www.avoin.helsinki.fi/palvelut/esittely.aspx?s=otm-929a947d-6810-410d-b828-cc40f368dcc7).
139139
- [Solicita los créditos para la parte 9](/es/part0/informacion_general#como-obtener-tus-creditos).
140140

src/content/0/fi/osa0a.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,9 @@ Suorittamalla vähintään 22/26 tehtävää kurssin kahdeksannesta, GraphQL:ä
8787

8888
#### Osa 9 - Full Stack ‑websovelluskehitys: TypeScript (1 op, CSM14110, englanniksi)
8989

90-
Suorittamalla vähintään 24/29 tehtävää kurssin yhdeksännestä, TypeScriptiä käsittelevästä osasta, voit laajentaa suoritustasi yhdellä opintopisteellä. Osa kannattaa suorittaa vasta sen jälkeen, kun olet tehnyt osat 0–7.
90+
Suorittamalla vähintään 24/30 tehtävää kurssin yhdeksännestä, TypeScriptiä käsittelevästä osasta, voit laajentaa suoritustasi yhdellä opintopisteellä. Osa kannattaa suorittaa vasta sen jälkeen, kun olet tehnyt osat 0–7.
9191

92-
- Tee vähintään 24/29 tehtävää osasta 9.
92+
- Tee vähintään 24/30 tehtävää osasta 9.
9393
- [Ilmoittaudu tähän osaan Avoimen yliopiston kautta.](https://www.avoin.helsinki.fi/palvelut/esittely.aspx?s=otm-929a947d-6810-410d-b828-cc40f368dcc7)
9494
- [Pyydä suoritusmerkintää](https://fullstackopen.com/osa0/yleista#suoritusmerkinnan-pyytaminen) tästä osasta.
9595

@@ -282,7 +282,7 @@ Kurssilla ei ole enää vuosittaisia versiota. Kurssi on siis käynnissä koko a
282282
Muutoksista huolimatta <i>kaikki jo tehdyt palautukset säilyvät voimassa</i>, eli voit jatkaa kurssia päivityksistä huolimatta normaaliin tapaan.
283283

284284
Viimeaikaisia isompia muutoksia
285-
- Osa 9 (12.8.2024): ESLint-konfiguraatiot päivitetty
285+
- Osa 9 (28.8.2024): Zod-kirjasto datan validointiin
286286
- Osa 3 (20.6.2024): ESLint-konfiguraatiot päivitetty
287287
- Osa 12 (21.3.2024): Create React app korvattu Vitellä
288288
- Osat 3-5 (helmi-maaliskuu 2024): Testaukseen käytetyt kirjastot muutettu

src/content/9/en/part9.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ In this part, we will be using the tools previously introduced to build end-to-e
1212

1313
This part is created by [Tuomo Torppa](https://www.linkedin.com/in/tuomotorppa), [Tuukka Peuraniemi](https://www.linkedin.com/in/tuukkapeuraniemi/) and [Jani Rapo](https://www.linkedin.com/in/jani-rapo-5520817b/), the awesome developers of [Terveystalo](https://www.terveystalo.com/fi/Yritystietoa/Terveystalo-tyontantajana/Digital-Health/), the largest private healthcare service provider in Finland. Terveystalo’s nationwide network covers 300 locations across Finland. The clinic network is supplemented by 24/7 digital services.
1414

15-
<i>Part updated 12th August 2024</i>
16-
- <i>ESLint configurations updated</i>
15+
<i>Part updated 28th August 2024</i>
16+
- <i>Zod library for validating request body type</i>
1717

1818
</div>

0 commit comments

Comments
 (0)