Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feat] Added workspace class and editor preferences at Repo, Context and Global levels with cascade #30

Merged
merged 7 commits into from
Mar 16, 2023

Conversation

Palanikannan1437
Copy link
Collaborator

Summary

  • Added support for IDE and workspace class configuration
  • Added global level defaults (compulsorily) as soon as the user uses the Open In Gitpod command for the first time
  • Added repository level defaults configuration support with the shortcut (CMD+W) (optional) -> If not configured, then global defaults are used for launching workspaces
  • Added context level defaults configuration support with the shortcute (CMD+W) (optional) -> If not configured, then repository level defaults are used for launching workspaces

preferences gitpod

@Palanikannan1437 Palanikannan1437 added this to the v1.0.2 milestone Mar 9, 2023
@Palanikannan1437
Copy link
Collaborator Author

@filiptronicek and @Siddhant-K-code, would love your review on this whenever possible!

Copy link

@filiptronicek filiptronicek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great so far!

package.json Show resolved Hide resolved
src/helpers/openInGitpod.ts Outdated Show resolved Hide resolved
@Palanikannan1437
Copy link
Collaborator Author

Is this ready to be merged @filiptronicek? Thank you 😄!

Copy link

@filiptronicek filiptronicek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! :shipit:

@Palanikannan1437 Palanikannan1437 merged commit e82ebb1 into develop Mar 16, 2023
@Palanikannan1437 Palanikannan1437 deleted the preferences branch March 16, 2023 11:27
@Palanikannan1437 Palanikannan1437 restored the preferences branch March 16, 2023 11:28
henit-chobisa added a commit that referenced this pull request Aug 4, 2023
* Update README.md

* Create codeql.yml

* Create dependency-review.yml

* updated things to sync with Raycast store version

* Create SECURITY.md

* [feat] GitHub OAuth added for simpler auth (#27)

* GitHub OAuth added for simpler auth

* [feat] Gitpod samples templates now in Raycast  (#24)

* added gitpod samples' templates

* added better error handling and readability

* loading all default templates

* improved speed by changing schema and fetching all repos as sample queries

* fixed cache invalidation for /me, /p, /b and /i i.e. sections (#32)

* [feat] Added workspace class and editor preferences at Repo, Context and Global levels with cascade  (#30)

* GitHub oAuth added for simpler auth

* added preferences at repo, context and global level with cascading behaviour

* fixed default preferences and added more context in navigation title at bottom

* Delete workspace_preferences.tsx

* added global preferences as default preferences for non-configured repos and contexts

* removed showOptions from url to directly open in the set ide

* added workspace class icons with revalidation and fixed useLatest editor option

* [feat] Added Option to add Host Endpoint preference for Gitpod Dedicated users (#31)

* added global preferences as default preferences for non-configured repos and contexts

* removed showOptions from url to directly open in the set ide

* added configuration for host

* [fix] default preference for gitpod url fixed

* Migrating beta to develop (#38)

* added private store extension

* beta

* gitpod-beta tag added

* author name updated

* renamed owner

* update author

* [feat] Branch, PRs and Issue contexts also have recently visited behaviour for Quick Access (#25)

* branch, pr and issue contexts also have recently visited behaviour

* fixed count of contexts and removed contexts while searching repos

* fixed branch cache and added option to remove contexts and repos from recents

* fixed import for toast

* removed viewer

* Github Asset preview in the extension itself 🧑‍🚀 (#23)

* feat: Issue and PR fragments modified for fetching body

* feat: Branch List Item modified for body preview and actions

* feat: Issue List Item Modified for Show/Hide Preview

* feat: Pull Request List Object modified for show/hide preview

* feat: Open Repo Context has been modified for supporting Previews

---------

Co-authored-by: PalanikannanM <[email protected]>
Co-authored-by: PalanikannanM <[email protected]>

* removed previews for recent repositories window

* fixed ts errors for non compulsory fields

* added logo png file

* generated by codegen and fixed type errors

---------

Co-authored-by: Henit Chobisa <[email protected]>

* add repo and context to recents at your convenience (#40)

* Workspace orchestration (#41)

* chore: Displaced Github APIs

* feat: Updated package.json for websocket connections

* feat: Added API Layer for Gitpod API Connection

* feat: Added Workspace and Update Models

* feat: Added Workspace Manager Service

* feat: Added Gitpod Dashboard

* Updated Gitpod Menu Bar

* fix: Removed Gitpod PAT

* Menu Bar Title Changed

* feedback form added (#42)

* package.json fixed

* Use preference value for Gitpod endpoint everywhere (#39)

- grep'ed for the remaining hardcoded references to gitpod.io and changed them to use the preference value instead

* Error handling (#46)

* feat: Added Workspace Error Object

* feat: Modified Core API to Report Error Events

* feat: Updated Workspace Manager and Model to Catch and Report Errors

* feat: Modified UI Components

* [fix] cache (#47)

* error handling for cache migration

* [fix] minor ui bugs and missing methods to updated cache approach

* ide config

* ide config

* cleaning out cache that's removed

* added vim/terminal option

* feat: Updated Gitpod API as Workspace Streamer with Single Workspace Stream Resp

* feat: Added Start and Stop Methods for Workspace API

* fix: Retired Session token to accept access_token

* feat: Updated Workspace Manager for servicing with access_token

* fix: Added Error Handling to Form Submission

* fix: Added Error Handling to Workspace Start, Stop and Network

* feat: Updated Menubar with Start, Stop and Network Error Handling

* open empty repo feature

* feat: Add Organization Model in API

* feat: Modified Workspace Streamer with Executor Method

* feat: Added Workspace Started Message on Initialize

* feat: Added Workspace Create Static Method

* feat: Added UI Button for Creating Empty Workspace in Menubar

* feat: Added Form Selection for Default Organization

* feat: Added Default Organization form with Workspace Dashboard (#57)

* Create and workspaces from GitHub context (#58)

* feat: Added Revalidation in DefaultOrgForm

* feat: Joined Revalidation from DefaultOrgForm

* feat: Initialized WorkspaceManager in open_in_gitpod command

* feat: Removed Workspace Start Message from Manager

* feat: Added Helper for Creating Workspace from Context

* feat: Added Create and Start Workspaces from Context in Context Items

* feat: Added Menubar Utilities (#59)

* feat: Switch Default Organization Action Added to Gitpod Dashboard and Context Items (#60)

* Bug Fixes (#61)

* feat: Switch Default Organization Action Added to Gitpod Dashboard and Context Items

* feat: Resolved Switch Default Org appearing on active workspace

* chore: Modified menubar icons

* feat: Added Open with SSH Support for both dashbaord and Menubar

* Bug fixes (#62)

* feat: Add repository field in Iworkspace

* fix: Repository not opening in VSCode-Browser

* fix: Start Workspace shown to unauthorised user

* fix: Updated Authorisation in gitpod_dashboard

* fix: Workspace update ideurl on stream update

* feat: Added Error View for Repository and Worksapace

* feat: Added Network Error Safety in Default Org Form

* fix: Handled Network Error in Open Context Tab

* Changed Owner as Gitpod-Community

---------

Co-authored-by: PalanikannanM <[email protected]>
Co-authored-by: PalanikannanM <[email protected]>
Co-authored-by: Mads Hartmann <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Request: Integrate with IDE options + Workspace Classes
2 participants