Skip to content

Commit 3dae060

Browse files
authored
Merge branch 'source' into patch-1
2 parents 19c1734 + 5ca9545 commit 3dae060

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+3205
-1245
lines changed

src/components/InfoBanner.js

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const InfoBanner = ({ visible, onHide }) => {
1616
flexWrap: 'wrap',
1717
flexDirection: 'row',
1818
alignContent: 'space-between',
19-
backgroundColor: '#E8E8E8',
19+
backgroundColor: 'var(--color-background)',
2020
zIndex: 2147483647,
2121
};
2222

@@ -38,12 +38,16 @@ const InfoBanner = ({ visible, onHide }) => {
3838
outline: 'none',
3939
backgroundColor: 'transparent',
4040
border: 'none',
41+
color: 'var(--color-text)',
42+
cursor: 'pointer',
4143
};
4244

4345
return (
4446
<div style={style}>
45-
<div stule={textStyle}>
46-
Numbering of the exercises in part 2 has changed!
47+
<div style={textStyle}>
48+
<p>Part 6 has new content about React Query, useReducer hook and React context.</p>
49+
<p>The new content replaces the chapter on Redux connect (that still remains online for a while).</p>
50+
<div style={{ marginTop: 10 }}><i>If you have already completed the part 6, this change has no effect on your progress.</i></div>
4751
</div>
4852
<div style={buttonDiv}>
4953
<button style={buttonStyle} onClick={onHide}>

src/components/PartBanner/PartBanner.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const partNameTranslations = {
1212
'Palvelimen ohjelmointi NodeJS:n Express-kirjastolla',
1313
'Express-sovellusten testaaminen, käyttäjänhallinta',
1414
'React-sovelluksen testaaminen',
15-
'Sovelluksen tilan hallinta Redux-kirjastolla',
15+
'Edistynyt tilan hallinta',
1616
'React router, custom-hookit, tyylikirjastot ja webpack',
1717
'GraphQL',
1818
'TypeScript',
@@ -28,7 +28,7 @@ const partNameTranslations = {
2828
'Programming a server with NodeJS and Express',
2929
'Testing Express servers, user administration',
3030
'Testing React apps',
31-
'State management with Redux',
31+
'Advanced state management',
3232
'React router, custom hooks, styling app with CSS and webpack',
3333
'GraphQL',
3434
'TypeScript',

src/components/layout.js

Lines changed: 1 addition & 1 deletion
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 = 'exercise_numbering_part2_seen';
13+
const BANNER_TO_KEY = 'part_6_changes';
1414

1515
const Layout = props => {
1616
const { i18n } = useTranslation();

src/content/0/en/part0a.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Exercise completion time statistics can be found via the [submission system](htt
4343

4444
You can discuss the course and related topics in our dedicated group on Discord <a target='_blank' href='https://study.cs.helsinki.fi/discord/join/fullstack'>https://study.cs.helsinki.fi/discord/join/fullstack</a> and on Telegram: <a target='_blank' href='https://t.me/fullstackcourse'>https://t.me/fullstackcourse</a>. Discord has fullstack_general and part-specific (channel names with fullstack prefix) channels for course-related discussion. Note that Discord's <i>chat channel is not suitable for course-related discussions</i>. Please join the conversation!
4545

46-
### How to ask help in Discord/Telegam
46+
### How to get help in Discord/Telegram
4747

4848
When you ask for help for a problem in the Discord/Telegram group your question should be as informative and precise as possible. If your question look like this
4949

src/content/1/en/part1a.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ The first rule of frontend web development:
149149

150150
> <i>keep the console open all the time</i>
151151
152-
Let us repeat this together: <i>I promise to keep the console open all the time</i> during this course, and the for the rest of my life when I'm doing web development.
152+
Let us repeat this together: <i>I promise to keep the console open all the time</i> during this course, and for the rest of my life when I'm doing web development.
153153

154154
It is also possible to render dynamic content inside of a component.
155155

@@ -343,7 +343,7 @@ I really hope your console was open. If it was not, remember what you promised:
343343

344344
> <i>I promise to keep the console open all the time during this course, and for the rest of my life when I'm doing web development</i>
345345
346-
Software development is hard. It gets even harder if one is not using all the possible available tools such as the web-console and debug printing with _console.log_. Professionals use both <i>all the time</i> and there is no single reason why a beginner should not adopt the use of these wonderful helper methods that will make the life so much easier.
346+
Software development is hard. It gets even harder if one is not using all the possible available tools such as the web-console and debug printing with _console.log_. Professionals use both <i>all the time</i> and there is no single reason why a beginner should not adopt the use of these wonderful helper methods that will make life so much easier.
347347

348348
### Some notes
349349

@@ -353,7 +353,7 @@ React has been configured to generate quite clear error messages. Despite this,
353353

354354
![screenshot of undefined prop error](../../images/1/2a.png)
355355

356-
As we already mentioned, that when programming with React it is possible and worthwhile to write <em>console.log()</em> commands (which print to the console) within your code.
356+
As we already mentioned, when programming with React, it is possible and worthwhile to write <em>console.log()</em> commands (which print to the console) within your code.
357357

358358
Also, keep in mind that **React component names must be capitalized**. If you try defining a component as follows:
359359

src/content/1/en/part1d.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1031,7 +1031,7 @@ Programming is hard, that is why I will use all the possible means to make it ea
10311031
- I progress with small steps
10321032
- I will write lots of _console.log_ statements to make sure I understand how the code behaves and to help pinpointing problems
10331033
- If my code does not work, I will not write more code. Instead I start deleting the code until it works or just return to a state when everything was still working
1034-
- When I ask for help in the course Discord or Telegram channel or elsewhere I formulate my questions properly, see [here](http://localhost:8000/en/part0/general_info#how-to-ask-help-in-discord-telegam) how to ask help
1034+
- When I ask for help in the course Discord or Telegram channel or elsewhere I formulate my questions properly, see [here](http://fullstackopen.com/en/part0/general_info#how-to-ask-help-in-discord-telegam) how to ask for help
10351035

10361036
</div>
10371037

src/content/1/es/part1b.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ console.log(t.length) // Se imprime 4
6262
console.log(t [1]) // -1 es impreso
6363
6464
t.forEach(value => {
65-
console.log (valor) // se imprimen los números 1, -1, 3, 5, cada uno en la línea propia
65+
console.log (value) // se imprimen los números 1, -1, 3, 5, cada uno en la línea propia
6666
})
6767
```
6868

src/content/1/fi/osa1a.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,7 @@ const App = () => {
635635
}
636636
```
637637

638-
**VAROITUS** älä yritä tehdä ohjelmassasi kaikkia komponentteja yhtä, sillä se johtaa lähes varmasti siihen että ohjelma ei toimi. Etene pieni askel kerrallaan, tee aluksi esim. komponentti <i>Header</i> ja vasta kun se toimii 100% varmasti, kannattaa edetä seuraavaan komponenttiin.
638+
**VAROITUS** älä yritä tehdä ohjelmassasi kaikkia komponentteja yhtä aikaa, sillä se johtaa lähes varmasti siihen että ohjelma ei toimi. Etene pieni askel kerrallaan, tee aluksi esim. komponentti <i>Header</i> ja vasta kun se toimii 100% varmasti, kannattaa edetä seuraavaan komponenttiin.
639639

640640
Huolellinen, pienin askelin eteneminen saattaa tuntua hitaalta, mutta se on itseasiassa <i> ylivoimaisesti nopein</i> tapa edetä. Kuuluisa ohjelmistokehittäjä Robert "Uncle Bob" Martin on todennut
641641

src/content/1/fi/osa1b.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ lang: fi
99

1010
Kurssin aikana on web-sovelluskehityksen rinnalla tavoite ja tarve oppia riittävässä määrin JavaScriptia.
1111

12-
JavaScript on kehittynyt viime vuosina nopeaan tahtiin, ja käytämme kurssilla kielen uusimpien versioiden piirteitä. JavaScript-standardin virallinen nimi on [ECMAScript](https://en.wikipedia.org/wiki/ECMAScript). Tämän hetken tuorein versio on kesäkuussa 2023 julkaistu [ES13](https://www.ecma-international.org/ecma-262/), toiselta nimeltään ECMAScript 2023.
12+
JavaScript on kehittynyt viime vuosina nopeaan tahtiin, ja käytämme kurssilla kielen uusimpien versioiden piirteitä. JavaScript-standardin virallinen nimi on [ECMAScript](https://en.wikipedia.org/wiki/ECMAScript). Tämän hetken tuorein versio on kesäkuussa 2022 julkaistu [ES13](https://www.ecma-international.org/ecma-262/), toiselta nimeltään ECMAScript 2022.
1313

1414
Selaimet eivät vielä osaa kaikkia JavaScriptin uusimpien versioiden ominaisuuksia. Tämän takia selaimessa suoritetaan useimmiten koodia, joka on käännetty (englanniksi <i>transpiled</i>) uudemmasta JavaScriptin versiosta johonkin vanhempaan, laajemmin tuettuun versioon.
1515

src/content/1/fi/osa1d.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1044,7 +1044,7 @@ Ohjelmointi on hankalaa, ja sen takia lupaan hyödyntää kaikkia ohjelmointia h
10441044
- etenen pienin askelin
10451045
- käytän koodissa runsaasti _console.log_-komentoja varmistamaan sen, että varmasti ymmärrän jokaisen kirjoittamani koodirivin, sekä etsiessäni koodista mahdollisia bugin aiheuttajia
10461046
- jos koodini ei toimi, en kirjoita enää yhtään lisää koodia, vaan alan poistamaan toiminnan rikkoneita rivejä tai palaan suosiolla tilanteeseen, missä koodi vielä toimi
1047-
- kun kysyn apua kurssin Discord- tai Telegram-kanavalla, tai muualla internetissä, muotoilen kysymyksen järkevästi, esim. [täällä](http://localhost:8000/en/part0/general_info#how-to-ask-help-in-discord-telegam) esiteltyyn tapaan
1047+
- kun kysyn apua kurssin Discord- tai Telegram-kanavalla, tai muualla internetissä, muotoilen kysymyksen järkevästi, esim. [täällä](/en/part0/general_info#how-to-ask-help-in-discord-telegam) esiteltyyn tapaan
10481048

10491049

10501050
</div>

0 commit comments

Comments
 (0)