Skip to content

docs: refactor routing doc - #35566

Closed
kapunahelewong wants to merge 1 commit into
angular:masterfrom
kapunahelewong:router-refactor
Closed

kapunahelewong wants to merge 1 commit into
angular:masterfrom
kapunahelewong:router-refactor

Conversation

@kapunahelewong

Copy link
Copy Markdown
Contributor

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: N/A

What is the new behavior?

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

@pullapprove
pullapprove Bot requested a review from atscott February 19, 2020 22:45
@ngbot ngbot Bot modified the milestone: Backlog Feb 19, 2020
@kapunahelewong kapunahelewong changed the title docs: refactor routing doc [WIP]docs: refactor routing doc Feb 19, 2020
@mary-poppins

Copy link
Copy Markdown

You can preview 361cbd0 at https://pr35566-361cbd0.ngbuilds.io/.

@mary-poppins

Copy link
Copy Markdown

You can preview a545f6b at https://pr35566-a545f6b.ngbuilds.io/.

@mary-poppins

Copy link
Copy Markdown

You can preview 8e1340d at https://pr35566-8e1340d.ngbuilds.io/.

@mary-poppins

Copy link
Copy Markdown

You can preview c844c1a at https://pr35566-c844c1a.ngbuilds.io/.

@mary-poppins

Copy link
Copy Markdown

You can preview cc3f85f at https://pr35566-cc3f85f.ngbuilds.io/.

@kapunahelewong kapunahelewong changed the title [WIP]docs: refactor routing doc docs: refactor routing doc Mar 5, 2020
@pullapprove
pullapprove Bot requested a review from kara March 5, 2020 18:53
@mary-poppins

Copy link
Copy Markdown

You can preview bd4fd20 at https://pr35566-bd4fd20.ngbuilds.io/.

Comment thread aio/content/guide/router.md Outdated
Comment thread aio/content/guide/router.md Outdated
Comment thread aio/content/guide/router.md Outdated
Comment thread aio/content/guide/router.md Outdated
Comment thread aio/content/guide/router.md Outdated
Comment thread aio/content/guide/router.md Outdated
Comment thread aio/content/guide/router.md Outdated
Comment thread aio/content/guide/router.md Outdated
Comment thread aio/content/guide/router.md Outdated
Comment thread aio/content/guide/router.md Outdated

@atscott atscott 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.

Approved from technical standpoint. I can re-review if there are changes requested from Dave.

Comment thread aio/content/examples/router/src/app/auth/auth.guard.2.ts Outdated
Comment thread aio/content/examples/router/src/app/auth/auth.guard.3.ts Outdated
Comment thread aio/content/examples/router/src/app/auth/auth.guard.4.ts Outdated
Comment thread aio/content/examples/router/src/app/auth/auth.guard.ts Outdated
@mary-poppins

Copy link
Copy Markdown

You can preview a47d9c1 at https://pr35566-a47d9c1.ngbuilds.io/.

@aikithoughts aikithoughts left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I am about halfway through my review, but thought I'd send you these comments to get started.

Comment thread aio/content/guide/router.md Outdated
Comment thread aio/content/guide/router.md Outdated
Comment thread aio/content/guide/router.md Outdated
Comment thread aio/content/guide/router.md Outdated
Comment thread aio/content/guide/router.md Outdated
Comment thread aio/content/guide/router.md Outdated
Comment thread aio/content/guide/router.md Outdated
Comment thread aio/content/guide/router.md Outdated
Comment thread aio/content/guide/router.md Outdated
Comment thread aio/content/guide/router.md Outdated
@mary-poppins

Copy link
Copy Markdown

You can preview 4e89666 at https://pr35566-4e89666.ngbuilds.io/.

@aikithoughts aikithoughts left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

One last change. I think this is enough for this PR. Next steps, however, include:

  1. Refining the section on accessing query parameters to be as straightforward/minimal as possible.
  2. Move the content on lazy loading and preloading into the Lazy Loading topic.
  3. Move the tutorial to a new top-level section, Tutorials, in the guide.

Comment thread aio/content/guide/router.md Outdated

@atscott atscott 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.

Reviewed-for: fw-router

LGTM with a few additional nits

