Title: Angular Router tutorial Milestone 3 missing information · Issue #22599 · angular/angular · GitHub
Open Graph Title: Angular Router tutorial Milestone 3 missing information · Issue #22599 · angular/angular
X Title: Angular Router tutorial Milestone 3 missing information · Issue #22599 · angular/angular
Description: I'm submitting a... [x] Documentation issue or request Current behavior Confusing or missing steps in Milestone 3 of the Router section: https://angular.io/guide/router#add-heroes-functionality. The steps as given ask you to make a new d...
Open Graph Description: I'm submitting a... [x] Documentation issue or request Current behavior Confusing or missing steps in Milestone 3 of the Router section: https://angular.io/guide/router#add-heroes-functionality. Th...
X Description: I'm submitting a... [x] Documentation issue or request Current behavior Confusing or missing steps in Milestone 3 of the Router section: https://angular.io/guide/router#add-heroes-functionality...
Opengraph URL: https://github.com/angular/angular/issues/22599
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Angular Router tutorial Milestone 3 missing information","articleBody":"## I'm submitting a...\r\n\u003c!-- Check one of the following options with \"x\" -->\r\n\u003cpre>\u003ccode>\r\n[x] Documentation issue or request\r\n\u003c/code>\u003c/pre>\r\n\r\n## Current behavior\r\n\u003c!-- Describe how the issue manifests. -->\r\nConfusing or missing steps in Milestone 3 of the Router section: https://angular.io/guide/router#add-heroes-functionality. The steps as given ask you to make a new directory, create an empty file, copy the contents of one TypeScript file (app.component.ts) into another (hero-list.component.ts), and then edit a template. \r\n\r\nThe issue is that it never asks you to copy over a specific template, and the TypeScript doesn't contain a template string. The possible html templates to copy over do not quite match the edits requested...or rather, two different ones do. The app.component.html has an h1 tag, but no h2 or hero detail. The heroes.component.html does have an h2 and hero detail, but no h1. \r\n\r\nThis then raises the question of whether the app.component.ts is what you're actually supposed to be copying from, or the heroes.component.ts, as neither html file has the entirety of code expecting to be modified, so it becomes unclear which typescript file is actually intended to be copied.\r\n\r\nAnd then the list of files you are expected to have at the completion of this set of instructions contains only typescript. (hero-detail.component.ts, hero-list.component.ts, hero.service.ts, heroes.module.ts)\r\n\r\n## Expected behavior\r\n\u003c!-- Describe what the desired behavior would be. -->\r\nThe desired behavior would be to explain exactly which files need to be created or copied over, double-checking which file or project should be used to copy information over, and clarity about what should be copied where.\r\n\r\n## What is the motivation / use case for changing the behavior?\r\n\u003c!-- Describe the motivation or the concrete use case. -->\r\nClarity in training and tutelage of new angular developers.\r\n\r\n## Environment\r\nN/A","author":{"url":"https://github.com/mmatlock-shr","@type":"Person","name":"mmatlock-shr"},"datePublished":"2018-03-06T02:29:24Z","url":"https://github.com/angular/angular/issues/22599"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:d276baf9-f4ad-afae-68a1-6f1c4f48139d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DE62:215B92:115FA94:1725798:6B011BB3 |
| html-safe-nonce | 3df2eeb61ce6c18c475f174d55e68fc27e65d4e2aef9710d423159993e1eb1d7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERTYyOjIxNUI5MjoxMTVGQTk0OjE3MjU3OTg6NkIwMTFCQjMiLCJ2aXNpdG9yX2lkIjoiNzE0NzA5MDk3Njk1ODM4OTE3MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 471246ab6b2595d1ca49e35938f170baa7e4fc28f811f90022a7ecacc64e2203 |
| hovercard-subject-tag | issue:302540231 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular/22599/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8b288d3760b7bcd311e254847819358481b6e099a242074f04cdc906f5aa75a2/angular/angular/issues/22599 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8b288d3760b7bcd311e254847819358481b6e099a242074f04cdc906f5aa75a2/angular/angular/issues/22599 |
| og:image:alt | I'm submitting a... [x] Documentation issue or request Current behavior Confusing or missing steps in Milestone 3 of the Router section: https://angular.io/guide/router#add-heroes-functionality. Th... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mmatlock-shr |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular git https://github.com/angular/angular.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 24195339 |
| octolytics-dimension-repository_nwo | angular/angular |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24195339 |
| octolytics-dimension-repository_network_root_nwo | angular/angular |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width