Skip to content

Commit 5b4d0b0

Browse files
authored
Merge pull request #33 from oslabs-beta/dev
Updates to READMEs
2 parents 25b83e2 + ee5dc00 commit 5b4d0b0

File tree

12 files changed

+59
-48
lines changed

12 files changed

+59
-48
lines changed

README.fr.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
<br>
3737

3838
<p align="center">
39-
<img src="./assets/new-reactime.gif" />
39+
<img src="./assets/v20/Overview.gif" />
4040
</p>
4141

4242
<p align="center">
@@ -124,6 +124,13 @@ Après avoir cloné ce référentiel, les développeurs peuvent simplement exéc
124124
- télécharger les snapshots actuels en mémoire
125125
- titres déclaratifs dans la barre latérale des actions
126126

127+
<h1>Quoi de neuf !</h1>
128+
Reactime 20.0 inclut plusieurs améliorations clés sous le capot pour améliorer les performances et résoudre les bogues existants, ainsi qu'une UX remaniée pour atteindre la compatibilité WCAG.
129+
130+
Nous avons résolu plusieurs bogues persistants, y compris un problème majeur qui faisait planter les applications utilisant Reactime lors de l'utilisation de la fonctionnalité de connexion ou de soumission. Dans le cadre de nos efforts pour améliorer les performances globales de Reactime, nous avons continué à implémenter TypeScript dans toute la base de code et créé de nouveaux tests avec React Testing Library. Nous avons également rendu les tests plus robustes, améliorant les tests existants et corrigeant les environnements de test défectueux. Enfin, nous avons mis à jour Reactime en supprimant certains codes et packages obsolètes, réduisant ainsi les erreurs de compilation.
131+
132+
Nous avons mis à jour l'UX, en recherchant la cohérence avec les directives pour l'accessibilité des contenus Web (WCAG). Plus précisément, nous avons amélioré la taille et la conception des éléments cibles dans Reactime et soigneusement choisi de nouveaux contrastes de couleurs.
133+
127134
## <b>En savoir plus</b>
128135

