Skip to content
This repository was archived by the owner on Feb 8, 2024. It is now read-only.

SharedDirectoryMoveRequest#1045

Merged
ibeckermayer merged 59 commits intomasterfrom
isaiah/sd-move-request
Jul 28, 2022
Merged

SharedDirectoryMoveRequest#1045
ibeckermayer merged 59 commits intomasterfrom
isaiah/sd-move-request

Conversation

@ibeckermayer
Copy link
Copy Markdown

Requires backport to v9/v10

How to test manually

webapps

  1. Change the value below to true
    enableDirectorySharing: false, // note to reviewers: should be false in any PRs.
  2. run the development server like yarn start-teleport --target=https://ec2-35-171-27-185.compute-1.amazonaws.com/
  3. See https://gravitational.slack.com/archives/C02DQ1C2BMW/p1657807702085829 for a username/password combo

What to expect

Go to the top right ... menu and click Share Directory

image

(X-out of the "uncaught exception" screen if you get it). The directory you select should show up in the File Explorer as a shared drive

Screen Shot 2022-07-19 at 14 13 45

The drive should be navigable as well should any folders within it

image

Try moving the file from one folder in the shared directory to another, and you should see something like

image

in the console

Isaiah Becker-Mayer added 30 commits July 6, 2022 15:53
Copy link
Copy Markdown
Contributor

@kimlisa kimlisa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hm, i don't see what you see on console, but this is work in progress so I didn't worry too much about it.

i tried moving a file into another folder inside the shared directory but it just pauses on this (i double checked i was on the right branch this time)

Screen Shot 2022-07-28 at 12 08 51 AM

Comment thread packages/teleport/src/lib/tdp/codec.ts Outdated
decodeSharedDirectoryMoveRequest(
buffer: ArrayBuffer
): SharedDirectoryMoveRequest {
let dv = new DataView(buffer);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think most of these should be const, same as above (or rather this whole file).

@ibeckermayer
Copy link
Copy Markdown
Author

hm, i don't see what you see on console, but this is work in progress so I didn't worry too much about it.

@kimlisa I think you're just not viewing the debug logs in the console. You need to click on "Verbose" to see the logger.debug() logs:

image

The on screen behavior is correct 👍

@ibeckermayer ibeckermayer changed the base branch from isaiah/tidy-up-sdm to master July 28, 2022 18:37
@ibeckermayer ibeckermayer force-pushed the isaiah/sd-move-request branch from ba2ee1b to aa4f712 Compare July 28, 2022 18:39
@ibeckermayer ibeckermayer enabled auto-merge (squash) July 28, 2022 20:17
@ibeckermayer ibeckermayer merged commit 00f05d0 into master Jul 28, 2022
ibeckermayer pushed a commit that referenced this pull request Aug 23, 2022
ibeckermayer pushed a commit that referenced this pull request Aug 24, 2022
* `SharedDirectoryInfoResponse` (#996)

* `SharedDirectoryListRequest` (#999)

* `SharedDirectoryListResponse` (#1000)

* `SharedDirectoryReadRequest` (#1003)

* `SharedDirectoryReadResponse` (#1005)

* `SharedDirectoryWriteRequest` (#1007)

* `SharedDirectoryWriteResponse` (#1008)

* Tidy up `sharedDirectoryManager` (#1010)

* `SharedDirectoryMoveRequest` (#1045)

* `SharedDirectoryMoveResponse` (#1074)

* `SharedDirectoryCreateRequest` and `SharedDirectoryCreateResponse` (#1090)

* SharedDirectoryDeleteRequest and SharedDirectoryDeleteResponse (#1096)

* Add warning dialog for unsupported browsers for directory sharing (#1110)

* updates yarn.lock
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants