prev Kozaneba Development Diary 2021-08-06
Less urgent but important
In create-react-app development mode, the error handler is registered before Sentry, so it is triggered first
✅Hide the developer menu by default on non-localhost
https://reactjs.org/docs/error-boundaries.html
Error boundaries do not catch errors for:
Event handlers (learn more)
Asynchronous code (e.g. setTimeout or requestAnimationFrame callbacks) That's no good!
Related: I was unknowingly clenching an exception.
Error report dialog can now be viewed on the development server.
I should write "OK" in Japanese so that Japanese people don't have to work so hard to write reports in English.
I thought about using Google Analytics to get an idea of how far the tutorial has been viewed, but I'm not sure if that would be timely enough to make a broad announcement.
memo
The only exposure for testing was in development mode.
We'll cover what we're doing in the tutorial in the test.
Recent Test Status
ts
cy.contains("Add Kozane").should("exist");
cy.contains("Close").click();
This is because there are a number of elements that contain Close. It's not shown on the screen, but it's in the other dialogs. It is better to point to a specific element with a testid. Because then the implicit assertion would be tested to see if it's on the screen.
ts
cy.contains("Enable Cloud Auto-Save").click();
cy.testid("save-status").contains("uploading");
cy.testid("save-status").contains("done");
Asynchronous processing, such as uploading and then completing, can be written without explicit wait.
I didn't test the font size adjustment and range selection out of the tutorial.
Tutorial content can now be inserted during the tutorial as about 50 stickies. It would be good to add a page about the group after this
I wrote about the group release and wondered if opening/closing and titling groups would be included here in the future.., So if it's not necessary for the story at this point, there's no need to include it here in the future, It is better to let the tutorial arrive at a point where it is minimal and complete, and then allow additional reading for knowledge that is not essential.
In that sense, now there is no explicit end of the tutorial, which is not good. I'm all done! Congratulations!" We need a page of
It's done.
Effective use of stationery requires practice.
You can use a pencil or a keyboard. This does not mean you were born with the ability to use them. Mastery of stationery strengthens the human intellect more than if it were to operate without it. But it takes practice.
Skills are not acquired by reading textbooks. Skills are not acquired by reading textbooks, but by actually doing things.
Tutorial content was kosaneed. You have just read the tutorial already structured by the author, but let's re-structure it by adding your own words
Read what others have written and create a kozane from it. Add your own thoughts after reading it. Then structure the whole thing.
Let's make 50-100 small bills about what you think is fun and what you think is interesting at any given time. Then structure them.
Next Kozaneba Development Diary 2021-08-11
This page is auto-translated from /nishio/Kozaneba開発日記2021-08-10 using DeepL. If you looks something interesting but the auto-translated English is not good enough to understand it, feel free to let me know at @nishio_en. I'm very happy to spread my thought to non-Japanese readers.