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

Add teams deprecation notice #5121

Closed
wants to merge 1 commit into from
Closed

Conversation

gtsiolis
Copy link
Contributor

@gtsiolis gtsiolis commented Aug 9, 2021

This will add a deprecation notice for existing teams.

Fix #5118.

Deprecation Notice in /teams
Screenshot 2021-08-09 at 6 08 44 PM

@roboquat
Copy link
Contributor

roboquat commented Aug 9, 2021

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
To complete the pull request process, please assign jankoehnlein after the PR has been reviewed.
You can assign the PR to them by writing /assign @jankoehnlein in a comment when ready.

Associated issue: #5118

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@roboquat roboquat requested a review from laushinka August 9, 2021 15:12
@roboquat roboquat added the size/S label Aug 9, 2021
@gtsiolis gtsiolis force-pushed the gt/add-teams-deprecation-notice branch from 3079318 to e0eb1b3 Compare August 9, 2021 15:12
@gtsiolis gtsiolis removed the request for review from laushinka August 9, 2021 15:17
Copy link
Contributor Author

@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.

Reused the same component as in the editor deprecation and garbage collection warning with some small changes to try out a new visual design. What do you think? Feel free to make any suggestions directly on the changes. 🏀

Editor Deprecation Garbage Collection
Screenshot 2021-08-09 at 6 21 14 PM Screenshot 2021-08-09 at 6 18 28 PM

@@ -527,6 +528,16 @@ function AllTeams() {
<div className="flex-grow ">
<h3 className="self-center">All Teams</h3>
<h2>Manage teams and team members.</h2>
<ItemsList className="pt-2">
<Item className="w-full bg-yellow-200 hover:bg-yellow-200 py-6 px-6">
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is also using some new colors for this alert component variant, compared to the component used for Theia deprecation or garbage collection. 🖍️

@@ -527,6 +528,16 @@ function AllTeams() {
<div className="flex-grow ">
<h3 className="self-center">All Teams</h3>
<h2>Manage teams and team members.</h2>
<ItemsList className="pt-2">
<Item className="w-full bg-yellow-200 hover:bg-yellow-200 py-6 px-6">
Copy link
Contributor Author

@gtsiolis gtsiolis Aug 9, 2021

Choose a reason for hiding this comment

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

issue(non-blocking): Added hover:bg-yellow-200 here only to bypass the redundant hover state in this case, most probably introduced in #4454.

<ItemField className=" flex flex-col">
<div className="text-yellow-600 font-semibold">DEPRECATION NOTICE</div>
<p className="text-yellow-800">
Hey! We're introducing <strong>Teams & Projects</strong> to surface <strong>Prebuilds</strong> in the dashboard. All existing teams will be migrated over the upcoming weeks. There's no action required on your side. <a href="/new" className="learn-more">Learn more about Teams & Projects</a> or <a href="/new" className="learn-more">Create a New Team</a>.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

issue(blocking): The first link here should link to some documentation which does not exist yet. Alternatively, We could drop the last sentence here for now and add it back once we have some documentation we can link to.

Suggested change
Hey! We're introducing <strong>Teams & Projects</strong> to surface <strong>Prebuilds</strong> in the dashboard. All existing teams will be migrated over the upcoming weeks. There's no action required on your side. <a href="/new" className="learn-more">Learn more about Teams & Projects</a> or <a href="/new" className="learn-more">Create a New Team</a>.
Hey! We're introducing <strong>Teams & Projects</strong> to surface <strong>Prebuilds</strong> in the dashboard. All existing teams will be migrated over the upcoming weeks. There's no action required on your side.

@@ -527,6 +528,16 @@ function AllTeams() {
<div className="flex-grow ">
<h3 className="self-center">All Teams</h3>
<h2>Manage teams and team members.</h2>
<ItemsList className="pt-2">
Copy link
Contributor Author

Choose a reason for hiding this comment

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

question: Not sure if this needs to be added also below L431 to make it visible at all times. Cc @AlexTugarev

<ItemField className=" flex flex-col">
<div className="text-yellow-600 font-semibold">DEPRECATION NOTICE</div>
<p className="text-yellow-800">
Hey! We're introducing <strong>Teams & Projects</strong> to surface <strong>Prebuilds</strong> in the dashboard. All existing teams will be migrated over the upcoming weeks. There's no action required on your side. <a href="/new" className="learn-more">Learn more about Teams & Projects</a> or <a href="/new" className="learn-more">Create a New Team</a>.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

suggestion: Minor rephrasing to match changes in https://github.com/gitpod-io/gitpod/pull/5126/files#diff-45333399769993ee06ff1de23fb9aaea15cc06ec5a941eb8fef46421082a589eR18:

Suggested change
Hey! We're introducing <strong>Teams & Projects</strong> to surface <strong>Prebuilds</strong> in the dashboard. All existing teams will be migrated over the upcoming weeks. There's no action required on your side. <a href="/new" className="learn-more">Learn more about Teams & Projects</a> or <a href="/new" className="learn-more">Create a New Team</a>.
Hey! We're introducing <strong>Teams & Projects</strong> to surface <strong>Prebuilds</strong> in the dashboard. All existing teams will be migrated over the upcoming weeks. No action is required on your side. <a href="/new" className="learn-more">Learn more about Teams & Projects</a> or <a href="/new" className="learn-more">Create a New Team</a>.

@gtsiolis
Copy link
Contributor Author

gtsiolis commented Aug 30, 2021

/werft run

👍 started the job as gitpod-build-gt-add-teams-deprecation-notice.3

@gtsiolis gtsiolis added feature: teams and projects [DEPRECATED] Please, use feature: organizations or feature: projects labels instead. and removed 🧑‍🚀 crew: teams and projects labels Sep 14, 2021
@stale
Copy link

stale bot commented Sep 28, 2021

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the meta: stale This issue/PR is stale and will be closed soon label Sep 28, 2021
@stale stale bot closed this Oct 3, 2021
@gtsiolis
Copy link
Contributor Author

gtsiolis commented Oct 4, 2021

Keeping this closed, see #5118 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: dashboard do-not-merge/hold feature: teams and projects [DEPRECATED] Please, use feature: organizations or feature: projects labels instead. meta: stale This issue/PR is stale and will be closed soon size/S user experience
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add deprecation warning for the existing teams feature
2 participants