File tree Expand file tree Collapse file tree 6 files changed +54
-29
lines changed Expand file tree Collapse file tree 6 files changed +54
-29
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ Issues and Pull Requests categorized under the PATCH or MINOR Release Milestones
38
38
39
39
We will aim to deploy on a 1-2 month basis. Here are some dates we’re working towards:
40
40
41
- 2.11.0 MINOR Release: By December 22 , 2023
41
+ 2.11.0 MINOR Release: By January 10 , 2023
42
42
43
43
[ You can read more about Semantic Versioning and the differences between a MINOR and PATCH release] ( https://semver.org/ ) .
44
44
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ class CollectionList extends React.Component {
39
39
props . getProject ( props . projectId ) ;
40
40
}
41
41
42
- this . props . getCollections ( this . props . username ) ;
42
+ this . props . getCollections ( this . props . user . username ) ;
43
43
44
44
this . state = {
45
45
hasLoadedData : false
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ const Frame = styled.iframe`
11
11
border-width: 0;
12
12
` ;
13
13
14
- function PreviewFrame ( { fullView } ) {
14
+ function PreviewFrame ( { fullView, isOverlayVisible } ) {
15
15
const iframe = useRef ( ) ;
16
16
const previewUrl = getConfig ( 'PREVIEW_URL' ) ;
17
17
useEffect ( ( ) => {
@@ -28,28 +28,36 @@ function PreviewFrame({ fullView }) {
28
28
hid; microphone; magnetometer; midi; payment; usb; serial; vr; xr-spatial-tracking` ;
29
29
30
30
return (
31
- < Frame
32
- title = "sketch preview"
33
- src = { frameUrl }
34
- sandbox = { sandboxAttributes }
35
- allow = { allow }
36
- scrolling = "auto"
37
- allowtransparency
38
- allowpaymentrequest
39
- allowFullScreen
40
- frameBorder = "0"
41
- ref = { iframe }
42
- fullView = { fullView }
43
- />
31
+ < >
32
+ < div
33
+ className = "preview-frame-overlay"
34
+ style = { { display : isOverlayVisible ? 'block' : 'none' } }
35
+ />
36
+ < Frame
37
+ title = "sketch preview"
38
+ src = { frameUrl }
39
+ sandbox = { sandboxAttributes }
40
+ allow = { allow }
41
+ scrolling = "auto"
42
+ allowtransparency
43
+ allowpaymentrequest
44
+ allowFullScreen
45
+ frameBorder = "0"
46
+ ref = { iframe }
47
+ fullView = { fullView }
48
+ />
49
+ </ >
44
50
) ;
45
51
}
46
52
47
53
PreviewFrame . propTypes = {
48
- fullView : PropTypes . bool
54
+ fullView : PropTypes . bool ,
55
+ isOverlayVisible : PropTypes . bool
49
56
} ;
50
57
51
58
PreviewFrame . defaultProps = {
52
- fullView : false
59
+ fullView : false ,
60
+ isOverlayVisible : false
53
61
} ;
54
62
55
63
export default PreviewFrame ;
Original file line number Diff line number Diff line change @@ -173,7 +173,9 @@ const IDEView = () => {
173
173
primary = "second"
174
174
size = { ide . consoleIsExpanded ? consoleSize : 29 }
175
175
minSize = { 29 }
176
- onChange = { ( size ) => setConsoleSize ( size ) }
176
+ onChange = { ( size ) => {
177
+ setConsoleSize ( size ) ;
178
+ } }
177
179
allowResize = { ide . consoleIsExpanded }
178
180
className = "editor-preview-subpanel"
179
181
>
@@ -191,16 +193,10 @@ const IDEView = () => {
191
193
</ h2 >
192
194
</ header >
193
195
< div className = "preview-frame__content" >
194
- < div
195
- className = "preview-frame-overlay"
196
- style = { { display : isOverlayVisible ? 'block' : 'none' } }
196
+ < PreviewFrame
197
+ cmController = { cmRef . current }
198
+ isOverlayVisible = { isOverlayVisible }
197
199
/>
198
- < div >
199
- { ( ( preferences . textOutput || preferences . gridOutput ) &&
200
- ide . isPlaying ) ||
201
- ide . isAccessibleOutputPlaying }
202
- </ div >
203
- < PreviewFrame cmController = { cmRef . current } />
204
200
</ div >
205
201
</ section >
206
202
</ SplitPane >
@@ -215,11 +211,18 @@ const IDEView = () => {
215
211
split = "horizontal"
216
212
primary = "second"
217
213
minSize = { 200 }
214
+ onChange = { ( ) => {
215
+ setIsOverlayVisible ( true ) ;
216
+ } }
217
+ onDragFinished = { ( ) => {
218
+ setIsOverlayVisible ( false ) ;
219
+ } }
218
220
>
219
221
< PreviewFrame
220
222
fullView
221
223
hide = { ! ide . isPlaying }
222
224
cmController = { cmRef . current }
225
+ isOverlayVisible = { isOverlayVisible }
223
226
/>
224
227
< Console />
225
228
</ SplitPane >
Original file line number Diff line number Diff line change 144
144
.checkbox__autorefresh {
145
145
cursor : pointer ;
146
146
@include themify (){
147
- color :getThemifyVariable (' logo-color' );
147
+ accent- color :getThemifyVariable (' logo-color' );
148
148
}
149
149
}
Original file line number Diff line number Diff line change @@ -29,6 +29,18 @@ You must provide the version number when accessing the API.
29
29
30
30
The API accepts and returns the following model objects, as JSON.
31
31
32
+ ## Enabling Access Token UI in Settings Page
33
+
34
+ To enable the Access Token UI in the Settings page, follow these steps:
35
+
36
+ 1 . Navigate to the ` .env ` file in your project.
37
+ 2 . Locate the line specifying UI_ACCESS_TOKEN_ENABLED.
38
+ 3 . Set the value to ` true ` , as shown below:
39
+
40
+ ``` bash
41
+ UI_ACCESS_TOKEN_ENABLED=true
42
+ ```
43
+
32
44
## Sketch
33
45
34
46
| Name | Type | Description |
@@ -217,3 +229,5 @@ No body
217
229
| ---------------| -------------------------|
218
230
| 200 OK | Sketch has been deleted |
219
231
| 404 Not Found | Sketch does not exist |
232
+
233
+
You can’t perform that action at this time.
0 commit comments