* Add repo migrate coachmark
* Public API: `coachmarksDismissals`
* Early exit for new signups
* Try to inject dismissal to link
* Dismiss on path visit
* Align to the left
* Dismiss on trigger
* Simplify show logic
Co-authored-by: Siddhant Khare <siddhant@gitpod.io>
* Consider `showPrebuildsMenuItem` when hiding projects
* update tests
* Adjust date for testing
* fix projects hide condition
* Fix repo link id ref
* Do not dismiss accidentally
* up-date
* move prebuild detail to correct folder
* Make sure errors are displayed properly for prebuilds list
* don't throw
* Report dismiss
---------
Co-authored-by: Siddhant Khare <siddhant@gitpod.io>
* 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 :/
* 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
* Init ws db tests
* Rename list item comp accordingly
T'was an oopsie doopsie
* Test configuration ids and branches filtering
* Define `ListOrganizationPrebuilds`
* Fix because of name changes
* Add unimplemented `listOrganizationPrebuilds`
* Crazy stuff right here
* Address huiwen's comments
* Fix more types
* sad™
* trrr
* WIP API changes
* Add configuration id and search term filtering
* Filtering
* Offload prebuild listing to prebuild manager
* unused thingy delete
* Add filtering by status
* `listPrebuilds` -> `listOrganizationPrebuilds`
* Configuration filtering could be done with a branch
... what do you say?
* Implement branch filtering
* Update pagination rules
* Fix pagination limit validation error
* Migrate one more
* Fix org id for prebuild listing
* Update components/gitpod-db/src/typeorm/workspace-db-impl.ts
Co-authored-by: Siddhant Khare <siddhant@gitpod.io>
* Apply code suggestions
* Align pagination with config service
* Status filter validation
* Align org id usage
* Revert back to `listPrebuilds`
* Update components/gitpod-db/src/typeorm/workspace-db-impl.ts
Co-authored-by: Siddhant Khare <siddhant@gitpod.io>
* Bring in search
* Fix proj id instead of org id
* Fix search query‽‽‽
* nit 💄
---------
Co-authored-by: Siddhant Khare <siddhant@gitpod.io>
Co-authored-by: Huiwen Huang <huiwen@gitpod.io>
* 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>
* [dashboard] remove unused service mock
* [dashboard] use `GetAuthenticatedUser` instead of `getLoggedInUser`
* fixup: override workspaceAutostartOptions
also fix toDurationString call
* fixup: move `isOnboardingUser` to dashboard
* fixup: move getProfile from protocol to common
* fixup fromWorkspaceAutostartOption
* move getPrimaryEmail to common and clean up
* rm getProfile from protocol, use ProfileDetails
* fixup missing leeway dependencies
* fix getPrimaryEmail
* fix resetting workspace timeout
* [gitpod-db] remove dependency to `@gitpod/public-api-common`
* cleanup BUILD.yaml