847 Commits

Author SHA1 Message Date
Jan Keromnes
5e16a2daa4 [dashboard] Clarify that spending limit is in credits 2/2 2022-08-23 16:40:39 +02:00
Jan Keromnes
e200f77c7d [dashboard] Clarify that spending limit is in credits 2022-08-23 16:26:39 +02:00
Filip Troníček
0d5ef368bc Update components/dashboard/src/teams/TeamUsage.tsx
Co-authored-by: Gero Posmyk-Leinemann <32448529+geropl@users.noreply.github.com>
2022-08-23 11:43:40 +02:00
Filip Troníček
0c777b4456 Use toLocaleString with usage of credits 2022-08-23 11:43:40 +02:00
George Tsiolis
3361ebffb0 Truncate project variable name 2022-08-22 08:28:38 +02:00
George Tsiolis
1ba5329c8a [dashboard] Update spending limit modal on workspace start 2022-08-19 17:56:36 +02:00
Gero Posmyk-Leinemann
18b1a50a07 [server, dashboard] Review comments
Co-authored-by: George Tsiolis <tsiolis.g@gmail.com>
2022-08-19 13:19:35 +02:00
Laurie T. Malau
502a9d59cf Show workspace and user details 2022-08-19 13:19:35 +02:00
Jan Keromnes
1baf1df8fb [dashboard] Improve usage-based billing account selection UX 2022-08-18 15:30:35 +02:00
Jan Keromnes
14f6865d97 [dashboard] Temporarily disable selecting personal account for usage-based billing attribution 2022-08-18 15:30:35 +02:00
Gero Posmyk-Leinemann
4d7695b76c [dashboard] Fix BillingMode UI glitches 2022-08-17 14:56:34 +02:00
Gero Posmyk-Leinemann
72c123189d [dashboard, server] WorkspaceClass: make usable based on BillingMode 2022-08-17 14:56:34 +02:00
Gero Posmyk-Leinemann
875a8c5f53 [server] Improved BillingMode tests 2022-08-17 14:56:34 +02:00
Jan Keromnes
8807ef5e5c [dashboard] Don't forcefully set spending limit to '1' when the input is empty 2022-08-16 15:37:33 +02:00
Jan Keromnes
89a50dfe16 [dashboard] Fix <input type="number"> style for dark theme 2022-08-16 15:37:33 +02:00
Jan Keromnes
12017a58e8 [dashboard] Make team billing settings accessible only to team owners 2022-08-16 11:21:33 +02:00
Laurie T. Malau
ad642053e4 Increase results per page to 50 2022-08-16 07:43:32 +02:00
Anton Kosyakov
f69e6d4453 [dashboard] allow to open desktop links on app domain 2022-08-15 14:25:32 +02:00
Laurie T. Malau
b09264b710 Use actual date 2022-08-15 12:04:32 +02:00
Thomas Schubart
30a5834443 [dashboard] Show workspace class in admin view 2022-08-15 10:19:32 +02:00
Alex Tugarev
b4a9939063 Fix issues with entitlement service 2022-08-10 16:53:56 +02:00
Jan Keromnes
29013ba4dc [dashboard] Fix active state in usage-based billing account selector 2022-08-10 15:33:57 +02:00
Alex Tugarev
2c392cbebb [dashboard] avoid reloading billing mode 2022-08-10 09:10:54 +02:00
Alex Tugarev
7139549500 [dashboard] fix greedy redirect on team usage page 2022-08-10 09:10:54 +02:00
Alex Tugarev
5a88807dd8 [dashboard] fix host value for Git Integrations
if `:` is included, just the preview of the callback URL should be replaced with `_`, but not actual host value.
2022-08-09 18:15:53 +02:00
Jan Keromnes
7e12adedff [dashboard] Fix setting of team BillingMode 2022-08-09 04:21:53 -03:00
Jan Keromnes
7695329376 [dashboard] Fix setting of BillingMode in UserContext 2022-08-09 04:21:53 -03:00
Gero Posmyk-Leinemann
c82fbf36ff [dashboard] Block UI based on BillingMode 2022-08-09 04:21:53 -03:00
Alex Tugarev
bf7f1c0ed5 Spending Limit Reached modal 🛹 2022-08-05 12:09:49 -03:00
Alex Tugarev
7eb88a91ea [dashboard] fix arbitrary useEffect 2022-08-05 09:50:49 -03:00
Jan Keromnes
1e909bab0e [server][dashboard] When starting a workspace but usage attribution is unclear, prompt for explicit user choice 2022-08-05 08:12:49 -03:00
Kev
93335ab6ab Replace AlertBox with Alert component
This replaces the old AlertBox with the new Alert (type `warning`) in
the dashboard.
2022-08-05 04:17:49 -03:00
Jan Keromnes
21c0970297 [dashboard] Optimization: Don't wait before fetching a team's spending limit 2022-08-04 04:40:49 -03:00
Laurie T. Malau
3783204e64 Replace with sorting icon 2022-08-03 15:06:47 -03:00
Laurie T. Malau
b1c03cae0f increase page resultsand add clclickability 2022-08-03 13:37:47 -03:00
Gero Posmyk-Leinemann
81c7aa193f [dashboard] Fix displaying of logs for finished Prebuilds 2022-08-03 07:34:47 -03:00
Alex Tugarev
c31d2fedfe [dashboard] Fix rendering of the redirect URI on Git Integrations page 2022-08-03 06:18:47 -03:00
Tarun Pothulapati
601fe91b57 [dashboard] Next steps nudge for local-preview
Currently, After `local-preview` is exited There are no
direct concrete steps for users to take.

This PR fixes this by adding a new `Alert` box to the
global dashboard if we notice that they are on a Gitpod
`local-preview` DOMAIN, which is `preview.gitpod-self-hosted.com`
(our own DOMAIN) from now.

Signed-off-by: Tarun Pothulapati <tarun@gitpod.io>
2022-08-02 08:48:46 -03:00
Gero Posmyk-Leinemann
74bf2aaf74 [dashboard] Review comment spacing
Co-authored-by: George Tsiolis <tsiolis.g@gmail.com>
2022-08-02 04:29:46 -03:00
Gero Posmyk-Leinemann
5f0c18d7a8 [dashboard] Move to new Alert component 2022-08-02 04:29:46 -03:00
Laurie T. Malau
33d362b2ae Allow sorting in the UI 2022-08-01 12:11:45 -03:00
Laurie T. Malau
46b63100cd Fix args 2022-08-01 11:06:45 -03:00
Laurie T. Malau
04f122ca8a add sorting 2022-08-01 08:00:45 -03:00
Andrew Farries
14a3dea60d Hide PVC feature section when feat flag not set
Rather than having the section always visible but with a disable
checkbox, hide the entire section if the feature flag is not set.
2022-08-01 04:49:45 -03:00
Laurie T. Malau
3ee776449c add spinner 2022-07-27 09:09:22 -03:00
Andrew Farries
f46c742cb7 Refactor: Fetch by iterating over flags 2022-07-27 09:07:22 -03:00
Andrew Farries
8b2f616697 Move pvc feature flag into context 2022-07-27 09:07:22 -03:00
Laurie T. Malau
9e2ccb52d9 Allow selection of billing months 2022-07-27 06:18:21 -03:00
Andrew Farries
463f32eb02 Fix project settings page
Ensure that when the project settings are updated, the project in the
Project context is also updated.
2022-07-26 09:31:21 -03:00
George Tsiolis
46ba8936e1 Replace workspace search alert 2022-07-26 08:48:21 -03:00