Skip to content

feat(aio): marketing, filetree and cleanup - #15911

Merged
petebacondarwin merged 8 commits into
angular:masterfrom
sjtrimble:design-phase-6
Apr 12, 2017
Merged

petebacondarwin merged 8 commits into
angular:masterfrom
sjtrimble:design-phase-6

Conversation

@sjtrimble

Copy link
Copy Markdown
Contributor

Please check if the PR fulfills these requirements

What kind of change does this PR introduce? (check one with "x")

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Other... Please describe:

What is the current behavior? (You can also link to an open issue here)

What is the new behavior?

Does this PR introduce a breaking change? (check one with "x")

[ ] Yes
[x] No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...

Other information:

@mary-poppins

Copy link
Copy Markdown

The angular.io preview for dec5360 is available here.

Comment thread aio/content/marketing/events.html Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

extra space in class

@mary-poppins

Copy link
Copy Markdown

The angular.io preview for 245e7d7 is available here.

@wardbell wardbell left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

I'm not sure about our heading scheme ... why do we begin with H3? Why are we going as deep as H5?

But these are questions for another time.

@wardbell wardbell added the action: merge The PR is ready for merge by the caretaker label Apr 12, 2017
@sjtrimble

Copy link
Copy Markdown
Contributor Author

@wardbell These could be higher level headers and then styles appropriately - I thought we could use h3s and h5s to maintain a balance (in order to not have different styles for each section).

@gkalpak gkalpak left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I left a couple of minor comments.
BTW, the marketing pages feel kind of unstyled right now imo.

Comment thread aio/content/marketing/events.html Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove closing tag as well.

Comment thread aio/content/marketing/features.html Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No hero-title class here?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are removing the hero styles for a cleaner approach.

Comment thread aio/content/marketing/features.html Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No directly related to this PR, but the logo on the button overlaps with the button text.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I addressed this in the updates.

Comment thread aio/src/styles/2-modules/_code.scss Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried in a couple of places and this doesn't seem to have any effect. Does it make a difference somewhere?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment thread aio/src/styles/2-modules/_features.scss Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TBH, I liked the space-between (or even space-around).
Also, flex-direction: row shouldn't be necessary (isn't it the default).

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gkalpak I think removing it helps with the responsiveness and spacing (see below). Is there something in particular you don't like about it that I could modify?

I did remove the flex-direction as that's not necessarily needed.

space-between

space-around

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just think the space-around looks better (even on smaller screens, where it gets centered).
Alternatively, you could have different justify-content for smaller screens.

But I'm not a designer (obviously 😁), so I 100% trust that your judgement on this is better than mine 😃

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is rule is not robust as it is very likely to change. In fact, #15887 is about to change the template, so that the rule never applies. It is better to have a class either on the element you want to style or on the <live-example> itself based on some condition. (I am not sure what you are fixing here, so can't make a more concrete suggestion.)

@sjtrimble sjtrimble Apr 12, 2017 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gkalpak Currently the live example has a non-identifiable <div> that contains and image, and when clicked, contains yet another non-identifiable div with the component. Maybe we can simplify this structure a bit to avoid this?

Ex: http://localhost:4200/test - bottom of page

@gkalpak gkalpak Apr 12, 2017 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The structure of the contents of a <live-example> is determined here. Relying on the exact structure for styling is not a good idea, because it is likely to change (and in fact it so happens that #15887 will replace the <div> in the current structure).

What we should do instead, is identify what exactly it is that you want to style and add a class on it, so that we can preserve the styling even if we move things around.

(If the Angular stuff on the live-example template doesn't make sense to you, let me know 😉)

Comment thread aio/src/styles/2-modules/_table.scss Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this necessary? Isn't it the default?

Comment thread aio/src/styles/2-modules/_table.scss Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this necessary? Isn't it the default?

@gkalpak gkalpak mentioned this pull request Apr 12, 2017
1 of 3 tasks
@petebacondarwin petebacondarwin added action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews and removed action: merge The PR is ready for merge by the caretaker labels Apr 12, 2017
@sjtrimble

Copy link
Copy Markdown
Contributor Author

@gkalpak The intent of this PR was to fix up and clean up the pages and to make them look as close to the original as possible for now. We can implement additional designs in a future PR.

@mary-poppins

Copy link
Copy Markdown

The angular.io preview for 7136563 is available here.

@gkalpak gkalpak left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM except for #15911 (comment).

@googlebot

Copy link
Copy Markdown

So there's good news and bad news.

👍 The good news is that everyone that needs to sign a CLA (the pull request submitter and all commit authors) have done so. Everything is all good there.

😕 The bad news is that it appears that one or more commits were authored by someone other than the pull request submitter. We need to confirm that they're okay with their commits being contributed to this project. Please have them confirm that here in the pull request.

Note to project maintainer: This is a terminal state, meaning the cla/google commit status will not change from this state. It's up to you to confirm consent of the commit author(s) and merge this pull request when appropriate.

@googlebot

Copy link
Copy Markdown

CLAs look good, thanks!

@petebacondarwin
petebacondarwin merged commit 909264f into angular:master Apr 12, 2017
@mary-poppins

Copy link
Copy Markdown

The angular.io preview for 4fb6196 is available here.

@mary-poppins

Copy link
Copy Markdown

The angular.io preview for ff91199 is available here.

@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 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews cla: yes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants