Skip to content

Commit

Permalink
Update Dart 3 compatible badge text (#6907)
Browse files Browse the repository at this point in the history
* Update Dart 3 compatible badge text

* Regenerate goldens
  • Loading branch information
parlough authored Aug 14, 2023
1 parent c35aba0 commit 4297923
Show file tree
Hide file tree
Showing 16 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion app/lib/frontend/templates/package_misc.dart
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ d.Node nullSafeBadgeNode({String? title}) {
/// Renders the Dart 3 compatible badge.
final dart3CompatibleNode = packageBadgeNode(
label: 'Dart 3 compatible',
title: 'Package is expected to be compatible with Dart 3.',
title: 'Package is compatible with Dart 3.',
);

/// Renders the Dart 3 incompatible badge.
Expand Down
2 changes: 1 addition & 1 deletion app/test/task/testdata/goldens/packages/oxygen.html
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ <h1 class="title">
<span>
<a class="-x-ago" href="" title="%%short-dateformat%%" aria-label="Switch between date and elapsed time." aria-role="button">%%time-ago%%</a>
</span>
<span class="package-badge" title="Package is expected to be compatible with Dart 3.">Dart 3 compatible</span>
<span class="package-badge" title="Package is compatible with Dart 3.">Dart 3 compatible</span>
</div>
<div class="detail-tags-and-like">
<div class="detail-tags">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ <h1 class="title">
<span>
<a class="-x-ago" href="" title="%%short-dateformat%%" aria-label="Switch between date and elapsed time." aria-role="button">%%time-ago%%</a>
</span>
<span class="package-badge" title="Package is expected to be compatible with Dart 3.">Dart 3 compatible</span>
<span class="package-badge" title="Package is compatible with Dart 3.">Dart 3 compatible</span>
</div>
<div class="detail-tags-and-like">
<div class="detail-tags">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ <h1 class="title">
<span>
<a class="-x-ago" href="" title="%%short-dateformat%%" aria-label="Switch between date and elapsed time." aria-role="button">%%time-ago%%</a>
</span>
<span class="package-badge" title="Package is expected to be compatible with Dart 3.">Dart 3 compatible</span>
<span class="package-badge" title="Package is compatible with Dart 3.">Dart 3 compatible</span>
</div>
<div class="detail-tags-and-like">
<div class="detail-tags">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ <h1 class="title">
<span>
<a class="-x-ago" href="" title="%%short-dateformat%%" aria-label="Switch between date and elapsed time." aria-role="button">%%time-ago%%</a>
</span>
<span class="package-badge" title="Package is expected to be compatible with Dart 3.">Dart 3 compatible</span>
<span class="package-badge" title="Package is compatible with Dart 3.">Dart 3 compatible</span>
</div>
<div class="detail-tags-and-like">
<div class="detail-tags">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ <h1 class="title">
<span>
<a class="-x-ago" href="" title="%%short-dateformat%%" aria-label="Switch between date and elapsed time." aria-role="button">%%time-ago%%</a>
</span>
<span class="package-badge" title="Package is expected to be compatible with Dart 3.">Dart 3 compatible</span>
<span class="package-badge" title="Package is compatible with Dart 3.">Dart 3 compatible</span>
</div>
<div class="detail-tags-and-like">
<div class="detail-tags">
Expand Down
2 changes: 1 addition & 1 deletion app/test/task/testdata/goldens/packages/oxygen/score.html
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ <h1 class="title">
<span>
<a class="-x-ago" href="" title="%%short-dateformat%%" aria-label="Switch between date and elapsed time." aria-role="button">%%time-ago%%</a>
</span>
<span class="package-badge" title="Package is expected to be compatible with Dart 3.">Dart 3 compatible</span>
<span class="package-badge" title="Package is compatible with Dart 3.">Dart 3 compatible</span>
</div>
<div class="detail-tags-and-like">
<div class="detail-tags">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ <h1 class="title">
<span>
<a class="-x-ago" href="" title="%%short-dateformat%%" aria-label="Switch between date and elapsed time." aria-role="button">%%time-ago%%</a>
</span>
<span class="package-badge" title="Package is expected to be compatible with Dart 3.">Dart 3 compatible</span>
<span class="package-badge" title="Package is compatible with Dart 3.">Dart 3 compatible</span>
</div>
<div class="detail-tags-and-like">
<div class="detail-tags">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ <h1 class="title">
<span>
<a class="-x-ago" href="" title="%%short-dateformat%%" aria-label="Switch between date and elapsed time." aria-role="button">%%time-ago%%</a>
</span>
<span class="package-badge" title="Package is expected to be compatible with Dart 3.">Dart 3 compatible</span>
<span class="package-badge" title="Package is compatible with Dart 3.">Dart 3 compatible</span>
• Latest:
<span>
<a href="/packages/oxygen">2.0.0</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ <h1 class="title">
<span>
<a class="-x-ago" href="" title="%%short-dateformat%%" aria-label="Switch between date and elapsed time." aria-role="button">%%time-ago%%</a>
</span>
<span class="package-badge" title="Package is expected to be compatible with Dart 3.">Dart 3 compatible</span>
<span class="package-badge" title="Package is compatible with Dart 3.">Dart 3 compatible</span>
• Latest:
<span>
<a href="/packages/oxygen">2.0.0</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ <h1 class="title">
<span>
<a class="-x-ago" href="" title="%%short-dateformat%%" aria-label="Switch between date and elapsed time." aria-role="button">%%time-ago%%</a>
</span>
<span class="package-badge" title="Package is expected to be compatible with Dart 3.">Dart 3 compatible</span>
<span class="package-badge" title="Package is compatible with Dart 3.">Dart 3 compatible</span>
• Latest:
<span>
<a href="/packages/oxygen">2.0.0</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ <h1 class="title">
<span>
<a class="-x-ago" href="" title="%%short-dateformat%%" aria-label="Switch between date and elapsed time." aria-role="button">%%time-ago%%</a>
</span>
<span class="package-badge" title="Package is expected to be compatible with Dart 3.">Dart 3 compatible</span>
<span class="package-badge" title="Package is compatible with Dart 3.">Dart 3 compatible</span>
• Latest:
<span>
<a href="/packages/oxygen">2.0.0</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ <h1 class="title">
<span>
<a class="-x-ago" href="" title="%%short-dateformat%%" aria-label="Switch between date and elapsed time." aria-role="button">%%time-ago%%</a>
</span>
<span class="package-badge" title="Package is expected to be compatible with Dart 3.">Dart 3 compatible</span>
<span class="package-badge" title="Package is compatible with Dart 3.">Dart 3 compatible</span>
• Latest:
<span>
<a href="/packages/oxygen">2.0.0</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ <h1 class="title">
<span>
<a class="-x-ago" href="" title="%%short-dateformat%%" aria-label="Switch between date and elapsed time." aria-role="button">%%time-ago%%</a>
</span>
<span class="package-badge" title="Package is expected to be compatible with Dart 3.">Dart 3 compatible</span>
<span class="package-badge" title="Package is compatible with Dart 3.">Dart 3 compatible</span>
• Latest:
<span>
<a href="/packages/oxygen">2.0.0</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ <h1 class="title">
<span>
<a class="-x-ago" href="" title="%%short-dateformat%%" aria-label="Switch between date and elapsed time." aria-role="button">%%time-ago%%</a>
</span>
<span class="package-badge" title="Package is expected to be compatible with Dart 3.">Dart 3 compatible</span>
<span class="package-badge" title="Package is compatible with Dart 3.">Dart 3 compatible</span>
</div>
<div class="detail-tags-and-like">
<div class="detail-tags">
Expand Down
2 changes: 1 addition & 1 deletion pkg/_pub_shared/lib/search/tags.dart
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ abstract class PackageVersionTags {
///
/// Other version-specific tags are not included to prevent search
/// regressions where we would downrank and/or hide the package in
/// search results (e.g. a version may have compatibilty errors or
/// search results (e.g. a version may have compatibility errors or
/// get `is:legacy` classification).
static const _futurePackageVersionTags = {
PackageVersionTags.isNullSafe,
Expand Down

0 comments on commit 4297923

Please sign in to comment.