Comment thread aio/content/guide/router.md Outdated
Comment thread aio/content/guide/router.md Outdated
Comment thread aio/content/guide/router.md Outdated
Comment thread aio/content/guide/router.md Outdated
Comment thread aio/content/guide/router.md Outdated
@mary-poppins

Copy link
Copy Markdown

You can preview 897f521 at https://pr35566-897f521.ngbuilds.io/.

@mary-poppins

Copy link
Copy Markdown

You can preview faeb1e5 at https://pr35566-faeb1e5.ngbuilds.io/.

@mary-poppins

Copy link
Copy Markdown

You can preview 4639966 at https://pr35566-4639966.ngbuilds.io/.

@kapunahelewong kapunahelewong added target: patch This PR is targeted for the next patch release and removed action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews labels Apr 13, 2020

@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.

Thx for reducing the hard-coded code snippets, @kapunahelewong.
I've left some minor comments (and a couple of suggestions for future PRs) - otherwise lgtm ✨

Comment thread packages/router/src/events.ts Outdated
Comment thread aio/content/examples/router/src/app/auth/auth.guard.3.ts Outdated
Comment thread aio/content/examples/router/src/app/auth/auth.guard.2.ts Outdated
Comment thread aio/content/examples/router/src/app/app.component.8.html Outdated
Comment thread aio/content/examples/router/src/app/app.component.4.ts Outdated
Comment thread aio/content/examples/router/src/app/app.component.4.ts Outdated
Comment thread aio/content/examples/router/src/app/app.component.4.ts Outdated
Comment thread aio/content/examples/router/src/app/app.component.1.ts Outdated
Comment thread aio/content/examples/router/src/app/app-routing.module.7.ts Outdated
Comment thread aio/content/guide/router.md 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.

This could be extracted into a separate docs (a router glossary).
Not necessary on this PR.

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.

Agreed and it will be moved into the glossary in a follow up PR. Thanks!!

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.

@kapunahelewong : I don't think these are glossary-style terms. They are in code font and should probably link to APIs, such as RouterModule. I could see possibly updating the existing Glossary entry to include more terminology.

@gkalpak gkalpak added the action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews label Apr 13, 2020
@kapunahelewong kapunahelewong 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: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews state: needs doc team review labels Apr 13, 2020
@mary-poppins

Copy link
Copy Markdown

You can preview 1a04e38 at https://pr35566-1a04e38.ngbuilds.io/.

@mary-poppins

Copy link
Copy Markdown

You can preview 484e9f9 at https://pr35566-484e9f9.ngbuilds.io/.

@petebacondarwin
petebacondarwin removed their request for review April 14, 2020 20:41
@kapunahelewong
kapunahelewong removed the request for review from clydin April 14, 2020 21:58
@pullapprove
pullapprove Bot requested a review from clydin April 14, 2020 21:58
@kara
kara removed their request for review April 14, 2020 22:19
@pullapprove
pullapprove Bot requested a review from kara April 14, 2020 22:19
@kapunahelewong kapunahelewong removed the action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews label Apr 15, 2020
@mary-poppins

Copy link
Copy Markdown

You can preview ec661b5 at https://pr35566-ec661b5.ngbuilds.io/.

@kara kara 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.

Still LGTM for the browser-support page

@kapunahelewong kapunahelewong added the action: merge The PR is ready for merge by the caretaker label Apr 15, 2020
This rewrite changes headings to focus on user tasks rather than features,
verifies that content is up-to-date and complete, removes colloquial phrases,
adds prerequisites, and expands on a task-based section in the beginning
(a quick reference).
@mary-poppins

Copy link
Copy Markdown

You can preview 745d624 at https://pr35566-745d624.ngbuilds.io/.

@atscott atscott closed this in 305b059 Apr 16, 2020
atscott pushed a commit that referenced this pull request Apr 16, 2020
This rewrite changes headings to focus on user tasks rather than features,
verifies that content is up-to-date and complete, removes colloquial phrases,
adds prerequisites, and expands on a task-based section in the beginning
(a quick reference).

PR Close #35566
@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 May 24, 2020
@kapunahelewong
kapunahelewong deleted the router-refactor branch May 26, 2020 15:19
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 risk: medium target: patch This PR is targeted for the next patch release type: bug/fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants