Skip to content

Commit 87012aa

Browse files
authored
Merge pull request #17 from oslabs-beta/readmeUpdate
Readme update
2 parents c62d5ac + 567487e commit 87012aa

File tree

2 files changed

+28
-18
lines changed

2 files changed

+28
-18
lines changed

CHANGE_LOG.md

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66
**Version 14.0.0 Changes**
77

88
Changes:<br>
9-
- Added functionalities & improvements:
10-
- Add event listeners:
9+
- Added functionality & improvements:
10+
- Event listeners:
1111
- Added ability to assign event listeners to elements in the bottom customization tab
1212
- Can name the function on the event or use the default name provided
1313
- Updates reflected in the code preview render
14-
- Live code preview: Bottom tool tabs code preview renderings update immediately and automatically to reflect the state
15-
- Converted the notation button into a delete button on the canvas elements and reusable components
14+
- Live code preview: Bottom tool tabs code preview box updates immediately and automatically to reflect the latest changes in state
15+
- Converted the annotation button into a delete button on the canvas elements and reusable components
1616
- Code preview render: The formatting for generated code has been corrected for improved readability
1717
- Major UI changes:
1818
- Left panel:
@@ -22,18 +22,21 @@ Changes:<br>
2222
- Retractable feature added
2323
- Has internal scroll ability in the tabs
2424
- Resized functionality is stable
25-
- Add indicator tabs to each to signify to the user they are there
26-
- Canvas container:
25+
- Added indicator tabs to each signifying to the user their presence
26+
- Canvas container (upper left):
2727
- Changed the formatting to a center column with readable size and label orientation
2828
- Standardized the size of components and rate of growth when nesting
2929
- Tutorial:
30-
- Users can now reference tutorials in split-screen mode without the canvas being auto-cleared when going back from the tutorial
30+
- Users can now reference tutorials in split-screen mode without the canvas being auto-cleared when going back and forth from the tutorial
3131
- Bug fixes:
3232
- Reusable component: The drag-and-drop feature for reusable components is now functioning smoothly and without bugs
3333

34-
What's next:<br>
35-
36-
A note for future contributors:<br>
34+
Recommendations for Future Enhancements:<br>
35+
- Add function content in the current event listeners' function skeleton.
36+
- The code output formatting in generateCode.ts is currently difficult to read, and could be improved for better readability.
37+
- Currently, the project uses two sets of state management tools: useReducer/useContext and Redux. useReducer/useContext is used for handling the customization state, and Redux for managing the code preview, context manager, and dark mode reducer state. However, there seems to be some confusion around how to integrate these two tools effectively. For instance, both tools are used for managing the code preview state, and changing the useReducer/useContext state would replace the corresponding redux state. Need to clean up the logic and find a solution to solve this issue.
38+
- Some of the files structure is not accurate (e.g., customizationPanel.tsx is in the containers folder instead of the bottom folder), need to rearrange the file hierarchy.
39+
- Update packages and resolve package dependency issues.
3740

3841
**Version 13.0.0 Changes**
3942

README.md

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,10 @@
2828

2929

3030
<p align="center">
31-
<img width="1000" src="https://i.imgur.com/Tuyjd4e.png">
31+
<img width="1000" src="https://i.imgur.com/jR53ySV.png">
3232
</p>
3333

3434

35-
3635
**ReacType** is a rapid prototyping tool built on Electron that allows users _visualize_ their application architecture dynamically, employing a _drag-and-drop canvas display_ and an interactive, _real-time component code preview_ that can be exported as a **React** app for developers employing React component architecture alongside the comprehensive type-checking of **TypeScript**. In other words, **you can draw prototypes and export React / TypeScript code!**
3736

3837
Visit [reactype.io](https://reactype.io/) to learn more about the product.
@@ -56,11 +55,19 @@ Download the latest [release](https://github.com/open-source-labs/ReacType/relea
5655

5756
## Changes with version 14.0.0
5857

59-
- **Add event listeners**: Users can now add event listeners to elements in the customization tab and view a list of added events. The list can be edited to remove events, and the live code preview will show the events being added and updated.
60-
- **Delete buttons added**: Delete buttons have been added to canvas components and elements for easier removal. Users can now delete elements or components directly by focusing on them and clicking the delete button.
61-
- **Live code preview and component tree update**: When users drag-and-drop components and elements, the live code preview and component tree are automatically updated to reflect the changes in real time.
62-
- **Major UI changes**: The user interface has undergone a major change, including a sliding effect for the left and bottom panels to maximize user visibility. The styling has been unified and the display of canvas hierarchy has been made more prominent for improved clarity.
63-
- **And more:** See [change log](https://github.com/open-source-labs/ReacType/blob/master/CHANGE_LOG.md) for more details on what was changed from the previous version as well as plans for upcoming features!
58+
- **Added event listeners**: Users can now add event listeners to elements in the customization tab and view a list of added events. The list can be edited to remove events, and the live code preview will show the events being added and updated.
59+
- **Delete buttons added**: Delete buttons have been added to canvas components and elements for easier removal. Users can now delete elements or components directly by focusing on them and mouse-clicking the delete button.
60+
- **Live code preview and component tree update**: When users drag-and-drop components and elements, the live code preview and component tree are automatically updated to reflect the changes in real-time.
61+
- **Major UI enhancement**: The user interface has undergone a major change, including a sliding effect for the left and bottom panels to maximize user visibility. The styling has been unified and the display of the canvas hierarchy has been made more prominent for improved clarity.
62+
- **And more:** See [change log](https://github.com/open-source-labs/ReacType/blob/master/CHANGE_LOG.md) for more details on what was changed from the previous versions as well as plans for upcoming features!
63+
64+
## (_New_) File Structure
65+
66+
Here is the main file structure:
67+
<p align="center">
68+
<img width="1000" src="https://i.imgur.com/RdK8QzW.jpg">
69+
</p>
70+
Please refer to the link: https://excalidraw.com/#json=JKwzVD5qx6lsfiHW1_pQ9,XJ6uDoehVu-1bsx0SMlC6w for more details.
6471

6572

6673
## Run ReacType using CLI
@@ -72,7 +79,7 @@ Download the latest [release](https://github.com/open-source-labs/ReacType/relea
7279
```bash
7380
npm install
7481
```
75-
- If there's any issue with the installation, try using `--legacy-peer-deps` flag instead.
82+
- If there is a dependency issue during installation, try switching to Node version v16.0.0 and then install. If the dependency issue still persists, try using the `--legacy-peer-deps` flag instead.
7683

7784
```bash
7885
npm install --legacy-peer-deps

0 commit comments

Comments
 (0)