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

Retrieve & Copy Org Id in Org settings #18785

Merged
merged 2 commits into from
Sep 25, 2023
Merged

Retrieve & Copy Org Id in Org settings #18785

merged 2 commits into from
Sep 25, 2023

Conversation

Siddhant-K-code
Copy link
Member

@Siddhant-K-code Siddhant-K-code commented Sep 23, 2023

Description

It aims to retrieve and copy Organization Id in Organization settings which can be used in enabling Org level feature flags & in user's integrations of Gitpod APIs (such as this experimental project)

Also, related #15654

See this internal discussion

Summary generated by Copilot

🤖 Generated by Copilot at 15dbabd

Added a feature to display and copy the organization ID in the team settings page. Modified TeamSettings.tsx to use the InputWithCopy component.

Related Issue(s)

Fixes #

How to test

  • Open preview URL
  • Login & Go to /settings
  • See Organization Id section 👀

Documentation

Preview status

Gitpod was successfully deployed to your preview environment.

Build Options

Build
  • /werft with-werft
    Run the build with werft instead of GHA
  • leeway-no-cache
  • /werft no-test
    Run Leeway with --dont-test
Publish
  • /werft publish-to-npm
  • /werft publish-to-jb-marketplace
Installer
  • analytics=segment
  • with-dedicated-emulation
  • workspace-feature-flags
    Add desired feature flags to the end of the line above, space separated
Preview Environment / Integration Tests
  • /werft with-local-preview
    If enabled this will build install/preview
  • /werft with-preview
  • /werft with-large-vm
  • /werft with-gce-vm
    If enabled this will create the environment on GCE infra
  • with-integration-tests=all
    Valid options are all, workspace, webapp, ide, jetbrains, vscode, ssh. If enabled, with-preview and with-large-vm will be enabled.
  • with-monitoring

/hold

Copy link
Contributor

@gtsiolis gtsiolis left a comment

Choose a reason for hiding this comment

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

UX LGTM and inline with the corresponding user ID in account settings, even though UX for both case could be improved later on.

Left one non-blocking comment.

Thanks, @Siddhant-K-code. 🌮

components/dashboard/src/teams/TeamSettings.tsx Outdated Show resolved Hide resolved
Co-authored-by: George Tsiolis <[email protected]>
@Siddhant-K-code
Copy link
Member Author

/unhold

@roboquat roboquat merged commit 7e0aaa9 into main Sep 25, 2023
11 of 12 checks passed
@roboquat roboquat deleted the Org-settings/get-org-id branch September 25, 2023 06:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants