1514 Commits

Author SHA1 Message Date
Brad Harris
08b228bdbf
Prevent Input w/ Copy button from submitting forms (#18150)
* updated InputWithCopy button to not submit

* normalize a few component props

* use a spacing prop on Button instead of overloading size

* swap to opt-in for modal auto-focusing

* cleanup

* use checkmark icon on copy
2023-07-06 16:19:23 +08:00
Brad Harris
1d1e1b1844
removing usageDownload flag (#17927) 2023-07-06 05:48:22 +08:00
Sven Efftinge
5bd416e5aa
[dashboard] remember options by cloneURL & orgID (#18126) 2023-07-03 22:18:20 +08:00
Sven Efftinge
caf26b812d
[server] remove getUserProjects (#18093) 2023-06-29 16:30:47 +08:00
Alex Tugarev
6c58f90bce
[dashboard] Add throttling to IDB persist in PersistQueryClientProvider – WEB-560 (#18082)
* try throttling IDB persist in PersistQueryClientProvider

* rm invocation of obsolete integration tests

* rm test of Git Integration component

why? it went broken adding p-throttle dependency, as jest loader doesn't like it. resolving module loading issues with craco+jest wasn't possible in a timebox.

otherwise, the test case itself isn't interesting anymore, as we've migrated away from a computed Redirect URI and have a static one instead.
2023-06-28 19:25:46 +08:00
Sven Efftinge
8a2df3b5f9
[dashboard] smoother loading screen (#18066) 2023-06-27 16:12:51 +08:00
Gero Posmyk-Leinemann
87b82a1c94
[dashboard] Only show /billing links for UBP (#18061) 2023-06-27 15:32:50 +08:00
George Tsiolis
f126b1191e
Remove welcome page check (#17843) 2023-06-26 15:17:16 +08:00
George Tsiolis
397d6bf7d7
Keep search input visible on scroll (#18030) 2023-06-23 20:23:13 +08:00
Gero Posmyk-Leinemann
41abfc1a86
[dashboard] retry useUserQuery if error code is not 401 – WEB-560 (#18033)
* [dashboard] retry useUserQuery if error code is not 401

* [dashboard] Add doRetryUserLoader feature flag

---------

Co-authored-by: Alex Tugarev <alex@gitpod.io>
2023-06-23 17:35:13 +08:00
Robo Quat
423ce2ffc9
update index (#18010)
Co-authored-by: roboquat <roboquat@users.noreply.github.com>
2023-06-23 15:34:13 +08:00
Filip Troníček
32e01b8248
Fix tab navigation for InputWithCopy (#18009)
* Fix tab navigation for `InputWithCopy`

* Fix focus positioning
2023-06-23 15:27:13 +08:00
Alex Tugarev
fba93b7018
Remove hostname from callback URL – WEB-398 (#17935)
* [git auth] extract host from flow state JWT

* Use /auth/callback

* deduplicate parseState function
2023-06-23 15:11:13 +08:00
Sven Efftinge
248a00eaa8
[server] clean up org-only migration code (#17939) 2023-06-22 15:03:12 +08:00
George Tsiolis
043a55b71a
Rename copy user ID tooltip (#18005) 2023-06-21 23:14:11 +08:00
Brad Harris
2583fc1f51
Updates to the Create Workspace Errors (#17942)
* Remove catch-all that isn't right most of the time

* Adjusting error messages a bit

* handling invalid gitpod yml error and proceeding

* fixing styles and invalid gitpod yaml check

* move error to top and use Alert component

* removing space
2023-06-20 22:26:10 +08:00
George Tsiolis
329feb871f
Avoid label truncation on the integration buttons (#17970) 2023-06-20 19:27:10 +08:00
Sven Efftinge
fb0b7c4980
[usage] compute correct spending limit (#17947) 2023-06-20 17:39:10 +08:00
Filip Troníček
283aa6cff6
Show User ID on Account page (#17956)
* Show User ID on Account page

* Move under other inputs
2023-06-19 15:06:09 +08:00
Brad Harris
b36e03c9e5
Don't change editor/ws class values if user has modified them (#17929)
* kicking things off

* track dirty state and only update if not dirty

* add drop shadows

* Check dirty state before setting

* reset ws class if not dirty and selected project has no setting

* removing log statement
2023-06-15 02:08:05 +08:00
George Tsiolis
3cec698719
Improve git integrations during user onboarding (#17640) 2023-06-14 22:13:05 +08:00
Sven Efftinge
7549933873
[dashboard] migration cleanups (#17932) 2023-06-14 16:05:04 +08:00
Filip Troníček
0118965530
Prefer experimental IDE options (#17910)
* Prefer experimental IDE options

* Use `useMemo` for avoiding re-renders

Co-authored-by: Brad Harris <bmharris@gmail.com>

---------

Co-authored-by: Brad Harris <bmharris@gmail.com>
2023-06-13 05:05:03 +08:00
Brad Harris
27f539cbad
track a verificaitonId during phone verification (#17898)
* track a verificaitonId during phone verification

* use snake case property names for tracking

* validate verificationId is uuid

* move validation into service

* typo in error msg
2023-06-12 22:42:02 +08:00
Wouter Verlaek
a18361e5a0
Return and show error when stopping workspace in maintenance mode (#17880)
* Show error when stopping workspace in maintenance mode

* Fix import

* Feedback

* Fix return

* Fix mutate error catch, use try/catch for stopWs
2023-06-12 21:55:03 +08:00
George Tsiolis
bae1f83bf2
Rename manage billing settings button label (#17888) 2023-06-12 20:04:03 +08:00
Milan Pavlik
67d508fc8e
[dashboard] Always use Public API for workspace stop & delete (#17904)
* [dashboard] Always use Public API for workspace stop

* and delete
2023-06-12 19:45:02 +08:00
Robo Quat
b27795e15c
update index (#17856)
Co-authored-by: roboquat <roboquat@users.noreply.github.com>
2023-06-12 14:29:02 +08:00
Alex Tugarev
c44e74cd7a
User.getPrimaryEmail to return email of SSO identity – WEB-437 (#17897)
* User.getPrimaryEmail to return email of SSO identity

* fixing issue with email not being editable

---------

Co-authored-by: Brad Harris <bmharris@gmail.com>
2023-06-10 02:04:00 +08:00
Brad Harris
e3fa9f1d8c
cleaning up fragment usage (#17882)
* cleaning up frament usage

* change back to how it was, fragment is fine here

* use icon prop
2023-06-09 18:57:59 +08:00
Alex Tugarev
d967909add
Fix /login/slug handling (#17891) 2023-06-09 17:52:59 +08:00
Alex Tugarev
e34b9a695f
Add Bitbucket to Git Providers under Orgs – WEB-454 (#17869)
* [dashboard] add Bitbucket to Git Providers under Orgs

* clean up

* make bitbucket.org host not editable
2023-06-09 04:48:59 +08:00
Brad Harris
ee651b8dd9
Adjust filtering of usage entries (#17852) 2023-06-09 00:03:59 +08:00
Brad Harris
2a8a6f4d6e
Add voice calls for phone verification (#17853)
* verify via call if flag enabled

* adjust verify copy based on flag
2023-06-07 23:59:58 +08:00
Brad Harris
56269b6a14
ensure progress bar width is not greater than 100% (#17857) 2023-06-07 20:45:58 +08:00
George Tsiolis
e15de46c3c
Update usage export toast style (#17849) 2023-06-07 19:08:57 +08:00
Brad Harris
2b4c216cea
Update Usage page design (#17807)
* adjust usage page for new designs

* adding billing link under credits

* Updating date range & picker inputs

* adjusting export button location

* extract components

* refactor to simplify some of the rendering logic

* drop usage toolbar wrapper

* remove useEffect

* moving usage filter params to url querystring

* automatically adjust date range to within 300 days
2023-06-06 20:46:57 +08:00
George Tsiolis
ccf5ddb164
Update login page layout (#17748) 2023-06-06 20:21:57 +08:00
George Tsiolis
46bce5f193
Remove CDE Universe footnote (#17818) 2023-06-06 16:54:56 +08:00
Alex Tugarev
f7fd787088
Read email from SSO profile – WEB-437 (#17819)
* [protocol] remove unnecessary User.censor

* Read email from SSO profile

* [gitpod-db] Add Identity.lastSigninTime

* revert useOIDCClientsQuery changes

* make use of lastSigninTime on Account page

* [server] update lastSigninTime on signin

* fixup tests

* fixup update of lastSigninTime
2023-06-06 16:50:57 +08:00
Brad Harris
b7ef717211
Add a Download Usage csv button (#17791)
* Add a Download Usage csv button

* handle no records

* start at page 1 not 0

* adjust download button

* fix flag check

* cleanup

* use end of day for end date

* using a toast for the csv download feedback

* adding icon prop to button

* copy change

* update toast layout

* handle errors and aborting

* limit perPage to 1000

* Adding a progress bar for exporting

* tweak progress bar a bit

* adding export file details

* copy updates

* adjusting progress bar a bit based on feedback

* handle plurality

* add support for inverted component styles

* temporarily disable button when export started
2023-06-05 23:35:56 +08:00
Alex Tugarev
9f6b6c0943
Validate cloneUrl agains accessible repositories – WEB-402 (#17809)
* [orgs] Disallow creating Projects under User

* [Projects] Validate cloneUrl against accessible repositories

* fixup condition in createProject
2023-06-05 20:49:56 +08:00
George Tsiolis
4b3685b559
Add dropdown shadow (#17679) 2023-06-02 22:00:07 +08:00
Milan Pavlik
a05ea2c9eb
[server] Remove self-hosted installation admin telemetry endpoint (#17787)
* [server] Remove self-hosted installation admin telemetry endpoint

* Fix

* fix

* fix

* fix

* Fix

* fix
2023-06-02 16:15:07 +08:00
Robo Quat
99e74f600e
update index (#17662)
Co-authored-by: roboquat <roboquat@users.noreply.github.com>
2023-06-02 15:05:07 +08:00
Brad Harris
314e8dbdb4
Fix double submission on SSO Config modal (#17720)
* wip

* conditionally wrap w/ form when onSubmit set

* removing log

* swapping to onSubmit

* swapping to useSubmit

* swap to onSubmit

* swap to onSubmit

* updating to use onSubmit

* swap to use onSubmit

* update ConfirmationModal to use Modal.onSubmit

* removing Modal.onEnter

* adding some missing submit button types

* add missing key
2023-06-01 08:06:05 +08:00
Milan Pavlik
2ce21be20e
[dashboard] Periodically fetch JWT cookie WEB-411 (#17797)
* retest

* [server] Re-issue session as JWT

* retest

* retest

* Fix

* fix

* Fix

* [dashboard] Periodically refresh JWT cookie

* retest
2023-05-31 21:46:05 +08:00
Sven Efftinge
a045ec954b
[dashboard] minor improvements for email domains (#17768) 2023-05-26 22:43:00 +08:00
George Tsiolis
ed420a4e90
Update admin search alert copy (#17760) 2023-05-26 19:04:00 +08:00
Brad Harris
0e11c83479
disable focus lock on billing modal (#17751) 2023-05-26 09:39:59 +08:00