Support an edit-only mode, which brings up the editor without running the app. Helpful if the app hangs the client. Also on mobile, where both don't fit side-by-side.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4405 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
		| @@ -127,7 +127,11 @@ function socket(request, response, client) { | ||||
| 				options.url = message.url; | ||||
| 				let sessionId = makeSessionId(); | ||||
| 				if (blobId) { | ||||
| 					process = await core.getSessionProcessBlob(blobId, sessionId, options); | ||||
| 					if (message.edit_only) { | ||||
| 						response.send(JSON.stringify({action: 'ready', edit_only: true}), 0x1); | ||||
| 					} else { | ||||
| 						process = await core.getSessionProcessBlob(blobId, sessionId, options); | ||||
| 					} | ||||
| 				} | ||||
| 				if (process) { | ||||
| 					process.app.readOutput(function(message) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user