* Define `ListOrganizationPrebuilds`
* Fix because of name changes
* Add unimplemented `listOrganizationPrebuilds`
* Crazy stuff right here
* Address huiwen's comments
* Fix more types
* sad™
* Add configuration id and search term filtering
* Update spicedb schema
* SpiceDB gen code
* [server] add collaborator
* Update papi
* Dashboard
* nit
* Complete TODOs
* server dataops pass teamId
* Add test cases for collaborator's PAT and cookie API fetch
* Add test case description
* remove unnecessary export
* Redirect to dashboard after join an org
* Hide settings for collaborator
* dataops join via oidc should be collaborator
* Fix test
* Goes back to /workspaces
* 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>
* Adding prebuildsEnabled filter to projects search query
* adding prebuilds_enabled param
* stubbing out UI for prebuild status filter
* mark prebuilds_enabled as optional so we have an undefined state
* ui stuff
* whoopsie
* drop animations for now
* comments
* cleanup
* convert to string
* consider prebuild filter in showing table
* add prebuilds query param
* fix issue w/ fragment around routes preventing 404 handler
* Implement
* use on dashboard
* Add test case
* fixup
* fix build
* Update proto
* Update
* 💄
* 💄
* [verificationservice] added mock impl for previews
---------
Co-authored-by: Jean Pierre Huaroto <jeanp413@hotmail.com>
Co-authored-by: Sven Efftinge <sven@gitpod.io>
* [papi] add user.proto and GetAuthenticatedUser
* [papi] (generate.sh) Run end-of-file-fixer
* rename to EditoSettings
* clean up proto
* fix import
* update WorkspaceTimeoutSettings
* fix typo
* update WorkspaceTimeoutSettings
* clarify User.name is full name in doc line
* `updateConfiguration`
* typdate
* Try with no deeply nested property
* JKADFkosaNcISADFuisabnfhjl hjkafb ashjdbjbhj
* Constrain even further
* Return the configuration
* Fix update mutation
* Only update necessary properties
* Implement name changes
* typastuff
* 🙄
* Mutation update
* 🤷♂️
* Type fixes
* Conditionally pass in name
* Partials
* Fix type mishap
* Update mutation name
* Tweak types
* Reduce abstractions
* Only supply name if applicable
* Better partial assignment
* Deepmerge with originals
* Only update fully when necessary
* Fix name conversion in papi converter
Co-authored-by: Gero Posmyk-Leinemann <32448529+geropl@users.noreply.github.com>
* Assert some converted properties to not exist
* Disallow empty configuration names
* Add cache update todo
* fix type vs class
* Error toasts
* Be less strict about value of name
* Toast the actual updated name
* Fix tests :-)
---------
Co-authored-by: Gero Posmyk-Leinemann <32448529+geropl@users.noreply.github.com>
* wip for getting pagination tokens setup
* swapping pagination for token based load more UI
* disable refetch on window focus
* partially working infiniteQuery
* updating proto files for pagination
* updatnig pagination to handle load more approach
* adding bottom margin
* adding tests
* encode search term query param
* validate params
* change button variant
* making sure we don't drop some props
* Update components/dashboard/src/data/configurations/configuration-queries.ts
Co-authored-by: Filip Troníček <filip@gitpod.io>
---------
Co-authored-by: Filip Troníček <filip@gitpod.io>
* adding ConfigurationServiceAPI
* binding config service api to server
* use getConfiguration in dashboard
* adding missing binding
* use ApplicationError's
* add protobuf classes to query client hydration
* fixing pagination param & query
* changing to import statements for consistency and clarity on what the imports are for
* cleanup
* dropping config settings for create for now
* use protobuf field names in error messages
* removing optional on fields
* fixing converters to account for non-optional (undefined) fields
* update test
* adding more tests for findProjectsBySearchTerm
* fixing test to use offset correctly
* convert pagination args correctly
* [papi] add watch workspace status api
* update import
* 1
* debug commit
* Add workspace_id to proto
* Add unit test for async generator
* Update usage of func
* update test cases
* fix json rpc watch
* 1
* remove test commit and fix missing field