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

[sync] 2024/06/01 #1458

Merged
merged 43 commits into from
Jun 3, 2024
Merged

[sync] 2024/06/01 #1458

merged 43 commits into from
Jun 3, 2024

Conversation

AmosHuKe
Copy link
Member

@AmosHuKe AmosHuKe commented Jun 1, 2024

ref #374

dependabot bot and others added 30 commits May 20, 2024 07:48
Bumps [examples/codelabs](https://github.com/flutter/codelabs) from
`85f6a5e` to `c6d179f`.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/flutter/codelabs/commit/c6d179f8c03391904ab9580974f127ae3990331e"><code>c6d179f</code></a>
Bump github/codeql-action from 2.13.4 to 3.25.5 (<a
href="https://redirect.github.com/flutter/codelabs/issues/2201">#2201</a>)</li>
<li>See full diff in <a
href="https://github.com/flutter/codelabs/compare/85f6a5eace5fda835426af3833f2853cb4dde465...c6d179f8c03391904ab9580974f127ae3990331e">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
The `args` in the `asset-transformation` section should be of type list
of strings, not a single string as the documentation shows. Running the
code as in the docs will result in the following issue:

```
Error detected in pubspec.yaml:
Unable to parse assets section.
In transformers section of asset "assets/logo.svg": In args section of transformer using package "vector_graphics_compiler": Expected args to be a list of String, but got --tessellate --font-size=14 (String).
Please correct the pubspec.yaml file
```

This PR convert the args section in the docs to list.
_Description of what this PR is changing or adding, and why:_

_Issues fixed by this PR (if any):_

## Presubmit checklist

- [x] This PR doesn’t contain automatically generated corrections
(Grammarly or similar).
- [x] This PR follows the [Google Developer Documentation Style
Guidelines](https://developers.google.com/style) — for example, it
doesn’t use _i.e._ or _e.g._, and it avoids _I_ and _we_ (first person).
- [x] This PR uses [semantic line
breaks](https://github.com/dart-lang/site-shared/blob/main/doc/writing-for-dart-and-flutter-websites.md#semantic-line-breaks)
of 80 characters or fewer.
Bumps [examples/codelabs](https://github.com/flutter/codelabs) from
`c6d179f` to `0054456`.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/flutter/codelabs/commit/005445682420a00b10aa38f6d2e8ac53d877a897"><code>0054456</code></a>
Bump github/codeql-action from 3.25.5 to 3.25.6 (<a
href="https://redirect.github.com/flutter/codelabs/issues/2203">#2203</a>)</li>
<li>See full diff in <a
href="https://github.com/flutter/codelabs/compare/c6d179f8c03391904ab9580974f127ae3990331e...005445682420a00b10aa38f6d2e8ac53d877a897">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
_Description of what this PR is changing or adding, and why:_

_Issues fixed by this PR (if any):_

## Presubmit checklist

- [x] This PR doesn’t contain automatically generated corrections
(Grammarly or similar).
- [x] This PR follows the [Google Developer Documentation Style
Guidelines](https://developers.google.com/style) — for example, it
doesn’t use _i.e._ or _e.g._, and it avoids _I_ and _we_ (first person).
- [x] This PR uses [semantic line
breaks](https://github.com/dart-lang/site-shared/blob/main/doc/writing-for-dart-and-flutter-websites.md#semantic-line-breaks)
of 80 characters or fewer.
Bumps [github/codeql-action](https://github.com/github/codeql-action)
from 3.25.5 to 3.25.6.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/github/codeql-action/blob/main/CHANGELOG.md">github/codeql-action's
changelog</a>.</em></p>
<blockquote>
<h1>CodeQL Action Changelog</h1>
<p>See the <a
href="https://github.com/github/codeql-action/releases">releases
page</a> for the relevant changes to the CodeQL CLI and language
packs.</p>
<p>Note that the only difference between <code>v2</code> and
<code>v3</code> of the CodeQL Action is the node version they support,
with <code>v3</code> running on node 20 while we continue to release
<code>v2</code> to support running on node 16. For example
<code>3.22.11</code> was the first <code>v3</code> release and is
functionally identical to <code>2.22.11</code>. This approach ensures an
easy way to track exactly which features are included in different
versions, indicated by the minor and patch version numbers.</p>
<h2>[UNRELEASED]</h2>
<p>No user facing changes.</p>
<h2>3.25.6 - 20 May 2024</h2>
<ul>
<li>Update default CodeQL bundle version to 2.17.3. <a
href="https://redirect.github.com/github/codeql-action/pull/2295">#2295</a></li>
</ul>
<h2>3.25.5 - 13 May 2024</h2>
<ul>
<li>Add a compatibility matrix of supported CodeQL Action, CodeQL CLI,
and GitHub Enterprise Server versions to the <a
href="https://github.com/github/codeql-action/blob/main/README.md">https://github.com/github/codeql-action/blob/main/README.md</a>.
<a
href="https://redirect.github.com/github/codeql-action/pull/2273">#2273</a></li>
<li>Avoid printing out a warning for a missing <code>on.push</code>
trigger when the CodeQL Action is triggered via a
<code>workflow_call</code> event. <a
href="https://redirect.github.com/github/codeql-action/pull/2274">#2274</a></li>
<li>The <code>tools: latest</code> input to the <code>init</code> Action
has been renamed to <code>tools: linked</code>. This option specifies
that the Action should use the tools shipped at the same time as the
Action. The old name will continue to work for backwards compatibility,
but we recommend that new workflows use the new name. <a
href="https://redirect.github.com/github/codeql-action/pull/2281">#2281</a></li>
</ul>
<h2>3.25.4 - 08 May 2024</h2>
<ul>
<li>Update default CodeQL bundle version to 2.17.2. <a
href="https://redirect.github.com/github/codeql-action/pull/2270">#2270</a></li>
</ul>
<h2>3.25.3 - 25 Apr 2024</h2>
<ul>
<li>Update default CodeQL bundle version to 2.17.1. <a
href="https://redirect.github.com/github/codeql-action/pull/2247">#2247</a></li>
<li>Workflows running on <code>macos-latest</code> using CodeQL CLI
versions before v2.15.1 will need to either upgrade their CLI version to
v2.15.1 or newer, or change the platform to an Intel MacOS runner, such
as <code>macos-12</code>. ARM machines with SIP disabled, including the
newest <code>macos-latest</code> image, are unsupported for CLI versions
before 2.15.1. <a
href="https://redirect.github.com/github/codeql-action/pull/2261">#2261</a></li>
</ul>
<h2>3.25.2 - 22 Apr 2024</h2>
<p>No user facing changes.</p>
<h2>3.25.1 - 17 Apr 2024</h2>
<ul>
<li>We are rolling out a feature in April/May 2024 that improves the
reliability and performance of analyzing code when analyzing a compiled
language with the <code>autobuild</code> <a
href="https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages#codeql-build-modes">build
mode</a>. <a
href="https://redirect.github.com/github/codeql-action/pull/2235">#2235</a></li>
<li>Fix a bug where the <code>init</code> Action would fail if
<code>--overwrite</code> was specified in
<code>CODEQL_ACTION_EXTRA_OPTIONS</code>. <a
href="https://redirect.github.com/github/codeql-action/pull/2245">#2245</a></li>
</ul>
<h2>3.25.0 - 15 Apr 2024</h2>
<ul>
<li>
<p>The deprecated feature for extracting dependencies for a Python
analysis has been removed. <a
href="https://redirect.github.com/github/codeql-action/pull/2224">#2224</a></p>
<p>As a result, the following inputs and environment variables are now
ignored:</p>
<ul>
<li>The <code>setup-python-dependencies</code> input to the
<code>init</code> Action</li>
<li>The
<code>CODEQL_ACTION_DISABLE_PYTHON_DEPENDENCY_INSTALLATION</code>
environment variable</li>
</ul>
<p>We recommend removing any references to these from your workflows.
For more information, see the release notes for CodeQL Action v3.23.0
and v2.23.0.</p>
</li>
<li>
<p>Automatically overwrite an existing database if found on the
filesystem. <a
href="https://redirect.github.com/github/codeql-action/pull/2229">#2229</a></p>
</li>
<li>
<p>Bump the minimum CodeQL bundle version to 2.12.6. <a
href="https://redirect.github.com/github/codeql-action/pull/2232">#2232</a></p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/github/codeql-action/commit/9fdb3e49720b44c48891d036bb502feb25684276"><code>9fdb3e4</code></a>
Merge pull request <a
href="https://redirect.github.com/github/codeql-action/issues/2300">#2300</a>
from github/update-v3.25.6-63d519c0a</li>
<li><a
href="https://github.com/github/codeql-action/commit/00792ab1e0a5e45d2ff0c2426424bf7044bb27d0"><code>00792ab</code></a>
Update changelog for v3.25.6</li>
<li><a
href="https://github.com/github/codeql-action/commit/63d519c0ae6a4b739e3377a517400c352a7d829b"><code>63d519c</code></a>
Merge pull request <a
href="https://redirect.github.com/github/codeql-action/issues/2295">#2295</a>
from github/update-bundle/codeql-bundle-v2.17.3</li>
<li><a
href="https://github.com/github/codeql-action/commit/0d9161ca1ca47cada43d1520c3ee53b96d4c31b3"><code>0d9161c</code></a>
Merge pull request <a
href="https://redirect.github.com/github/codeql-action/issues/2293">#2293</a>
from github/henrymercer/update-build-mode-autobuild-...</li>
<li><a
href="https://github.com/github/codeql-action/commit/e9e27290e9f6fb2125c88320c1c8cfde73daa118"><code>e9e2729</code></a>
Add changelog note</li>
<li><a
href="https://github.com/github/codeql-action/commit/de1ac31508c6bbe87b7dda97b8eeb62817061fc4"><code>de1ac31</code></a>
Update default bundle to codeql-bundle-v2.17.3</li>
<li><a
href="https://github.com/github/codeql-action/commit/a57c67b89589d2d13d5ac85a9fc4679c7539f94c"><code>a57c67b</code></a>
Merge pull request <a
href="https://redirect.github.com/github/codeql-action/issues/2286">#2286</a>
from github/koesie10/ghec-dr-db-upload</li>
<li><a
href="https://github.com/github/codeql-action/commit/b7ef64ecb1a32c28cb40d1d748bafd2141ad3f7a"><code>b7ef64e</code></a>
Merge pull request <a
href="https://redirect.github.com/github/codeql-action/issues/2294">#2294</a>
from github/dependabot/npm_and_yarn/npm-d3285d5234</li>
<li><a
href="https://github.com/github/codeql-action/commit/e54dea297aa0b91cffca529f0b38a8d62d27e867"><code>e54dea2</code></a>
Update checked-in dependencies</li>
<li><a
href="https://github.com/github/codeql-action/commit/3b42294f03049609faa22c47773030fff8acc188"><code>3b42294</code></a>
Bump the npm group across 1 directory with 4 updates</li>
<li>Additional commits viewable in <a
href="https://github.com/github/codeql-action/compare/b7cec7526559c32f1616476ff32d17ba4c59b2d6...9fdb3e49720b44c48891d036bb502feb25684276">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github/codeql-action&package-manager=github_actions&previous-version=3.25.5&new-version=3.25.6)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
_Description of what this PR is changing or adding, and why:_

Document the `default-flavor` entry in `pubspec.yaml` introduced in
flutter/flutter#147968

_Issues fixed by this PR (if any):_

## Presubmit checklist

- [x] This PR doesn’t contain automatically generated corrections
(Grammarly or similar).
- [x] This PR follows the [Google Developer Documentation Style
Guidelines](https://developers.google.com/style) — for example, it
doesn’t use _i.e._ or _e.g._, and it avoids _I_ and _we_ (first person).
- [x] This PR uses [semantic line
breaks](https://github.com/dart-lang/site-shared/blob/main/doc/writing-for-dart-and-flutter-websites.md#semantic-line-breaks)
of 80 characters or fewer.
_Description of what this PR is changing or adding, and why:_

The link of the umbrella blog post still referred to the 3.19 umbrella
blog post. Replace it with the one for 3.22

_Issues fixed by this PR (if any):_

## Presubmit checklist

- [x] This PR doesn’t contain automatically generated corrections
(Grammarly or similar).
- [x] This PR follows the [Google Developer Documentation Style
Guidelines](https://developers.google.com/style) — for example, it
doesn’t use _i.e._ or _e.g._, and it avoids _I_ and _we_ (first person).
- [x] This PR uses [semantic line
breaks](https://github.com/dart-lang/site-shared/blob/main/doc/writing-for-dart-and-flutter-websites.md#semantic-line-breaks)
of 80 characters or fewer.
_Description of what this PR is changing or adding, and why:_

there is a minor issue with [this page](https://docs.flutter.dev/dash).
Please see orange line on attached screenshot

<img width="1026" alt="Screenshot 2024-05-21 at 5 58 22 PM"
src="https://github.com/flutter/website/assets/10343861/5f762a15-569e-4389-a852-0e2ed7cab095">

_Issues fixed by this PR (if any):_

N/A

## Presubmit checklist

- [x] This PR doesn’t contain automatically generated corrections
(Grammarly or similar).
- [x] This PR follows the [Google Developer Documentation Style
Guidelines](https://developers.google.com/style) — for example, it
doesn’t use _i.e._ or _e.g._, and it avoids _I_ and _we_ (first person)
    -> Not applicable IMO
- [x] This PR uses [semantic line
breaks](https://github.com/dart-lang/site-shared/blob/main/doc/writing-for-dart-and-flutter-websites.md#semantic-line-breaks)
of 80 characters or fewer.
fix type, added 'with'

## Presubmit checklist

- [x] This PR doesn’t contain automatically generated corrections
(Grammarly or similar).
- [x] This PR follows the [Google Developer Documentation Style
Guidelines](https://developers.google.com/style) — for example, it
doesn’t use _i.e._ or _e.g._, and it avoids _I_ and _we_ (first person).
- [x] This PR uses [semantic line
breaks](https://github.com/dart-lang/site-shared/blob/main/doc/writing-for-dart-and-flutter-websites.md#semantic-line-breaks)
of 80 characters or fewer.

Co-authored-by: Anthony Sansone <[email protected]>
- Fixes the link from the index FWE page to the Networking page. 
- Adds all prev/next links for FWE pages

## Presubmit checklist

- [x] This PR doesn’t contain automatically generated corrections
(Grammarly or similar).
- [x] This PR follows the [Google Developer Documentation Style
Guidelines](https://developers.google.com/style) — for example, it
doesn’t use _i.e._ or _e.g._, and it avoids _I_ and _we_ (first person).
- [x] This PR uses [semantic line
breaks](https://github.com/dart-lang/site-shared/blob/main/doc/writing-for-dart-and-flutter-websites.md#semantic-line-breaks)
of 80 characters or fewer.
Reverts flutter/website#10632. This PR added documentation for a feature
that has not yet landed in stable (nor master, for that matter).
_Description of what this PR is changing or adding, and why:_

Document new feature (setting default flavor in pubspec.yaml) introduced
in flutter/flutter#147968

This is a new version of flutter/website#10632,
please only merge once the PR above is released

_Issues fixed by this PR (if any):_

flutter/flutter#22856

## Presubmit checklist

- [x] This PR doesn’t contain automatically generated corrections
(Grammarly or similar).
- [x] This PR follows the [Google Developer Documentation Style
Guidelines](https://developers.google.com/style) — for example, it
doesn’t use _i.e._ or _e.g._, and it avoids _I_ and _we_ (first person).
- [x] This PR uses [semantic line
breaks](https://github.com/dart-lang/site-shared/blob/main/doc/writing-for-dart-and-flutter-websites.md#semantic-line-breaks)
of 80 characters or fewer.
Fixes flutter/website#10613 for the common
case of a `$` terminal marker for the `console` language. It looks at
each line's contents to determine if the line starts with a `$`, then
removes that and adds a CSS class to add it instead.
…able on stable (#10646)

Reverts flutter/website#10642.

This is a similar story to
flutter/website#10641. TL;DR a contributor
merged a new feature into the master branch of flutter/flutter and also
kindly drafted a website change to document this feature. However, this
change shouldn't have been merged until the feature is actually
available on the stable channel.
This PR is to correct the parameter name in the migration guide:
 * `schemeVariant` -> `dynamicSchemeVariant`
 * `FromSeedVariant ` -> `DynamicSchemeVariant `
 
 Fixes flutter/flutter#148359

## Presubmit checklist

- [x] This PR doesn’t contain automatically generated corrections
(Grammarly or similar).
- [x] This PR follows the [Google Developer Documentation Style
Guidelines](https://developers.google.com/style) — for example, it
doesn’t use _i.e._ or _e.g._, and it avoids _I_ and _we_ (first person).
- [x] This PR uses [semantic line
breaks](https://github.com/dart-lang/site-shared/blob/main/doc/writing-for-dart-and-flutter-websites.md#semantic-line-breaks)
of 80 characters or fewer.
Adding a shortlink for docs.flutter.dev/predictive-back for @mariamhas!
Adds a go link for a design doc. Addresses[
issue/148981](flutter/flutter#148981)

## Presubmit checklist

- [x] This PR doesn’t contain automatically generated corrections
(Grammarly or similar).
- [x] This PR follows the [Google Developer Documentation Style
Guidelines](https://developers.google.com/style) — for example, it
doesn’t use _i.e._ or _e.g._, and it avoids _I_ and _we_ (first person).
- [x] This PR uses [semantic line
breaks](https://github.com/dart-lang/site-shared/blob/main/doc/writing-for-dart-and-flutter-websites.md#semantic-line-breaks)
of 80 characters or fewer.
_Description of what this PR is changing or adding, and why:_ Add myself
as CODEOWNER for iOS- and macOS-specific docs content.

_Issues fixed by this PR (if any):_ None, follow up from conversation
with @atsansone.

## Presubmit checklist

- [x] This PR doesn’t contain automatically generated corrections
(Grammarly or similar).
- [x] This PR follows the [Google Developer Documentation Style
Guidelines](https://developers.google.com/style) — for example, it
doesn’t use _i.e._ or _e.g._, and it avoids _I_ and _we_ (first person).
- [x] This PR uses [semantic line
breaks](https://github.com/dart-lang/site-shared/blob/main/doc/writing-for-dart-and-flutter-websites.md#semantic-line-breaks)
of 80 characters or fewer.
_Description of what this PR is changing or adding, and why:_ Fix minor
issues in the iOS add-to-app tutorial.

_Issues fixed by this PR (if any):_

## Presubmit checklist

- [x] This PR doesn’t contain automatically generated corrections
(Grammarly or similar).
- [x] This PR follows the [Google Developer Documentation Style
Guidelines](https://developers.google.com/style) — for example, it
doesn’t use _i.e._ or _e.g._, and it avoids _I_ and _we_ (first person).
- [x] This PR uses [semantic line
breaks](https://github.com/dart-lang/site-shared/blob/main/doc/writing-for-dart-and-flutter-websites.md#semantic-line-breaks)
of 80 characters or fewer.
Also completes some nearby cleanup.

Contributes to flutter/website#8889
Contributes to flutter/website#8030
3ettilina and others added 12 commits May 27, 2024 11:20
_Description of what this PR is changing or adding, and why:_
This is a short PR, containing an enhancement to easily copy and paste a
block of code when going through the [Flutter Gradle Plugin
Apply](https://docs.flutter.dev/release/breaking-changes/flutter-gradle-plugin-apply)
documentation.

This is how it currently looks:
<img width="727" alt="image"
src="https://github.com/flutter/website/assets/10886846/d9f6f924-cc67-4043-94d8-41852b489d50">

The change made is removing the "+" signs of the _differ_ block of code
and change the type to _groovy_, so when somebody copies the code, it
can be paste straight away without removing those signs.

So it looks more like this code block on another part of the same
document.

<img width="719" alt="image"
src="https://github.com/flutter/website/assets/10886846/4048c954-5cab-4dc0-95ec-e0340aabcae5">



_Issues fixed by this PR (if any):_

## Presubmit checklist

- [x] This PR doesn’t contain automatically generated corrections
(Grammarly or similar).
- [x] This PR follows the [Google Developer Documentation Style
Guidelines](https://developers.google.com/style) — for example, it
doesn’t use _i.e._ or _e.g._, and it avoids _I_ and _we_ (first person).
- [x] This PR uses [semantic line
breaks](https://github.com/dart-lang/site-shared/blob/main/doc/writing-for-dart-and-flutter-websites.md#semantic-line-breaks)
of 80 characters or fewer.
Enables the mechanism for
flutter/website#10530 to be implemented, by
adding a `title` attribute to DartPad code blocks.

````markdown
```dartpad run="true" title="The classic hello world program in Dart!"
void main() {
  print('Hello world!');
}
```
````

Contributes to flutter/website#10530

@atsansone After this lands, feel free to add titles to the embedded
DartPads. I'd be happy to review!

I'll follow up with similar changes for dart.dev
### Description

Fixes #10667 
This PR fixes the broken image in dash page. 

Exisiting: 
<img width="1074" alt="image"
src="https://github.com/flutter/website/assets/41873024/6e6066ca-9ae4-4f25-b3ea-fd479893a375">

After Fix:
<img width="1265" alt="image"
src="https://github.com/flutter/website/assets/41873024/bd69d71e-4581-441f-946e-08c6d4659a4f">


## Presubmit checklist

- [X] This PR doesn’t contain automatically generated corrections
(Grammarly or similar).
- [X] This PR follows the [Google Developer Documentation Style
Guidelines](https://developers.google.com/style) — for example, it
doesn’t use _i.e._ or _e.g._, and it avoids _I_ and _we_ (first person).
- [X] This PR uses [semantic line
breaks](https://github.com/dart-lang/site-shared/blob/main/doc/writing-for-dart-and-flutter-websites.md#semantic-line-breaks)
of 80 characters or fewer.
_Description of what this PR is changing or adding, and why:_

Fixes #10554 

## Presubmit checklist

- [ ] This PR doesn’t contain automatically generated corrections
(Grammarly or similar).
- [ ] This PR follows the [Google Developer Documentation Style
Guidelines](https://developers.google.com/style) — for example, it
doesn’t use _i.e._ or _e.g._, and it avoids _I_ and _we_ (first person).
- [ ] This PR uses [semantic line
breaks](https://github.com/dart-lang/site-shared/blob/main/doc/writing-for-dart-and-flutter-websites.md#semantic-line-breaks)
of 80 characters or fewer.
_Description of what this PR is changing or adding, and why:_

Fixes #8224 

## Presubmit checklist

- [ ] This PR doesn’t contain automatically generated corrections
(Grammarly or similar).
- [ ] This PR follows the [Google Developer Documentation Style
Guidelines](https://developers.google.com/style) — for example, it
doesn’t use _i.e._ or _e.g._, and it avoids _I_ and _we_ (first person).
- [ ] This PR uses [semantic line
breaks](https://github.com/dart-lang/site-shared/blob/main/doc/writing-for-dart-and-flutter-websites.md#semantic-line-breaks)
of 80 characters or fewer.

---------

Co-authored-by: Shams Zakhour (ignore Sfshaza) <[email protected]>
fixes [Add "Flutter Engineering" to books
page](flutter/website#10672)

## Presubmit checklist

- [x] This PR doesn’t contain automatically generated corrections
(Grammarly or similar).
- [x] This PR follows the [Google Developer Documentation Style
Guidelines](https://developers.google.com/style) — for example, it
doesn’t use _i.e._ or _e.g._, and it avoids _I_ and _we_ (first person).
- [x] This PR uses [semantic line
breaks](https://github.com/dart-lang/site-shared/blob/main/doc/writing-for-dart-and-flutter-websites.md#semantic-line-breaks)
of 80 characters or fewer.
Also fixes a few broken image links and spelling mistakes :)
After this lands and you update your `main` or includes its changes, you
might need to
[update](https://nodejs.org/en/download/prebuilt-installer) your Node
version to the latest v20 LTS, run `corepack install`, and `pnpm
upgrade`.

The newer Node version comes with a new API that I'd like that to use in
the 11ty configuration.
@AmosHuKe AmosHuKe requested a review from a team as a code owner June 1, 2024 11:58
@AmosHuKe AmosHuKe marked this pull request as draft June 1, 2024 12:24
@AmosHuKe AmosHuKe marked this pull request as ready for review June 1, 2024 15:28
@AmosHuKe AmosHuKe merged commit b181aaf into cfug:main Jun 3, 2024
7 checks passed
@AmosHuKe AmosHuKe deleted the sync-20240601 branch June 3, 2024 05:24
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.