* adding repository name
* updating options a bit
* add repositoryName to the response
* update styling
* updating sorting for getSuggestedRepositories and adding tests
* update sorting logic
* tweaking sorting more
* don't show middot when no name is available
* rename type for consistency
* adding aria label
* prioritize projects above user repos
* handle selected projects better
* fix gray icon color
* cleanup: remove obsolete remainings of /prebuild prefix
* Add Project.settings.enablePrebuilds
* PrebuildManager.shouldPrebuild to consider Project.settings.enablePrebuilds
* Don't install webhooks on project creation
* foreseeable change: don't prefetch project details
* fix: unused imports
* redirect to project settings on project created
* don't trigger prebuilds on project created
* fix: get rid of many ListProjects requests on Settings page
* Project Settings: add checkbox for "enable prebuilds"
* handle "enable prebuilds" in server
* updating PAPI
* fixup
* fixup
* make PrebuildManager require a Project to work on
* also SCM webhook handlers
* move project usage registration to PrebuildManager
* address feedback on useListProjectsQuery and useCurrentProject
* remove empty class name attributes
* make use of <InputField> as wrapper for <SelectWorkspaceClassComponent>
* fixup <SelectWorkspaceClassComponent> width
* update hint on "Enable Prebuilds" action
Co-authored-by: George Tsiolis <tsiolis.g@gmail.com>
* fix "enablePrebuild" handling
* add [Enable Prebuilds] button to "Project Created" page
* show detailed prebuild setting only if prebuilds are enabled
* drive-by: fix max width on "Remove Project"
* fix: re-add `loading` state to `useCurrentProject` hook
this caused an issue with loading components as `useListProjectsQuery.isLoading` is false initially.
* add "Enable Prebuilds" to project card
* fixup project-context.tsx
state should only be updated if `useListProjectsQuery` is loaded.
* fixup button type
* add hint to create a .gitpod.yml
* Apply suggestions from code review
Co-authored-by: George Tsiolis <tsiolis.g@gmail.com>
* remove unnecessary !
* extract Project.isPrebuildsEnabled
* fixup: add missing await
* render "Learn more" if not enabled, too.
* fix getCloneUrl for BBS
* fix getCloneUrl for GitLab
---------
Co-authored-by: George Tsiolis <tsiolis.g@gmail.com>
* [server] Reconcile workspace starts using redlock
* [server] Check abortSignal before updating the DB state
* [server] Add feature flag workspace_start_controller
review comments
* Adding getSuggestedRepositories method
* accounting for lastUse better
* limit to org
* remove repoName for now
* add checks
* cleanup
* remove repositoryName for now
* cleanup
* removing repo name for now
* adding tracing
* Wiring up api repo searching for bitbucket server
* adding lodash.debounce dep
* add lodash.debounce types
* Hiding account for bitbucket server
* print host only
* adjust loading state to not be totally blocking
* adjust filtering and query key
* support fetching recent repos
* use search params instead of strings
* adjusting loading component
* cleanup
* wrap incremental search code w/ feature flag
* yarn lock updates
* adding a limit to grab only the first 100 repos
* rename for clarity
* change to call in series to reduce rate limit chances
* renaming cap => maxPages
* fixing some stuttering widths changing as things load
* add alert message for bbs searching
* [server] add `searchString` to `getRepositoriesForAutomatedPrebuilds`
* reintroduce and fix paginated requests
* using a default cap at 10 requests per paginated request
* make getProviderRepositoriesForUser cancellable