Commit Graph
1103 Commits
Author SHA1 Message Date
Rafał Cieślak 0669fc137a Update teleterm protobuf files (#967)
gravitational/teleport#14097 updated protoc version on the master branch.

That change wasn't backported so when backporting any tshd protobuf changes
to v10 or earlier we must regenerate the protobuf files in the backport
branch from now on.
2022-07-08 15:19:26 +02:00
Michael 49d73084ce autofill username if loggedInUser exists on cluster (#954)
* autofill username if loggedInUser exists on cluster

* changed to loggedInUserName

* removing unneeded export
2022-07-07 11:25:21 -05:00
Rafał Cieślak de170541af Add targetUser to DocumentGateway help text (#961)
* Add targetUser to DocumentGateway help text

* Add DocumentGateway story
2022-07-07 14:57:19 +00:00
Lisa Kim c2ee735ced Discover wizard screen POC + boilerplating (#942)
* Create disover route and flag to turn on/off during dev
* Create discover context and related components
* Rename and clarify join token related types
2022-07-06 20:27:07 +00:00
Isaiah Becker-Mayer aa25992de1 Directory sharing menu item (#952) 2022-07-06 17:07:45 +00:00
Lisa Kim 4e1a5da0c0 [3/3] Prettify teleterm package and add prettier to CI rule (#956)
* Update prettier ignore
* Add prettier yarn cmds and update 
  deprecated jsxBracketSameLine
2022-07-06 12:45:59 -04:00
Lisa Kim b86c9bcdfe [2/3] Prettify shared, build, and teleport packages (#955)
* Update prettier ignore
2022-07-06 14:57:40 +00:00
Lisa Kim 631aa2f6e2 [1/3] Prettify Design Package (#953)
* Update snapshots
* Add prettier ignore file
* Update e-ref
2022-07-06 14:35:42 +00:00
Isaiah Becker-Mayer 164eb04ef3 Adds directory sharing flag to the ACL, protected by a config variable (#951) 2022-07-05 16:29:31 -04:00
Rafał Cieślak ac3dffe3a5 Connect: Add note about resource lifecycle to readme (#950) 2022-07-05 10:38:44 +02:00
Michael d41205e267 wrap switchTab in a conditional (#941)
* wrap switchTab in a conditional

* unnested tabswitch happy path and added tests
2022-06-30 12:54:48 -05:00
Rafał Cieślak 986bff279a Change page size in Connect to 15 (#943)
* Change page size in Connect to 15

Just like in the Web UI, Connect is able to easily accommodate 15 resources
on the screen without vertical scroll in both 1920x1080 and 3024x1964,
as long as labels for the resources span just a single line.

1920x1080 remains the most popular screen size on desktop [1] and 1440x900
seems to be the most popular size on macOS [2].

On 1440x900 the pagination controls are not shown on the screen.

[1] https://gs.statcounter.com/screen-resolution-stats/desktop/north-america/#monthly-202105-202205
[2] https://web.archive.org/web/20220630103803/https://store.steampowered.com/hwsurvey/Steam-Hardware-Software-Survey-Welcome-to-Steam?platform=mac
2022-06-30 11:21:13 +00:00
Rafał Cieślak dc1029979f Make DocumentGateway responsive (#944) 2022-06-30 13:12:41 +02:00
Michael 6d9d908458 fowards path parameter to app access authentication (#913)
* fowards path parameter to app access authentication

* add some comments and clearer naming convention

* revert params change, single line comment
2022-06-29 15:34:23 -05:00
Grzegorz Zdunek 5e85b1db7a Change window title to Teleport Connect Preview (#939) 2022-06-29 18:26:45 +02:00
Rafał Cieślak e509587d68 Add section about --insecure to Connect's readme (#937)
* Adjust header levels in readme
2022-06-29 15:07:27 +00:00
Grzegorz Zdunek c1ca454593 Sort connections only when the list opens and show newest on the top (#925)
* Use different icons in connections tracker

* Sort connections only when the list opens

* Show new items (not sorted) at the beginning of the list
2022-06-28 17:02:30 +02:00
Grzegorz Zdunek c02f165672 Filter out logins starting with dash (#932) 2022-06-28 16:48:17 +02:00
Rafał Cieślak 0cffa686d4 Update "Connect with GUI" section, add universal context menu (#926)
* Add universal context menu

* Update text of "Connect with GUI" section
2022-06-28 11:24:35 +00:00
Grzegorz Zdunek b1b8e141fb Add default username for Redis (#919) 2022-06-28 11:05:48 +02:00
Lisa Kim f4d7254392 Fix menu bug (#929)
* Fix menu bug that adds features unto existing features
* Add missing top spacing for OSS Account view
* Update e-ref
2022-06-28 03:08:55 +00:00
Grzegorz Zdunek 362e36776c Limit db connections to one per db server & db username (#889) 2022-06-27 16:44:12 +02:00
Michael 2167395cc7 if no tab present, do nothing when CMD+W pressed (#923) 2022-06-27 09:22:16 -05:00
Grzegorz Zdunek fb8d6e6ee4 Add ability to change db name for db proxy (#883) 2022-06-27 15:54:19 +02:00
Grzegorz Zdunek f5e88dcfc5 Fall back to leaf cluster id when restoring leaf cluster terminal document (#920) 2022-06-27 10:59:49 +02:00
Lisa Kim a0a2a45848 Update eref: change language 'search' to 'resource' access req (#921) 2022-06-24 14:16:07 -07:00
Grzegorz Zdunek 357c11049b Show connection type in connection tracker (#906) 2022-06-24 14:22:49 +02:00
Grzegorz Zdunek 76d39a72ce Show cluster breadcrumbs (#901) 2022-06-24 13:18:09 +02:00
Grzegorz Zdunek 6ec3b98578 Remove username from the Identity selector (#903) 2022-06-24 13:05:41 +02:00
Grzegorz Zdunek 04d5e3aa0a Connect ShareFeedback with API (#899) 2022-06-24 12:05:05 +02:00
Lisa Kim c5bd579754 Update e-ref: prevent rendering with nonrecoverable error [access request] (#910) 2022-06-23 13:13:56 -07:00
Lisa Kim 778318768d Small fixes and tweaks while going through test plan (#908)
- Updating outdated doc links
- Add white border around QR code 
  (the scanner wasn't picking it up otherwise)
- Fix sorting bug for Users `role` column
- Change language `reset password` to 
  `reset autthentication` since users can 
   register passwordlessly
2022-06-23 12:49:22 -07:00
Lisa Kim 6ee5a10aa1 Refactor StepSlider Component (#884)
* Moves switching to a new flow logic to parent's responsibility 
instead of children with the swithFlow method (which is now removed)
* Move StepSlider to design package
2022-06-22 23:11:30 +00:00
Isaiah Becker-Mayer 8606bf71d4 changes 0.0.0.0 to 127.0.0.1 (#905) 2022-06-22 16:58:56 -04:00
Rafał Cieślak 39041c49f7 Add story for Identity (#902) 2022-06-22 13:50:28 +00:00
Grzegorz Zdunek 474c3a768d Update e-ref for story fix (#897) 2022-06-20 10:27:52 +02:00
Lisa Kim ecde5641db Update e-ref: fix for search based request list total count bug (#894) 2022-06-15 14:23:37 -07:00
Michelle Bergquist 68acfd2a2b Revert "setup project to run prettier (#886)" (#893)
This reverts commit 7bf67884da.
2022-06-15 11:23:54 -06:00
Rafał Cieślak 901fa87d21 Mention Teleport Connect in the README (#888)
* Mention Teleport Connect in the README

Also, make a better distinction about which sections are Web UI related.

* Update the command for copying protogen files

This way you don't have to leave the webapps dir when developing Connect.
2022-06-15 15:01:26 +00:00
Grzegorz Zdunek 62ac15cbfe Ensure the gateway is created only when opening the document (#890) 2022-06-15 15:55:05 +02:00
Michelle Bergquist 7bf67884da setup project to run prettier (#886)
- add prettier-check script to package.json
  - add prettierignore so that the script can be run from root
  - replaced deprecated jsxBracketSameLine with bracketSameLine
  - commiting lock file after yarn install
2022-06-14 15:52:36 -06:00
Matheus ca83e5c666 Re-order kube resource connection instructions for clarity (#880) 2022-06-14 16:33:14 -03:00
Grzegorz Zdunek 2fcec0dcb4 Add share feedback form (#878) 2022-06-14 16:04:31 +02:00
Matheus 5696f95932 Show node specific ssh logins options (#873)
* Show node specific ssh logins options

* Use ssh logins from node response instead of user context on console

* Remove logins from user context
2022-06-14 13:10:59 +00:00
Grzegorz Zdunek f2c8477a89 Add TextArea and FieldTextArea components (#870) 2022-06-14 11:07:27 +02:00
Lisa Kim 4cdb15582a Update e-ref (#881)
https://github.com/gravitational/webapps.e/pull/316
2022-06-13 22:00:40 +00:00
Rafał Cieślak 24fedf9c3a Build Connect in Webapps-Build pipeline (#874)
* Remove get-teleport-connect-dir

We didn't end up using it, see gravitational/teleport#13099.

* Run build-term & package-term in Webapps-Build pipeline

* Remove build script from package.json

It seems like it's no longer used anywhere at this point.
2022-06-13 11:39:34 +00:00
Rafał Cieślak 09d00a794a Restart cluster gateways on login (#879)
* CreateGatewayParams: Make user param required
* useDocumentGateway: Create gateway only if it's not already created
* ClustersService.removeGateway: Improve notification title
* Update protogen files with RestartGateway RPC
* Restart cluster gateways on login
* Use Promise.allSettled for callsites where the errors are swallowed anyway
2022-06-13 11:27:07 +00:00
Matheus 54d9932fcc Add error callback to handleRequest() method on devserver (#877) 2022-06-10 11:52:02 -03:00
Lisa Kim d584ab4980 Various small fixes and touch ups (#876)
* Show error when auth settings return `u2f` second factor option
  - Handles `u2f` cfg returned from v9
  - Push users to use webauthn
* Conditionally render adding passwordless device based on if pwdless is enabled
* Fix brief flash rendering of buttons before attempt success state
* Add soft warning for firefox users for passwordless login or register
2022-06-09 16:26:07 +00:00