Skip to content

docs(aio): pngcrush all pngs - #18243

Closed
jelbourn wants to merge 648 commits into
angular:masterfrom
jelbourn:img-opt
Closed

jelbourn wants to merge 648 commits into
angular:masterfrom
jelbourn:img-opt

Conversation

@jelbourn

Copy link
Copy Markdown
Contributor

This is the result of running

find ./ -iname "*.png" -exec pngcrush -brute -ow --  {} \;

Resulting filesize difference

Most of the improvements are pretty small, but there are a few good reductions (122 kb on one image!)

alexeagle and others added 30 commits June 23, 2017 11:52
We expect this behavior because it's what Travis does. Also it's better because we want
to test what happens if we merge the PR, not the status of the PR branch.
Before 4f37f86, we were using `innerText` to retrieved the code content for
copying. This preserved the text layout (including newlines), but suffered from
other issues (browser support, performance). With 4f37f86 we switched to
`textContent`, which works well except in the following case:
When `prettify` formats the code to have line numbers, it removes the newlines
and uses `<li>` elements instead. This affects `textContent`.

This commit fixes this by keeping a reference of the code as text and using that
for copying.

Fixes angular#17659
No practical effect but clears the TS compiler warning.
This commit introduces the ability to show previews for PRs by any author. It works as follows:

- The build artifacts of all PRs are uploaded to the preview server.
- Automatically verified PRs (i.e. from trusted authors or having a specific label) are deployed and
  publicly accessible as usual.
- PRs that could not be automatically verified are stored for later use (after re-verification).
- A PR can be marked as "trusted" and make its preview publicly accessible by adding the GitHub
  label specified in the `AIO_TRUSTED_PR_LABEL` env var of the preview server.

At the moment, there is no automatic mechanism for notifying the preview server about changes to the
PR's verification status. The PR's "visibility" will be checked and updated every time a new build
is uploaded.
PRs that could not be automatically verified will not be publicly accessible,
until manually verified.
ci(aio): Add timestamp and change data
The underlying cause of angular#17386 needs to be investigated and as a
simple string compare should have been valid.
matsko and others added 8 commits July 18, 2017 16:37
Note 4.3 only!

Prior to this fix when [@.disabled] was used in a component that
contained zero animation code it wouldn't register properly because the
renderer associated with that component was not an animation renderer.
This patch ensures that it gets registered even when there are no
animations set.
Fix title and link to RouteConfigLoadEnd documentation
@mary-poppins

Copy link
Copy Markdown

@jelbourn
jelbourn requested a review from petebacondarwin July 20, 2017 19:51
@petebacondarwin petebacondarwin added the action: merge The PR is ready for merge by the caretaker label Jul 20, 2017
@petebacondarwin

Copy link
Copy Markdown
Contributor

The Travis fail is a core e2e test flake and nothing to do with this PR.

@mhevery mhevery closed this in 1bfc77b Jul 20, 2017
mhevery pushed a commit that referenced this pull request Jul 26, 2017
asnowwolf pushed a commit to asnowwolf/angular that referenced this pull request Aug 11, 2017
juleskremer pushed a commit to juleskremer/angular that referenced this pull request Aug 26, 2017
juleskremer pushed a commit to juleskremer/angular that referenced this pull request Aug 28, 2017
jelbourn added a commit to jelbourn/angular that referenced this pull request Jan 31, 2019
This is the result of running
```sh
find ./ -iname "*.png" -exec pngcrush -brute -ow --  {} \;
```

[Summary of size reductions](https://docs.google.com/spreadsheets/d/12Qgx7DfKabWw0PJza6ozC1kCHTofi6wyBLWGtwLW7G4/preview)

Last done in July, 2017 in angular#18243
matsko pushed a commit that referenced this pull request Feb 1, 2019
This is the result of running
```sh
find ./ -iname "*.png" -exec pngcrush -brute -ow --  {} \;
```

[Summary of size reductions](https://docs.google.com/spreadsheets/d/12Qgx7DfKabWw0PJza6ozC1kCHTofi6wyBLWGtwLW7G4/preview)

Last done in July, 2017 in #18243

PR Close #28479
matsko pushed a commit that referenced this pull request Feb 1, 2019
This is the result of running
```sh
find ./ -iname "*.png" -exec pngcrush -brute -ow --  {} \;
```

[Summary of size reductions](https://docs.google.com/spreadsheets/d/12Qgx7DfKabWw0PJza6ozC1kCHTofi6wyBLWGtwLW7G4/preview)

Last done in July, 2017 in #18243

PR Close #28479
@angular-automatic-lock-bot

Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot Bot locked and limited conversation to collaborators Sep 12, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker cla: yes

Projects

None yet

Development

Successfully merging this pull request may close these issues.