Skip to content

Commit d6a6d0d

Browse files
committed
Update teams and projects beta notice
1 parent 1bcdf0e commit d6a6d0d

File tree

3 files changed

+27
-28
lines changed

3 files changed

+27
-28
lines changed

components/dashboard/src/components/UsageView.tsx

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -268,22 +268,17 @@ function UsageView({ attributionId }: UsageViewProps) {
268268
</div>
269269
</div>
270270
<div className="flex flex-col truncate mt-8 text-sm">
271-
<div className="text-gray-400 dark:text-gray-500">
272-
This feature is in{" "}
271+
<div className="text-gray-400 dark:text-gray-500 text-sm text-left">
272+
<strong>Usage</strong> feature is in{" "}
273273
<PillLabel
274274
type="warn"
275275
className="font-semibold mt-2 ml-0 py-0.5 px-1 self-center"
276276
>
277-
<span className="text-xs">Early Access</span>
277+
<a href="https://www.gitpod.io/docs/references/gitpod-releases">
278+
<span className="text-xs">Early Access</span>
279+
</a>
278280
</PillLabel>
279281
<br />
280-
<a
281-
href="https://www.gitpod.io/docs/references/gitpod-releases"
282-
className="gp-link"
283-
>
284-
Learn more
285-
</a>
286-
&nbsp;·&nbsp;
287282
<a
288283
href="https://github.com/gitpod-io/gitpod/issues/12636"
289284
className="gp-link"

components/dashboard/src/projects/NewProject.tsx

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ import {
2929
} from "../service/public-api";
3030
import { FeatureFlagContext } from "../contexts/FeatureFlagContext";
3131
import { ConnectError } from "@bufbuild/connect-web";
32+
import PillLabel from "../components/PillLabel";
3233

3334
export default function NewProject() {
3435
const location = useLocation();
@@ -481,17 +482,18 @@ export default function NewProject() {
481482
</div>
482483
</div>
483484
)}
484-
<p className="text-center w-full mt-12 text-gray-500">
485-
<strong>Teams &amp; Projects</strong> are currently in Beta.{" "}
486-
<a
487-
href="https://github.com/gitpod-io/gitpod/issues/5095"
488-
target="gitpod-feedback-issue"
489-
rel="noopener"
490-
className="gp-link"
491-
>
485+
<div className="text-gray-400 dark:text-gray-500 text-sm mt-24 text-left">
486+
<strong>Projects</strong> feature is in{" "}
487+
<PillLabel type="warn" className="font-semibold mt-2 ml-0 py-0.5 px-1 self-center">
488+
<a href="https://www.gitpod.io/docs/references/gitpod-releases">
489+
<span className="text-xs">BETA</span>
490+
</a>
491+
</PillLabel>
492+
&nbsp;&middot;&nbsp;
493+
<a href="https://github.com/gitpod-io/gitpod/issues/5095" className="gp-link">
492494
Send feedback
493495
</a>
494-
</p>
496+
</div>
495497
</>
496498
);
497499

components/dashboard/src/teams/NewTeam.tsx

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import { TeamsContext } from "./teams-context";
1111
import { publicApiTeamsToProtocol, publicApiTeamToProtocol, teamsService } from "../service/public-api";
1212
import { FeatureFlagContext } from "../contexts/FeatureFlagContext";
1313
import { ConnectError } from "@bufbuild/connect-web";
14+
import PillLabel from "../components/PillLabel";
1415

1516
export default function () {
1617
const { setTeams } = useContext(TeamsContext);
@@ -78,17 +79,18 @@ export default function () {
7879
</button>
7980
</div>
8081
</form>
81-
<p className="text-center w-full mt-12 text-gray-500">
82-
<strong>Teams &amp; Projects</strong> are currently in Beta.{" "}
83-
<a
84-
href="https://github.com/gitpod-io/gitpod/issues/5095"
85-
target="gitpod-feedback-issue"
86-
rel="noopener"
87-
className="gp-link"
88-
>
82+
<div className="text-gray-400 dark:text-gray-500 text-sm mt-24 text-left">
83+
<strong>Teams</strong> feature is in{" "}
84+
<PillLabel type="warn" className="font-semibold mt-2 ml-0 py-0.5 px-1 self-center">
85+
<a href="https://www.gitpod.io/docs/references/gitpod-releases">
86+
<span className="text-xs">BETA</span>
87+
</a>
88+
</PillLabel>
89+
&nbsp;&middot;&nbsp;
90+
<a href="https://github.com/gitpod-io/gitpod/issues/5095" className="gp-link">
8991
Send feedback
9092
</a>
91-
</p>
93+
</div>
9294
</div>
9395
);
9496
}

0 commit comments

Comments
 (0)