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

Directory sharing menu item #952

Merged
merged 14 commits into from
Jul 6, 2022
Merged

Directory sharing menu item #952

merged 14 commits into from
Jul 6, 2022

Conversation

ibeckermayer
Copy link
Contributor

@ibeckermayer ibeckermayer commented Jul 5, 2022

Adds a new "Share Directory" item to the dropdown menu of a Desktop Session's top bar (when RBAC enabled)

image

Also refactors the top bar to push the (new) "directory sharing in progress", clipboard sharing enabled, and recording enabled icons to the right, next to the menu button ("...")

image

This is just the UI scaffolding, it's not meant to do anything yet except cause the UI to properly change according to internal state changes.

I also clean up the tdp client a bit in preparation for passing it a directory handle.

Requires backport to v9/v10

@ibeckermayer ibeckermayer changed the base branch from isaiah/add-dir-sharing-to-acl to master July 5, 2022 20:29
packages/design/src/Icon/Icon.jsx Show resolved Hide resolved
packages/teleport/src/lib/tdp/client.ts Outdated Show resolved Hide resolved
packages/teleport/src/lib/tdp/client.ts Outdated Show resolved Hide resolved
Comment on lines +107 to +108
font-weight: ${({ theme }) => theme.fontWeights.bold};
font-size: ${({ theme }) => theme.fontSizes[6] + 'px'};
Copy link
Contributor

Choose a reason for hiding this comment

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

i like this, we should be doing this more to keep in line with our theme @rudream

@ibeckermayer ibeckermayer requested review from kimlisa and hatched and removed request for gzdunek July 6, 2022 15:15
packages/teleport/src/lib/tdp/client.ts Outdated Show resolved Hide resolved
@ibeckermayer ibeckermayer enabled auto-merge (squash) July 6, 2022 17:01
@ibeckermayer ibeckermayer merged commit b532e09 into master Jul 6, 2022
ibeckermayer added a commit that referenced this pull request Jul 19, 2022
ibeckermayer added a commit that referenced this pull request Jul 19, 2022
ibeckermayer added a commit that referenced this pull request Jul 20, 2022
* Adds directory sharing flag to the ACL, protected by a config variable (#951)

* Directory sharing menu item (#952)

* `SharedDirectoryAnnounce` (#960)

* `SharedDirectoryAcknowledge` (#965)

* `SharedDirectoryInfoRequest` (#966)
ibeckermayer added a commit that referenced this pull request Jul 20, 2022
* Adds directory sharing flag to the ACL, protected by a config variable (#951)

* Directory sharing menu item (#952)

* `SharedDirectoryAnnounce` (#960)

* `SharedDirectoryAcknowledge` (#965)

* `SharedDirectoryInfoRequest` (#966)
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.

None yet

4 participants