129136
- [Time-Travel State with Reactime](https://medium.com/better-programming/time-traveling-state-with-reactime-6-0-53fdc3ae2a20)
@@ -202,6 +209,14 @@ Après avoir cloné ce référentiel, les développeurs peuvent simplement exéc
202209
- **Ngoc Zwolinski** - [@ngoczwolinski](https://github.com/ngoczwolinski)
203210
- **Peter Lam** - [@dev-plam](https://github.com/dev-plam)
204211
- **Zachary Freeman** - [@zacharydfreeman](https://github.com/zacharydfreeman/)
212+
- **Jackie Yuan** - [@yuanjackie1](https://github.com/yuanjackie1)
213+
- **Jasmine Noor** - [@jasnoo](https://github.com/jasnoo)
214+
- **Minzo Kim** - [@minzo-kim](https://github.com/minzo-kim)
215+
- **Mark Teets** - [@MarkTeets](https://github.com/MarkTeets)
216+
- **Nick Huemmer** - [@NickHuemmer](https://github.com/ElDuke717)
217+
- **James McCollough** - [@j-mccoll](https://github.com/j-mccoll)
218+
- **Mike Bednarz** - [@mikebednarz](https://github.com/mikebednarz)
219+
- **Sergei Liubchenko** - [@sergeylvq](https://github.com/sergeylvq)
205220

206221
## <b>License </b>
207222

README.md

Lines changed: 13 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<br>
2929

3030
<p align="center">
31-
<img src="./assets/v19/Overview.gif" />
31+
<img src="./assets/v20/Overview.gif" />
3232
</p>
3333

3434
<p align="center">
@@ -47,7 +47,7 @@ be viewed in Diff mode.
4747
<br>
4848

4949
<p align="center">
50-
<img src="./assets/v19/map.gif" />
50+
<img src="./assets/v20/map.gif" />
5151
</p>
5252
<br>
5353

@@ -60,10 +60,6 @@ name.
6060
<br>
6161
<br>
6262

63-
<!-- <p align="center">
64-
<img src="./assets/action-comparison.gif" />
65-
</p> -->
66-
6763
### 🔹 Components Comparison
6864

6965
When toggled to a specific snapshot, a visualization of the individual
@@ -73,11 +69,6 @@ each component upon hovering.
7369
<br>
7470
<br>
7571

76-
<p align="center">
77-
<img src="./assets/v19/performance.gif" />
78-
</p>
79-
<br>
80-
8172
### 🔹 Recording
8273

8374
Whenever state is changed (whenever setState, useState is called), this
@@ -87,7 +78,7 @@ snapshot will be displayed in Chrome DevTools under the Reactime panel.
8778
<br>
8879

8980
<p align="center">
90-
<img src="./assets/v19/history.gif" />
81+
<img src="./assets/v20/history.gif" />
9182
</p>
9283
<br>
9384

@@ -147,15 +138,15 @@ of the structure and interfaces of the codebase.
147138

148139
<h1>What's New!</h1>
149140

150-
<b>Reactime 19.0</b> comes with UI updates to enhance the developer's experience, as well as a much-needed revamping of the codebase to reflect current industry standards and better maintainability for future contributors.
141+
Reactime 20.0 includes several key improvements under the hood to improve performance and resolve existing bugs, as well as a revamped UX to achieve WCAG compatibility.
151142

152-
<i>UI Updates</i>
143+
<i>Under the Hood</i>
153144

154-
To handle displaying large amounts of data, we have changed how nested structures like objects and arrays are displayed to now be collapsible and scrollable. In addition, we've updated component information to include the necessary component "key" information, and data now also persists on hover, eliminating the need to leave the cursor in one place.
145+
We have resolved several persistent bugs, including a major issue that caused apps using Reactime to crash when using login or submit functionality. As part of our effort to improve Reactime performance overall, we have continued to implement TypeScript throughout the codebase and created new tests with React Testing Library. We have also made testing more robust, improving existing tests and fixing broken test environments. Lastly, we have upgraded Reactime by removing some deprecated code and packages, reducing compilation errors.
155146

156-
<i>Under the Hood</i>
147+
<i>Accessibility</i>
157148

158-
We are happy to say that we've migrated from Enzyme to React Testing Library to eliminate the need for the Enzyme adapter, converted from JavaScript to TypeScript to ensure type safety, and updated the traversal of the React Fiber Tree to accurately extract useState data for previously unsupported edge cases.
149+
We have updated the UX, seeking consistency with the Web Content Accessibility Guidelines (WCAG). Specifically, we have improved the size and design of target elements throughout Reactime and carefully chosen new color contrasts to ensure WCAG compatibility.
159150

160151
If you would like to read more about previous releases, click <a href="https://github.com/open-source-labs/reactime/releases">here!</a>
161152

@@ -231,7 +222,7 @@ Node v16.16.0, please use script 'npm run devlegacy' | 'npm run buildlegacy'
231222

232223
## <b>Read More</b>
233224

234-
- [It's time for Reactime 19.0!](linkhere)
225+
- [It's time for Reactime 20.0!](linkhere)
235226

236227
## <b>Authors</b>
237228

@@ -318,6 +309,10 @@ Node v16.16.0, please use script 'npm run devlegacy' | 'npm run buildlegacy'
318309
- **Jasmine Noor** - [@jasnoo](https://github.com/jasnoo)
319310
- **Minzo Kim** - [@minzo-kim](https://github.com/minzo-kim)
320311
- **Mark Teets** - [@MarkTeets](https://github.com/MarkTeets)
312+
- **Nick Huemmer** - [@NickHuemmer](https://github.com/ElDuke717)
313+
- **James McCollough** - [@j-mccoll](https://github.com/j-mccoll)
314+
- **Mike Bednarz** - [@mikebednarz](https://github.com/mikebednarz)
315+
- **Sergei Liubchenko** - [@sergeylvq](https://github.com/sergeylvq)
321316

322317
## <b>License </b>
323318

README.rus.md

Lines changed: 17 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,20 @@
1919
<br>
2020

2121
<p align="center">
22-
<img src="./assets/new-reactime.gif" />
22+
<img src="./assets/v20/Overview.gif" />
2323
</p>
2424

25-
<b>Reactime 18.0</b> вводит ряд новых и улучшенных функций, направленных на оптимизацию производительности и улучшение совместимости.
26-
С поддержкой Next.js и Remix, увеличенной покрытия тестов (93% на бэкенде, необходимо больше на фронтенде) и структурных улучшений в кодовой базе.
27-
Кроме того, мы гордимся анонсом запуска нашего вновь переработанного веб-сайта, который служит центром для последних обновлений и информации о Reactime.
28-
Для помощи в отладке мы включили демонстрационные приложения для Next.js и Remix, что позволяет будущим итераторам тестировать и устранять ошибки с большей легкостью и эффективностью.
25+
<b>Reactime 20.0</b>
26+
27+
Reactime 20.0 включает в себя несколько ключевых улучшений для повышения производительности и устранения существующих ошибок, а также переработанный пользовательский интерфейс для обеспечения совместимости с WCAG.
28+
29+
Мы исправили несколько постоянных ошибок, в том числе серьезную проблему, которая приводила к сбою приложения, использующих Reactime, при использовании функций входа или отправки. Мы продолжили внедрять TypeScript в кодовую базу и создали новые тесты с библиотекой тестирования React. Мы также сделали тестирование более надежным, улучшив существующие тесты и исправив неработающие тесты. Наконец, мы обновили Reactime, удалив некоторый устаревший код и пакеты, уменьшив количество ошибок компиляции.
30+
31+
Мы обновили взаимодействие с пользователем, в соответствие с требованиями Руководства по доступности веб-контента (WCAG). В частности, мы улучшили размер и дизайн целевых элементов в Reactime и тщательно выбрали новые цветовые контрасты.
2932

3033
<b>Reactime</b> - расширение для дебаггинга/отладки React приложений. Оно создает снэпшоты при каждом изменении состояния (state) и позволяет пользованию прыгать на любое предыдущее состояние (state). 
3134
В настоящее время Reactime поддерживает React приложения с классовыми, функциональными компонентами, хуками и Context API.
3235

33-
В Reactime версии 7.0 отлажены баги предыдущих версий, улучшена визуализация данных отношений между компонентами. Также новая версия включает в себя расширенную документацию для разработчиков, которые хотят работать над приложением.
34-
3536
После загрузки Reactime вы можете протестировать его полную функциональность на любом вашем React приложении в режиме разработки (dev mode). В продакшен режиме вы можете только работать с картой компонентов.
3637

3738
## <b>Установка</b>
@@ -90,19 +91,6 @@ Reactime beta поддерживает приложения, написанны
9091

9192
После клонирования репозитория, вы можете использовать команду `npm run docs` в корневой папке, которая генерирует файл в браузере `/docs/index.html`. Это упростит знакомство с приложением и поможет вам ознакомиться со структурой и интерфейсом существующего кода.
9293

93-
### <b>Дополнительный функционал</b>
94-
95-
- identifying unnecessary re-renders
96-
- hover functionality to view tooltip details on state visualizations
97-
- ability to pan and zoom on state visualizations
98-
- a dropdown to support development of projects on multiple tabs
99-
- a slider to move through snapshots quickly
100-
- a play button to move through snapshots automatically
101-
- a lock button, which stops recording each snapshot
102-
- a persist button to keep snapshots upon refresh (handy when changing code and debugging)
103-
- download/upload the current snapshots in memory
104-
- declarative titles in the actions sidebar
105-
10694
## <b>Узнать больше о Reactime и React Fiber</b>
10795

10896
- [Time-Travel State with Reactime](https://medium.com/better-programming/time-traveling-state-with-reactime-6-0-53fdc3ae2a20)
@@ -111,6 +99,7 @@ Reactime beta поддерживает приложения, написанны
11199
- [Deep in Weeds with Reactime, Concurrent React_fiberRoot, and Browser History Caching](https://itnext.io/deep-in-the-weeds-with-reactime-concurrent-react-fiberroot-and-browser-history-caching-7ce9d7300abb)
112100

113101
## <b>Авторы</b>
102+
114103
- **Ben Margolius** - [@benmarg](https://github.com/benmarg)
115104
- **Eric Yun** - [@ericsngyun](https://github.com/ericsngyun)
116105
- **James Nghiem** - [@jemzir](https://github.com/jemzir)
@@ -180,6 +169,14 @@ Reactime beta поддерживает приложения, написанны
180169
- **Ngoc Zwolinski** - [@ngoczwolinski](https://github.com/ngoczwolinski)
181170
- **Peter Lam** - [@dev-plam](https://github.com/dev-plam)
182171
- **Zachary Freeman** - [@zacharydfreeman](https://github.com/zacharydfreeman/)
172+
- **Jackie Yuan** - [@yuanjackie1](https://github.com/yuanjackie1)
173+
- **Jasmine Noor** - [@jasnoo](https://github.com/jasnoo)
174+
- **Minzo Kim** - [@minzo-kim](https://github.com/minzo-kim)
175+
- **Mark Teets** - [@MarkTeets](https://github.com/MarkTeets)
176+
- **Nick Huemmer** - [@NickHuemmer](https://github.com/ElDuke717)
177+
- **James McCollough** - [@j-mccoll](https://github.com/j-mccoll)
178+
- **Mike Bednarz** - [@mikebednarz](https://github.com/mikebednarz)
179+
- **Sergei Liubchenko** - [@sergeylvq](https://github.com/sergeylvq)
183180

184181
## <b>License </b>
185182

assets/v19/Overview.gif

-2.45 MB
Binary file not shown.

assets/v19/history.gif

-719 KB
Binary file not shown.

assets/v19/map.gif

-1010 KB
Binary file not shown.

assets/v19/performance.gif

-1.29 MB
Binary file not shown.

assets/v19/tree-and-diff.gif

-830 KB
Binary file not shown.

assets/v20/Overview.gif

357 KB
Loading

assets/v20/history.gif

304 KB
Loading

assets/v20/map.gif

616 KB
Loading

src/README.md

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,6 @@ _Before_ beginning development, especially on teams, make sure to configure your
5353

5454
Here are some notes on the current state of Reactime and considerations for future development.
5555

56-
## Testing
57-
58-
For Reactime unit tests, pre-v.19 there were tests built out in two places. Backend tests were in backend >\_\_tests\_\_. Frontend tests were in src > app >\_\_tests\_\_. In v19, we specifically focused on rebuilding front tests to use React Testing Library (RTL) + Jest. Previously, front end testing existed but utilized Enzyme + Jest . Our decision to move to RTL stemmed on the fact that Enzyme did not support React V17 (third party Enzyme adaptor libraries were created to provide support to previous React versions, but were still very much out of date) and that Enzyme is no longer industry standard. We began the process of creating new frontend tests but they are not complete and this is a great place for future iterators to build out more. Since the new suite of RTL tests are not fully complete, we have kept the older Enzyme tests within the codebase to be referenced (src > app > **tests**enzyme). However, these will not be included in the tests run in the testing scripts.
59-
6056
## Including Support for Hooks Beyond useState
6157

6258
Reactime currently shows data stored via useState, but does not show data stored via other hooks such as useContext or useReducer. While showing this data would be simple, maintaining the time travel functionality of Reactime with these hooks would not. _Please see file demo-app/src/client/Components/ButtonsWithMoreHooks.jsx for more details._
@@ -74,11 +70,11 @@ Any changes to console.logs in Reactime can be seen by refreshing the browser th
7470

7571
## Replace Functionality for Outdated Packages
7672

77-
Packages emotion/core and material-ui/core haven't been updated to use React 18. This is the reason npm install --force is necessary when installing the dependencies of Reactime. Replacing the functionality these packages perform and removing them from Reactime would ensure compatibility moving forward.
73+
Material-ui/core hasn't been updated to use React 18. This is the reason npm install --force is necessary when installing the dependencies of Reactime. Replacing the functionality this package performs and removing it from Reactime would ensure compatibility moving forward.
7874

79-
React Developer Tools has deprecated \_\_REACT_DEVTOOLS_GLOBAL_HOOK\_\_, which Reactime uses to extract a running application's fiber tree. At the time of the release of Reactime 19 (May 2023), this tool still works reliably to deliver said fiber tree. This will likely be the case until the React version (React version 18.2 at time of writing) undergoes updates that diverge beyond compatibility with \_\_REACT_DEVTOOLS_GLOBAL_HOOK\_\_. At this time, Reactime will need to change how it extracts an application's fiber tree.
75+
React Developer Tools has deprecated \_\_REACT_DEVTOOLS_GLOBAL_HOOK\_\_, which Reactime uses to extract a running application's fiber tree. At the time of the release of Reactime 20 (June 2023), this tool still works reliably to deliver said fiber tree. This will likely be the case until the React version (React version 18.2 at time of writing) undergoes updates that diverge beyond compatibility with \_\_REACT_DEVTOOLS_GLOBAL_HOOK\_\_. At this time, Reactime will need to change how it extracts an application's fiber tree.
8076

81-
Changing how Reactime extracts the fiber tree before said React version update may yeild diminishing result, as whatever method will also need to be updated to match React's breaking updates.
77+
Changing how Reactime extracts the fiber tree before said React version update may yield diminishing result, as whatever method will also need to be updated to match React's breaking updates.
8278

8379
## Redux
8480

@@ -94,7 +90,6 @@ In the _src_ folder, there are three directories we care about: _app_, _backend_
9490
src/
9591
├── app/ # Frontend code
9692
│   ├── __tests__/ # React Testing Library
97-
│   ├── __tests__enzyme/ # Legacy Enzyme tests
9893
│   ├── actions/ # Redux action creators
9994
│   ├── components/ # React components
10095
│   ├── constants/ #
@@ -127,7 +122,6 @@ src/
127122
│   ├── index.ts # Starting point for backend functionality
128123
│   ├── index.d.ts # Definitely Type file for Index
129124
│   ├── module.d.ts #
130-
│   ├── package.json #
131125
│   ├── puppeteerServer.ts #
132126
133127
├── extension/ # Chrome Extension code
@@ -237,8 +231,18 @@ Some relevant sections are reproduced below:
237231
2. The chrome extension "front-end" **(_NOT_ the interface of the browser, this is an important distinction.)**
238232
- In other words, a background script works as a sort of middleman, directly maintaining connection with its parent extension, and acting as a proxy enabling communication between it and the content script.
239233

234+
# Launching to Chrome Web Store
235+
236+
Once you are ready for launch, follow these steps to simplify deployment to the Chrome Web Store:
237+
238+
1. Run npm run build in Reactime to build the production version of Reactime
239+
2. Right click on the build folder and click “compress” to make a compressed zip version of the build folder. The compressed zip is what you will upload to the Chrome Web Store
240+
3. Navigate to the Chrome Web Store Developer Dashboard (logged in with Reactime credentials). Go to Build > Package > Upload new package, and when prompted, upload the build.zip file
241+
4. Update the Store Listing and that’s it! Click “Submit for review” and wait for the Chrome store to process your request
242+
240243
# Past Medium Articles for Reference
241244

245+
- [Reactime 20: Reactime just keeps getting better!](https://medium.com/@njhuemmer/reactime-just-keeps-getting-better-b37659ff8b71)
242246
- [Reactime 19: What time is it? It’s still Reactime!](https://medium.com/@minzo.kim/what-time-is-it-its-still-reactime-d496adfa908c)
243247
- [Reactime 18.0. Better than ever](https://medium.com/@zdf2424/reactime-18-0-better-than-ever-148b81606257)
244248
- [Reactime v17.0.0: Now with support for the Context API, and a modern UI](https://medium.com/@reactime/reactime-v17-0-0-now-with-support-for-the-context-api-and-a-modern-ui-f0edf9e54dae)

0 commit comments

Comments
 (0)