Huiwen 653d858fa8
Add org-level workspace class restrictions (#19191)
* Add org-level maxmium workspace class limit

* [papi] add ListOrganizationWorkspaceClasses method

* Use papi in dashboard

* Validate when updating

* Fix bug

* Make it select default

* Align figma

* Option checking

* fixup

* Use switch button

* Add feature flag

* `invaldiator2` => `invalidateWorkspaceClasses`

* Don't allow to all if selected ones are removed from installation

* Update respond error msg

* dashboard show error msg

* fixup

* update proto doc

* Apply suggestions from code review

Updated error wording.

* update order

* Fix edge case

* Hide delete scope if not owner

* Update error msg

* Not cache org ws cls

* Force update org info

* Rename query file

* Add todos

* Remove refetch

---------

Co-authored-by: Filip Troníček <filip@gitpod.io>
Co-authored-by: Laurie T. Malau <laurie@gitpod.io>
2023-12-15 08:48:22 +02:00
..
2023-10-09 22:49:17 +03:00

Public-API

This component contains the Gitpod (Public) API.

⚠️ This API is currently in development and may change frequently before it reaches General Availability

API Structure

The API is structured into two packages:

  • stable
  • experimenetal

For each package, we provide different guarantees on compatiblity and evolution of the APIs.

Stable

APIs defined in the stable package provide the following guarantees:

  • Services, calls, types and fields are not removed without following a deprecation policy (TBD).
  • Services, calls, types fields are not renamed.
  • Non succesfull responses are described exhaustively.

Experimental

APIs in defined in the experimental package provide no guarantees. You should not rely on them for any functionality.