* 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
* turn text input into select input
* mimic old behavior for pre-existing projects
* explicit settings under the project should have precedence
* add PrebuildBranchPattern to project settings
* add branch name pattern to project settings page
* fixup c&p error
* match branch names by glob pattern
* fix pattern matching
* fix project settings form
* fix initial value for prebuildBranchPattern
* adding more tests
* add globstar tes
* fixup rebase error
* Apply suggestions from code review
Co-authored-by: George Tsiolis <tsiolis.g@gmail.com>
* fine tune debounce wait
---------
Co-authored-by: George Tsiolis <tsiolis.g@gmail.com>
* add `prebuildDefaultBranchOnly` to `Project.settings`
* evaluate prebuildDefaultBranchOnly in PrebuildManager
* add "Prebuild the default branch only" checkbox
* fix missin PAPI mapping 🤯
* fix PrebuildDefaultBranchOnly in gitpod-service.go
* turn text input into select input
* update styles on project settings page
* mimic old behavior for pre-existing projects
* use getPrebuildBranchStrategy in PrebuildManager
* add tests for PrebuildManager.prebuildPrecondition
* fix getPrebuildEvents
* explicit settings under the project should have precedence
* render changes to project settings immediately