Skip to content

Commit 7df560d

Browse files
authored
fix: translate v21 feature guides (#1089)
1 parent 729492e commit 7df560d

File tree

13 files changed

+883
-243
lines changed

13 files changed

+883
-243
lines changed

adev-ja/src/app/routing/sub-navigation-data.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ const DOCS_SUB_NAVIGATION_DATA: NavigationItem[] = [
428428
contentPath: 'guide/forms/overview',
429429
},
430430
{
431-
label: 'Signalフォーム',
431+
label: 'シグナルフォーム',
432432
status: 'new',
433433
children: [
434434
{
Lines changed: 150 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,150 @@
1+
# Angular AI Tutor
2+
3+
The Angular AI Tutor is designed to interactively guide you step-by-step through building a complete, modern Angular application from the ground up. You'll learn the latest patterns and best practices by building a real, tangible project: a **"Smart Recipe Box"** for creating and managing recipes.
4+
5+
Our goal is to foster critical thinking and help you retain what you learn. Instead of just giving you code, the tutor will explain concepts, show you examples, and then give you project-specific exercises to solve on your own.
6+
7+
## Get Started
8+
9+
You can access the AI tutor via the [Angular MCP server](ai/mcp).
10+
11+
1. [Install](ai/mcp#get-started) the Angular MCP server
12+
2. Create a new Angular project `ng new <project-name>`
13+
3. Navigate to your new project (`cd <project-name>`) in an AI-powered editor or tool, like the [Gemini CLI](https://geminicli.com/)
14+
4. Enter a prompt like `launch the Angular AI tutor`
15+
![A screenshot demonstrating how to launch the Angular AI Tutor in the Gemini CLI.](assets/images/launch-ai-tutor.png 'Launch the Angular AI Tutor')
16+
17+
## Using the AI Tutor
18+
19+
Each module begins with a brief concept explanation.
20+
![A screenshot of the Angular AI Tutor presenting a brief concept explanation.](assets/images/ai-tutor-preview-1.png 'Angular AI Tutor explanation')
21+
If applicable, the tutor will present a code example to demonstrate the concept.
22+
![A screenshot of the Angular AI Tutor showing a code example.](assets/images/ai-tutor-preview-2.png 'Angular AI Tutor code example')
23+
The tutor will also provide an open-ended exercise to test your understanding.
24+
![A screenshot of the Angular AI Tutor providing an exercise.](assets/images/ai-tutor-preview-3.png 'Angular AI Tutor exercise')
25+
Finally, the tutor will check your work before moving onto the next module.
26+
![A screenshot of the Angular AI Tutor checking the user's work.](assets/images/ai-tutor-preview-4.png 'Angular AI Tutor check')
27+
28+
## How It Works: The Learning Cycle
29+
30+
For each new topic, you'll follow a learning loop that emphasizes critical thinking to help you better retain what you learn.
31+
32+
1. **Learn the Concept:** The tutor will briefly explain a core Angular feature and show you a generic code example to illustrate it.
33+
2. **Apply Your Knowledge:** You'll immediately get a hands-on exercise. The tutor presents these exercises at a high level with objectives and expected outcomes, encouraging you to think through the solution yourself.
34+
3. **Get Feedback & Support:** When you're ready, let the tutor know. It will **automatically read your project files** to verify your solution is correct. If you get stuck, you are in complete control. You can ask for a **"hint"** for more guidance, or get step-by-step instructions by typing **"detailed guide"** or **"step-by-step instructions."**
35+
36+
Once you've succeeded, the tutor will move directly to the next topic. You can also ask the tutor for more information on a topic or ask any related Angular questions at any time.
37+
38+
---
39+
40+
## **Features & Commands**
41+
42+
You are in control of your learning experience. Use these features at any time:
43+
44+
### **Leave and Come Back**
45+
46+
Feel free to take a break. Your progress is tied to your project's code. When you return for a new session, the tutor will automatically analyze your files to determine exactly where you left off, allowing you to seamlessly pick up right where you were.
47+
48+
**Pro Tip:** We highly recommend using Git to save your progress. After completing a module, it's a great idea to commit your changes (e.g., `git commit -m "Complete Phase 1, Module 8"`). This acts as a personal checkpoint you can always return to.
49+
50+
### **Adjust Your Experience Level**
51+
52+
You can set your experience level to **Beginner (1-3)**, **Intermediate (4-7)**, or **Experienced (8-10)**. You can change this setting at any time during your session, and the tutor will immediately adapt its teaching style to match.
53+
54+
**Example Prompts:**
55+
56+
- "Set my experience level to beginner."
57+
- "Change my rating to 8."
58+
59+
### **See the Full Learning Plan**
60+
61+
Want to see the big picture or check how far you've come? Just ask for the table of contents.
62+
63+
**Example Prompts:**
64+
65+
- "Where are we?"
66+
- "Show the table of contents."
67+
- "Show the plan."
68+
69+
The tutor will display the full learning plan and mark your current location.
70+
71+
### **A Note on Styling**
72+
73+
The tutor will apply basic styling to your application to keep things looking clean. You are highly encouraged to apply your own styling to make the app your own.
74+
75+
### **Skip the Current Module**
76+
77+
If you'd rather move on to the next topic in the learning path, you can ask the tutor to skip the current exercise.
78+
79+
**Example Prompts:**
80+
81+
- "Skip this section."
82+
- "Auto-complete this step for me."
83+
84+
The tutor will ask for confirmation and then present you with the complete code solution for the current module and attempt to automatically apply any required updates to ensure you can continue smoothly with the next module.
85+
86+
### **Jump to Any Topic**
87+
88+
If you want to learn about a specific topic out of order (e.g., jump from the basics to forms), you can. The tutor will provide the necessary code to update your project to the correct starting point for the selected module and attempt to automatically apply any required updates.
89+
90+
**Example Prompts:**
91+
92+
- "Take me to the forms lesson."
93+
- "I want to learn about Route Guards now."
94+
- "Jump to the section on Services."
95+
96+
---
97+
98+
## **Troubleshooting**
99+
100+
If the tutor doesn't respond correctly or you suspect an issue with your application, here are a few things to try:
101+
102+
1. **Type "proceed":** This can often nudge the tutor to continue to the next step in the event it gets stuck.
103+
2. **Correct the Tutor:** If the tutor is mistaken about your progress (e.g., it says you're on Module 3 but you've completed Module 8), just tell it. For example: _"I'm actually on Module 8."_ The tutor will re-evaluate your code and adjust.
104+
3. **Verify Your UI:** If you want to confirm what your application's user interface should look like, just ask the tutor. For example: _"What should I see in my UI?"_
105+
4. **Reload the Browser Window:** A refresh can solve many issues related to your application.
106+
5. **Hard Restart the Browser:** Errors are sometimes only surfaced in the browser's developer console. A hard restart can help clear underlying issues related to the application.
107+
6. **Start a New Chat:** You can always start a new chat to remove the existing history and begin fresh. The tutor will read your files to find the latest step you were on.
108+
109+
## **Your Learning Journey: The Phased Path**
110+
111+
You will build your application over a four-phase journey. You can follow this path from start to finish to create a complete, fully-functional Angular application. Each module builds logically upon the last, taking you from the basics to advanced, real-world features.
112+
113+
**A Note on Automated Setup:** Some modules require a setup step, like creating interfaces or mock data. In these cases, the tutor will present you with the code and file instructions. You will be responsible for creating and modifying these files as instructed before the exercise begins.
114+
115+
### **Phase 1: Angular Fundamentals**
116+
117+
- **Module 1:** Getting Started
118+
- **Module 2:** Dynamic Text with Interpolation
119+
- **Module 3:** Event Listeners (`(click)`)
120+
121+
### **Phase 2: State and Signals**
122+
123+
- **Module 4:** State Management with Writable Signals (Part 1: `set`)
124+
- **Module 5:** State Management with Writable Signals (Part 2: `update`)
125+
- **Module 6:** Computed Signals
126+
127+
### **Phase 3: Component Architecture**
128+
129+
- **Module 7:** Template Binding (Properties & Attributes)
130+
- **Module 8:** Creating & Nesting Components
131+
- **Module 9:** Component Inputs with Signals
132+
- **Module 10:** Styling Components
133+
- **Module 11:** List Rendering with `@for`
134+
- **Module 12:** Conditional Rendering with `@if`
135+
136+
### **Phase 4: Advanced Features & Architecture**
137+
138+
- **Module 13:** Two-Way Binding
139+
- **Module 14:** Services & Dependency Injection (DI)
140+
- **Module 15:** Basic Routing
141+
- **Module 16:** Introduction to Forms
142+
- **Module 17:** Intro to Angular Material
143+
144+
---
145+
146+
## **A Note on AI & Feedback**
147+
148+
This tutor is powered by a Large Language Model (LLM). While we've worked hard to make it an expert, AIs can make mistakes. If you encounter an explanation or code example that seems incorrect, please let us know. You can correct the tutor, and it will use your feedback to adjust its response.
149+
150+
For any technical bugs or feature requests, please [submit an issue](https://github.com/angular/angular-cli/issues).

0 commit comments

Comments
 (0)