Skip to content

feat(docs-infra): white background and corresponding figure updates#28396

Closed
sjtrimble wants to merge 1 commit into
angular:masterfrom
sjtrimble:bgcolor-cards-figures
Closed

feat(docs-infra): white background and corresponding figure updates#28396
sjtrimble wants to merge 1 commit into
angular:masterfrom
sjtrimble:bgcolor-cards-figures

Conversation

@sjtrimble

Copy link
Copy Markdown
Contributor
  • Update layout background to white for improved legibility
  • Update figure styles to be more visually appealing and easily identifiable in new white background (similar to Google Material Design documentation site examples)

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • angular.io application / infrastructure changes
  • Other... Please describe:

What is the current behavior?

Issue Number: #23983

What is the new behavior?

  • White background on general layout where reading text can be found
  • Figures now have a gray lightbox to be more easily identifiable and its images sit within a card to match the Material Design guidelines / styles

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

@sjtrimble sjtrimble requested review from a team, brandonroberts and gkalpak January 28, 2019 00:08
@ngbot ngbot Bot added this to the needsTriage milestone Jan 28, 2019
@sjtrimble

Copy link
Copy Markdown
Contributor Author

Updated figures style for reference:
aio-figures

Format requires:
<figure class="lightbox">...
<div class="card">...
<img>...

FYI @jenniferfell

@mary-poppins

Copy link
Copy Markdown

You can preview b888309 at https://pr28396-b888309.ngbuilds.io/.

@sjtrimble sjtrimble force-pushed the bgcolor-cards-figures branch 2 times, most recently from 024cb08 to 6cc8a85 Compare January 28, 2019 00:14
@mary-poppins

Copy link
Copy Markdown

You can preview 024cb08 at https://pr28396-024cb08.ngbuilds.io/.

@mary-poppins

Copy link
Copy Markdown

You can preview 6cc8a85 at https://pr28396-6cc8a85.ngbuilds.io/.

@IgorMinar

Copy link
Copy Markdown
Contributor

If I run accessibility test against the homepage preview of this pr at web.dev I still get the following warning:
screenshot_20190127-201214

@IgorMinar

Copy link
Copy Markdown
Contributor

Can you please take a look and test the preview urls on web.dev? Thanks!

@sjtrimble

Copy link
Copy Markdown
Contributor Author

Yes I'll take a look. I'm not sure why it's saying that because a lot of the colors meet WCAG AAA requirements.

@sjtrimble sjtrimble force-pushed the bgcolor-cards-figures branch from 6cc8a85 to a2a866c Compare January 30, 2019 19:54
@mary-poppins

Copy link
Copy Markdown

You can preview a2a866c at https://pr28396-a2a866c.ngbuilds.io/.

@sjtrimble sjtrimble force-pushed the bgcolor-cards-figures branch from a2a866c to faa0f3d Compare January 30, 2019 19:59
@mary-poppins

Copy link
Copy Markdown

You can preview faa0f3d at https://pr28396-faa0f3d.ngbuilds.io/.

@sjtrimble

Copy link
Copy Markdown
Contributor Author

I ran a check on several of the elements - see the color contrast scores. I did update the footer to meet WCAG AA requirements.

aio-accessibility-color-review

@sjtrimble sjtrimble force-pushed the bgcolor-cards-figures branch from faa0f3d to c072a15 Compare January 30, 2019 20:06
@mary-poppins

Copy link
Copy Markdown

You can preview c072a15 at https://pr28396-c072a15.ngbuilds.io/.

@sjtrimble sjtrimble force-pushed the bgcolor-cards-figures branch from c072a15 to fe5094c Compare January 30, 2019 20:21
@mary-poppins

Copy link
Copy Markdown

You can preview fe5094c at https://pr28396-fe5094c.ngbuilds.io/.

@petebacondarwin

Copy link
Copy Markdown
Contributor

@petebacondarwin

Copy link
Copy Markdown
Contributor

@sjtrimble I think you will need to rebase to fix the CI build failure.

@sjtrimble sjtrimble force-pushed the bgcolor-cards-figures branch from fe5094c to 7a34c7b Compare February 11, 2019 19:58
@mary-poppins

Copy link
Copy Markdown

You can preview 7a34c7b at https://pr28396-7a34c7b.ngbuilds.io/.

@sjtrimble

Copy link
Copy Markdown
Contributor Author

@petebacondarwin I just rebased and pushed, hopefully that fixes the build failure. I will work on the other accessibility items separately and work through replacing the figures with the new layout throughout the site.

@petebacondarwin

Copy link
Copy Markdown
Contributor

re-ran jobs a few times but this seems to fail consistently

screenshot 2019-02-13 at 10 19 39

@sjtrimble

Copy link
Copy Markdown
Contributor Author

@petebacondarwin This never got merged, right? What do we need to do to move it forward (besides rebasing)?

@petebacondarwin

petebacondarwin commented Apr 17, 2019

Copy link
Copy Markdown
Contributor

Can you ensure that the e2e tests pass please.

@sjtrimble sjtrimble force-pushed the bgcolor-cards-figures branch from 7a34c7b to 621cdea Compare May 31, 2019 21:04
@mary-poppins

Copy link
Copy Markdown

You can preview 621cdea at https://pr28396-621cdea.ngbuilds.io/.

@sjtrimble sjtrimble force-pushed the bgcolor-cards-figures branch from 621cdea to af60549 Compare June 5, 2019 18:50
@mary-poppins

Copy link
Copy Markdown

You can preview af60549 at https://pr28396-af60549.ngbuilds.io/.

@brandonroberts brandonroberts added effort3: weeks target: patch This PR is targeted for the next patch release risk: medium refactoring Issue that involves refactoring or code-cleanup labels Jun 5, 2019
@ngbot ngbot Bot modified the milestones: needsTriage, Backlog Jun 5, 2019
@sjtrimble

Copy link
Copy Markdown
Contributor Author

@petebacondarwin Ready for you to review/approve, tests are now passing

@petebacondarwin petebacondarwin added the action: merge The PR is ready for merge by the caretaker label Jun 6, 2019
@mhevery mhevery closed this in 383ab85 Jun 6, 2019
@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 15, 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 effort3: weeks refactoring Issue that involves refactoring or code-cleanup risk: medium target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants