SharedDirectoryInfoRequest#966
Conversation
… previously janky validity checks
|
The code in this PR doesn't throw the "invalid message type: 13" error like #965 (#965 (comment)). However, after selecting the directory and clicking "View files" I don't see the directory being shared on the desktop. In the console I see Is this something that still needs to be implemented on the backend side? |
|
|
||
| handleSharedDirectoryInfoRequest(buffer: ArrayBuffer) { | ||
| const req = this.codec.decodeSharedDirectoryInfoRequest(buffer); | ||
| this.logger.debug( |
There was a problem hiding this comment.
is debug a temporary logger (like we remove it once TODO is implemented)? if not, what is diff between info and debug?
There was a problem hiding this comment.
@kimlisa debug here is equivalent to console.debug(), whether its displayed in the console depends on the console settings. I will add a TODO to remove it.
@ravicious correct that we won't see anything happen on the Windows Machine yet. In the console, we should see: The backend is implemented, what's not implemented is I will start adding a section explaining what to expect for each of these, since everything will be more or less "broken" until it suddenly isn't. |

Adds
SharedDirectoryInfoRequesthandling and does some tidying up in the codec test.base branch should be changed to master once #965 is merged
requires backport to v9/v10
SharedDirectoryInfoResponseis going to be a bigger project. I'm going to take a detour to the backend for a moment to clean up the path names being sent to us (both inSharedDirectoryInfoRequests and future shared directory messages).How to test manually
teleportBuild and run the
windows-desktop-directory-sharingbranch, editing this line in the Makefile to have thedirectory_sharingbuild flag:webappsChange the value below to
trueand run the dev serverwebapps/packages/teleport/src/config.ts
Line 32 in becfad3