46 Commits

Author SHA1 Message Date
Filip Troníček
a303660a5f
Add insights page (#20437)
* Add WS image metrics to workspace instances

* Update tests

* fix ws-manager-api field description

* [dashboard] Org Insights page

* Pagination, date filters and downloads

* Safety limits for pagination and prettier icons

* UI improvements

* Enhance `from` date to capture whole day

* some more props for the CSVs

* Include git context with workspace responses

* Context url segments in CSV

* ide => editor to align with papi convention

* Remove duplicate fc

* revert route deletion

* Update papi converter tests and revert unecessary changes

* fix error rendering

* partly revert ws api svc changes

* Remove debug lines

* fix proto typo

Co-authored-by: Gero Posmyk-Leinemann <gero@gitpod.io>

* Remove org member listing from frontend

* Shorter == better 😎

* Move workspace.metadata.context onto a top-level `WorkspaceSession` property

---------

Co-authored-by: Gero Posmyk-Leinemann <gero@gitpod.io>
2024-12-12 08:55:33 -05:00
Siddhant Khare
d069ce144f
Update login page (#20255)
* Enhance Gitpod login page

* `Early access` pill in line with Gitpod Flex

* copy update

* Gitpod Engraved svg file

* early access pill 

* cleanup

* chore: Update early access pill styling on Gitpod login page

* Recompartmentalize and tweak looks

Changed the early access badge SVGs and made the login section at least as tall as the screen

* Extract `<TermsOfServiceAndPrivacyPolicy>`

* capitalize 'em devcontainers

* nit fix

* Don't use `isGitpodIo`

---------

Co-authored-by: Filip Troníček <filip@gitpod.io>
2024-10-01 09:46:16 -04:00
Filip Troníček
c1a18a3c82
Add proper tabs to Podkit (#19840)
* Add proper tabs to Podkit

* Fix spacing

* Decrease default ring offset
2024-06-06 03:47:17 +08:00
Filip Troníček
8f3888d875
Browser Extension Advertisement (#19650)
* Browser Extension in-app banner

* add icons

* Prevent undefined browsers

* Local storage control

* use sessionstorage

* Tweak colors and hide on small viewports

* Dismiss button

* Universal icon

* fix icon

* reset button

* Remove unused class

* Fix close button?

* Modify layout

* add missing browsers

* Fix extra whitespace

* do not show when autostarting

* remove duplicate type dep

* Prevent flashing

* Apply new copy

Co-authored-by: Lou Bichard <contact@louisjohnbichard.co.uk>

* Address review comments

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

* Fix svg path

* fix colors

* Layout

* minor changis

* 🤷‍♂️

* Fix spacing and max width

* Layout fixes

* Bigger top margin

* Dynamic auth provider message

* Update dashboard typescript

* ui updates

* Fix center alignment

I literally have no idea why this works

* sort provider names and show only when a ff is on

* Track events

* Open in new tab

* margin to the right of the img

* Rename event

* Remove duplicate sort

* Organize imports

* some design tweaks from pr review

* extend right padding

* fix text size

* revert text size change and update screenshot padding

---------

Co-authored-by: Lou Bichard <contact@louisjohnbichard.co.uk>
Co-authored-by: Brad Harris <bmharris@gmail.com>
2024-04-26 19:58:04 +02:00
Huiwen
9e0e61d5fa
[dashboard] add single prebuild page (#19361)
* Init prebuilds list

* Text size and color tweaks

* Dropdown filtering UI

* wip changes

* File renames and such

* Filter by state

* fix path

* Add configuration ID filtering

* Prebuild list error state

* Protobuf sorting definition

* API-level sorting

* Simplify pagination

* Fix undefined inference

* Dashboard adopt sort behavior

* make sorting required

* Move ordering 🤷‍♂️

This will most definetely not solve anything, but...

* Hopefully fix sorting 🤷‍♂️

* less `as`

* Simplify state check

* Repeated sorting

* Sort out sorting

Sorry :/

* [dashboard] add single prebuild detail page

* 💄

* update backlink of bread nav

* Configuration dropdown WIP

* Make configuration filter disableable

* Use in in SQL

* Minor styling adjustements

* Nav item

* Rename menu item

* Const 🤷‍♂️

* Always display filter reset opt

* Add prebuild link to prebuild settings

* Simplify

* Don't throw errors

All my homies hate throwing in `server`

* FF hook

* Name failed to load state

* typo

* Better unknown inference

* Add ConfigurationField component to display repository name and link

* Do not retry configuration load

* Move prebuild utils

* Unify sort types

* Refactor PrebuildTable to use arrow function syntax for mapping prebuilds

* fix imports

* Widen triggered column

* Widen even more

* Shorten status labels

* fix newline

* Align prebuild status logic

* Init ws db tests

* Rename list item comp accordingly

T'was an oopsie doopsie

* Test configuration ids and branches filtering

* Use lodash debouncing for xterm resize

* podkidify classname merges

* Rerun prebuild loading indicator

* Revert "podkidify classname merges"

This reverts commit 610318ac34db07f1a5ac1454aec38eaabfdc6d3c.

* use cn for classes instead of templ strings

* Properly debounce

* Update xterm to v5.3.0 and xterm-addon-fit to v0.8.0

* Update xterm to `5.4.0-beta.37` to fix overflow bug

https://github.com/xtermjs/xterm.js/issues/4805

* Fix border colors

* make load button really load

* Get rid of loading state on trigger

* driveby: Fix login buttons

---------

Co-authored-by: Filip Troníček <filip@gitpod.io>
2024-02-13 17:03:55 +02:00
Brad Harris
bd1b55187e
Improving prebuild related auth errors (#19247)
* Setting up saving and error state on prebuild settings

* cherry picking in backend work that updates some of the scm errors when installing webhooks for prebuilds

* updating tests

* adding placeholders for prebuild error cases

* adding isMissingScopes to error

* updating error messaging

* update tests

* adding toasts to projects settings for prebuild errors

* updating generic message styles

* Update components/dashboard/src/projects/ProjectSettings.tsx

Co-authored-by: Filip Troníček <filip@gitpod.io>

* Apply suggestions from code review

Co-authored-by: Filip Troníček <filip@gitpod.io>

* adjusting enabled state lookup

* updating again

* adding missing deps

---------

Co-authored-by: Filip Troníček <filip@gitpod.io>
2023-12-19 17:37:26 +02:00
Filip Troníček
11f0d00fca
Switch component updates (#19261)
* Switch component updates

* Fix disabled state

* Try disabled switch

* bg ignore state while disabled

* Disable bg img while disabled

* Remove debug disabled checkbox
2023-12-14 23:01:21 +02:00
Brad Harris
d447212b9a
Fix text input background color (#19190)
* convert podkit colors into css variables to handle dark mode automatically

* cleanup

---------

Co-authored-by: Filip Troníček <filip@gitpod.io>
2023-12-05 17:26:13 +02:00
Brad Harris
3155a30960
Adding Switch podkit component to prebuild settings page (#19171)
* adding Switch podkit component

* flex it

* Update components/dashboard/src/repositories/detail/ConfigurationDetailPrebuilds.tsx

Co-authored-by: Filip Troníček <filip@gitpod.io>

* removing redundant copy

---------

Co-authored-by: Filip Troníček <filip@gitpod.io>
2023-12-01 18:23:08 +02:00
Filip Troníček
4316088469
Podkit additions: Button, DropDown, Headings (#18979)
* Init Button, LinkButton, Loading Button, DropDow..
n, DropDownActions, Headings

* Fix new workspace link

* Remove unnecessary className

* Use podkit buttons

* Poof

* Fix button to really be secondary

* More linkbuttons

* Last button fixes, hopefully

* Tooltips

* Pass correct props through LinkButtons

* Copy button same row

* 🤷‍♂️

* f

* 🤫

* Give up on Tooltips for now

* Apply the dropdown hotfix
2023-11-03 14:17:41 +02:00
Brad Harris
5e6fa139ce
Setup podkit folder and move Combobox into it (#18923) 2023-10-17 02:37:26 +03:00
Alex Tugarev
c7e492b6ef
update node to 18.17.1 (#18525)
* update node to 18.17.1

* use new dev image

* fix webpack in supervisor-frontend

* bump webpack to 5.88.2 in dashboard

* streamline webpack versions

* Fix craco config

* streamline eslint versions

* Update eslint config and disable for now

* Enable eslint again

* Update vscode-jsonrpc for browser implementation

* Polyfill setimmeadiate

* Remove NODE_OPTIONS env var from supervisor front end scripts

* Fix css

* Fix css 2

* Fix checkboxchecked

* Add comment

* Fix yarn.lock

---------

Co-authored-by: Jean Pierre <jeanp413@hotmail.com>
2023-08-24 13:41:50 +02:00
George Tsiolis
158a948b4d
Update primary button style (#18319) 2023-08-21 19:44:47 +02:00
Sven Efftinge
8a2df3b5f9
[dashboard] smoother loading screen (#18066) 2023-06-27 16:12:51 +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
Brad Harris
ee4a5a0932
Adding Toasts (#17030)
* wip for toasts

* set max width

* getting toasts working

* update workspace timeout ui and add toast

* put in a portal

* adding some aria props

* renaming to toast()

* improve mobile styles

* shift dotfiles repo update into mutation

* remove test button

* Update components/dashboard/src/user-settings/Preferences.tsx

Co-authored-by: George Tsiolis <tsiolis.g@gmail.com>

* Update components/dashboard/src/user-settings/Preferences.tsx

Co-authored-by: George Tsiolis <tsiolis.g@gmail.com>

* Adjusting styling per PR feedback

* don't hide toasts on hover

---------

Co-authored-by: George Tsiolis <tsiolis.g@gmail.com>
2023-04-06 13:55:46 +02:00
Filip Troníček
0c089260fe
Replace <SelectIDE /> with <SelectIDEComponent /> (#16847)
* Replace `<SelectIDE />` with `<SelectIDEComponent />`

* The latest checkbox

* Don't show stable IDEs when latest is selected

* Limit width

* Enlarge

* Remove `<SelectIDE />`

* Back, back to school again

* Dead code

* Fix width

* Use `width` instead of `max-width`

* Remove unused import

* Show JB beta notice

* Add a margin to the selector

* Remove custom modal width

Co-authored-by: George Tsiolis <tsiolis.g@gmail.com>

* Finish off the age-old todo :)

* Remove `<SelectIDEModal />`

* retest

* Remove unused code

* use `useUpdateCurrentUserMutation`

---------

Co-authored-by: George Tsiolis <tsiolis.g@gmail.com>
Co-authored-by: Milan Pavlik <milan@gitpod.io>
2023-03-24 17:21:17 +01:00
Brad Harris
294aa6945b
Adding Typography components for Headings/Subheadings (#16673)
* Adding typography components

* Refactor h1, h2 and subheadings to components

* Updating headings

* Removing debug change
2023-03-06 20:31:04 +01:00
Brad Harris
49926d016c Adding org links and icons into org selector 2023-02-15 18:40:20 +01:00
George Tsiolis
2128412826 Revert monospace font configuration 2023-01-26 13:44:33 +01:00
Filip Troníček
207436c1bb Monospaced fonts adoption in the Dashboard 2023-01-23 09:29:30 +01:00
Christian Weichel
478a75e744 Switch license to AGPL 2022-12-08 13:05:19 -03:00
Andrea Falzetti
63245668cf feat(jetbrains): add rider and clion 2022-11-18 14:43:48 +02:00
mustard
28f9ddc77c [dashboard] ssh keys setting support 2022-07-05 11:04:52 +05:30
George Tsiolis
72c6ebe6e7 Revert "Rename gray color palette name"
This reverts commit fea2135ad5e85757b510665710c9a6bfdbe3c734.
2022-05-27 21:46:45 +05:30
George Tsiolis
fea2135ad5 Rename gray color palette name 2022-05-26 15:59:44 +05:30
Manuel Alejandro de Brito Fontes
4d8222585f [dashboard] Update tailwindcss and enable jit (now stable) 2021-08-23 16:39:22 +02:00
Cornelius A. Ludmann
e1dff1b451 [dashboard] Fix monospaced fonts in Tailwind 2021-06-25 17:28:14 +02:00
Manuel Alejandro de Brito Fontes
c71b2d7dc6 [dashboard] Optimize build 2021-04-22 09:12:31 -04:00
Jan Keromnes
ce05f58c44 [dashboard] Implement dark theme
Co-authored-by: George Tsiolis <tsiolis.g@gmail.com>
2021-04-16 18:27:12 +02:00
Jan Keromnes
e726b1f462 [dashboard] Implement dark theme toggle defaulting to OS preference 2021-04-16 18:27:12 +02:00
Jan Keromnes
65ff180a13 [dashboard] Implement pending changes summary in stopped workspace screen
Also import 'gitpod-red' color into Tailwind again
2021-04-02 12:30:52 +02:00
Sven Efftinge
9c4971ddfd [dashboard] button styling 2021-03-29 12:32:41 +02:00
Alex Tugarev
40112700f9 Add Git Integrations
closes https://github.com/gitpod-io/gitpod/issues/3333
2021-03-26 14:55:30 +01:00
Sven Efftinge
6e48d21672 [dashboard] account deletion 2021-03-23 16:58:46 +01:00
Sven Efftinge
df8b5cf582 [dashboard] updated license headers 2021-03-22 18:32:12 +01:00
Jan Keromnes
35a5e9d23e [dashboard] Adjust styles in Settings menu and Account page 2021-03-22 18:32:12 +01:00
Sven Efftinge
597fd83033 [dashboard] addition workspaces list features 2021-03-22 18:32:12 +01:00
George Tsiolis
d7c7b928e3 [dashboard] Change font stack, update logo, change menu colors (#3478) 2021-03-22 18:32:12 +01:00
Alex Tugarev
15eb392f5b fix screen breakpoints 2021-03-22 18:32:12 +01:00
Alex Tugarev
77654a3137 apply 💄 to login page 2021-03-22 18:32:12 +01:00
Jan Keromnes
d397765b12 [dashboard] Hide running workspace open button when group isn't hovered 2021-03-22 18:32:12 +01:00
Jan Keromnes
7ff5916256 [dashboard] Update Tailwind green shades for buttons
Co-authored-by: George Tsiolis <tsiolis.g@gmail.com>
2021-03-22 18:32:12 +01:00
Jan Keromnes
c871a20b90 [dashboard] Re-implement running workspace selector for new dashboard
Co-authored-by: George Tsiolis <tsiolis.g@gmail.com>
2021-03-22 18:32:12 +01:00
Jan Keromnes
bcec8444cb [dashboard] Import MAD color scheme into Tailwind 2021-03-22 18:32:12 +01:00
Sven Efftinge
32da6d9775 [dashboard] v2 initial commit 2021-03-22 18:32:12 +01:00