You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGE_LOG.md
+35Lines changed: 35 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,41 @@
3
3
<h1align="center">ReacType Change Log</h1>
4
4
</p>
5
5
6
+
**Version 14.0.0 Changes**
7
+
8
+
Changes:<br>
9
+
- Added functionality & improvements:
10
+
- Event listeners:
11
+
- Added ability to assign event listeners to elements in the bottom customization tab
12
+
- Can name the function on the event or use the default name provided
13
+
- Updates reflected in the code preview render
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
16
+
- Code preview render: The formatting for generated code has been corrected for improved readability
17
+
- Major UI changes:
18
+
- Left panel:
19
+
- Only display when mouse hovered over
20
+
- When extended, floats in front of the canvas without affecting the main window formatting
21
+
- Bottom panel
22
+
- Retractable feature added
23
+
- Has internal scroll ability in the tabs
24
+
- Resized functionality is stable
25
+
- Added indicator tabs to each signifying to the user their presence
26
+
- Canvas container (upper left):
27
+
- Changed the formatting to a center column with readable size and label orientation
28
+
- Standardized the size of components and rate of growth when nesting
29
+
- 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
31
+
- Bug fixes:
32
+
- Reusable component: The drag-and-drop feature for reusable components is now functioning smoothly and without bugs
33
+
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.
**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!**
37
36
38
37
Visit [reactype.io](https://reactype.io/) to learn more about the product.
@@ -41,7 +40,7 @@ Follow [@ReacType](https://twitter.com/reactype) on Twitter for important announ
41
40
42
41
### Documentation
43
42
44
-
If you want to read about using ReacType, the [User Manual](https://reactype-1.herokuapp.com/#/tutorial) is free and available online now.
43
+
If you want to read about using ReacType, the [User Manual](https://reactype-1.herokuapp.com/#/tutorial) is free and available online now.
45
44
46
45
### Installing
47
46
@@ -54,24 +53,37 @@ If you are given a warning that Apple could not scan the app. Please follow thes
54
53
Download the latest [release](https://github.com/open-source-labs/ReacType/releases)
55
54
56
55
57
-
## New with version 13.0.0
56
+
## Changes with version 14.0.0
57
+
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!
58
63
59
-
-**Manage state locally**: Users can now manage state dynamically within nested components using React Hooks within the state manager tab.
60
-
-**Add/delete props**: For a selected component, users can see a list of available props from the parent, add props, and delete props in case they are not required later on.
61
-
-**State/props flow**: If state or props are deleted upstream, it will automatically update the state for its children components.
62
-
-**Visualize state/props flow**: Within the display sub-tab of the state manager tab, users can visualize an interactive tree diagram depicting the state initialized in the current component and passed down props from the parent component.
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!
Please refer to the link: https://excalidraw.com/#json=JKwzVD5qx6lsfiHW1_pQ9,XJ6uDoehVu-1bsx0SMlC6w for more details.
64
71
65
72
66
73
## Run ReacType using CLI
67
74
68
75
-**Fork** and **Clone** Repository.
69
76
- Open project directory
70
-
- Install dependencies
77
+
- Install dependencies.
71
78
72
79
```bash
73
80
npm install
74
81
```
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.
0 commit comments