Repository navigation
Release 1.4.12 - #47
Merged
Merged
Conversation
#26 shipped the shortcut remap with no changelog entry and nothing failed. I only caught it writing the 1.3.6 release note from commits instead of from the changelog, which is the wrong direction to read it in. The guard asserts the top entry is the version package.json is on, that it has bullets under it, that no version gets two headings, that versions and dates both run newest first, and that every heading parses in the one format. Red on purpose: package.json moves to 1.3.7 here with no entry to match, which is the exact shape of the thing that went missing.
Green: the top entry is the version package.json is on, and it has something under it. All 46 existing entries already satisfied every assertion, so nothing older had to be rewritten to get here.
The remap shipped in 1.3.4 with no entry. Reconstructed from the four commits on #26 and checked against the source, not just the commit subjects. Added to the existing 1.3.4 entry rather than opening a second heading dated the day it merged. It genuinely shipped in 1.3.4, and a duplicate heading would break both the one-heading-per-version and the date-ordering assertions. Version-accurate beat date-accurate. Documentation repair. No past commits touched.
One plain object goes to an Eager card and an OnPush card. Mutating it updates only the Eager one; replacing it updates both; a shared signal reaches the OnPush card with no input change at all. The cards are styled from the lesson component. Sharing one styles constant between them left an esbuild context open in @angular/build 21.2.18, and ng build and ng test never exited.
Every lesson should get an "On this page" nav over its sections that marks the one in view. ScrollSpy, LessonSection and lesson 10 don't exist yet; the every-lesson spec fails nine times with no nav at all.
LessonSection matches each h2 in a lesson, gives it an id from its text and registers it with ScrollSpy, which the lesson component takes as a host directive. ScrollSpy creates its IntersectionObserver in afterNextRender, so prerender never touches it, and highlights the section in view. The lesson spec's scrollIntoView mock needed a type.
The tag page spec assumed every guide title starts "Angular 0", which stopped being true at lesson 10; it now matches two digits.
CI's typecheck runs plain tsc against a root tsconfig with no files, so it checks nothing. CI never builds, and no job has a time limit. The e2e covers what the fake IntersectionObserver can't: real scrolling.
Lesson 09 said form.reset() only re-rendered the OnPush contact form because a signal write sat next to it. It renders on its own: controls keep touched and status in signals, and NgControlStatus reads them in its host bindings. The new spec resets the form with no other change and no detectChanges(), and the errors clear.
The root tsconfig has no files, so plain tsc --noEmit checked nothing. Typecheck the app and spec configs, run the production build (the only step that prerenders and enforces budgets), and give each job a time limit so a hung builder can't hold a runner for six hours.
The demo runs the real notBlank validator's cases in the page, with a switch that swaps in the whitespace bug lesson 08 fixed so exactly one test goes red.
ProjectsService.search was never written outside its own spec, and the ?q= it built does nothing on /users/:user/repos anyway: GitHub only filters with q on the /search endpoints.
Teach testing with a stricter CI
Add interview practice deck
Trim dead and repeated work
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Release 1.3.6 → 1.4.12. Merging this ships fourteen versions of work to
masterand puts 1.4.12 onangular.paulsumido.com. The main change is a 13-part interactive Angular guide under/thoughts, and each lesson also fixed or improved something real on the site.Cut from
origin/developat c8920f1.masterisn't ahead of develop, so nothing needed merging back in first.What a visitor gets
A 13-lesson Angular guide (1.4.0 to 1.4.12)
Thirteen lessons, from
/thoughts/angular-01-*to/thoughts/angular-13-*, covering:Each lesson has Simple, Intermediate and Expert sections, then Pitfalls and Interview questions. Each one also has live demos, real code from this repo with a copy button, an "On this page" nav, a toggle to mark it read (saved in the browser), and links to the previous and next lesson. Lessons are lazy-loaded, so none of their code is in the initial bundle.
Interview practice deck (1.4.12)
All 78 interview questions from the guide in one flashcard deck: show answer, "Got it", "Ask again", and a topic filter.
Fixes that came out of the lessons
Behind the scenes
ng buildandng testnever exited, caused by two components with identical inline styles (1.4.8).shared/to fix the three layering violations they found (1.4.0).Screenshots
Captured from production builds of
master(before) and this branch (after) at 1024×700, dock hidden.Contact form: a message of only spaces (1.4.7). Before, it was accepted and showed "Message sent successfully!". After, it's rejected with an error linked to the field.
Angular guide lesson (new, 1.4.0 to 1.4.12).
masterhas no lessons, so there's no before. Shown:/thoughts/angular-04-signals.Interview practice deck (new, 1.4.12), in
/thoughts/angular-13-interview.Verify
Run in a clean worktree of
ps/release/1.4.12after a freshnpm ci. I checked each command's exit code rather than its summary line.npm cing testnpm run linttscapp and spec configsnpm run buildTO-DOs for this PR
/thoughts/angular-12-ssronce deployed for no NG05xx errors in the console and a clock that fills in. So far I've only checked the built HTML.e2e/lesson-nav.spec.tshas never been run locally. CI runs it.