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
# please do not use master or main for your dev branch
98
+
git checkout dev-branch-name
99
+
```
100
+
101
+
#### Step 3: Install dependencies
102
+
103
+
```bash
92
104
npm install
93
105
```
94
106
95
-
#### Step 2: Setup test environment
107
+
#### Step 4: Setup test environment
96
108
97
109
```bash
98
110
npm run pretest
99
111
```
100
112
101
-
#### Step 3: Start the test dashboard
113
+
#### Step 5: Start the test dashboard
102
114
103
115
```bash
104
116
npm start
@@ -110,7 +122,7 @@ This command bundles up the source files with source maps using
110
122
dev plotly.js bundle update every time a source file is saved) and opens up a
111
123
tab in your browser.
112
124
113
-
#### Step 4: Open up the console and start developing
125
+
#### Step 6: Open up the console and start developing
114
126
115
127
A typical workflow is to make some modifications to the source, update the
116
128
test dashboard, inspect and debug the changes, then repeat. The test dashboard
@@ -138,13 +150,13 @@ Three additional helpers exist that are refreshed every second:
138
150
There is also a search bar in the top right of the dashboard. This fuzzy-searches
139
151
image mocks based on their file name and trace type.
140
152
141
-
#### Step 5: Regenerate plot-schema in "test" folder then review & commit potential changes
153
+
#### Step 7: Regenerate plot-schema in "test" folder then review & commit potential changes
142
154
143
155
```bash
144
156
npm run schema
145
157
```
146
158
147
-
#### Step 6: Review & commit potential changes made to test/plot-schema.json
159
+
#### Step 8: Review & commit potential changes made to test/plot-schema.json
148
160
149
161
> If you are editing attribute descriptions or implementing a new feature this file located in the test folder records the proposed changes to the API. Note that there is another plot-schema.json file located in the dist folder, which should only be updated by the maintainers at release time.
- Adjust CONTRIBUTING document on how to clone plotly.js and submit pull requests from your fork [[#5791](https://github.com/plotly/plotly.js/pull/5791)]
0 commit comments