Correct the Next.js document language and Stage-0 metadata
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 88/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- next.js, typescript
Research direction
Start with app/layout.tsx and compare its public metadata with the wording in app/network/layout.tsx. Run npm run test:unit -- components/network/Phase2O04NetworkShell.test.ts, then add focused assertions in that test for the root language and corrected metadata. Done means the listed typecheck, lint, build, pytest, and report-index validations pass without changing routes or behavior.
Written by the indexing model from the issue text.
Description
Context
The root Next.js layout currently declares lang="zh-Hant" even though the interface content is primarily English. Its metadata also describes “job creation,” while the current Stage-0 interface explicitly presents job creation as unavailable.
Correct language metadata helps assistive technology, browsers, search previews, and portfolio reviewers understand the interface accurately.
Newcomer snapshot
- Difficulty: Beginner
- Scope: Small
- Primary area: TypeScript / Next.js metadata and Vitest regression assertions
- Likely files:
app/layout.tsxandcomponents/network/Phase2O04NetworkShell.test.ts - Python required: Yes
- Node/npm required: Yes
- Physical hardware required: No
- Live device access required: No
- Credentials required: No
- External API/provider required: No
- Task-time network access required: No, after local dependencies are installed
- Start with:
npm run test:unit -- components/network/Phase2O04NetworkShell.test.ts - Before completion: run the issue's full validation sequence, including typecheck, lint, build, full pytest, and
report-index - Do not change: routes, controls, provider access, job creation, command execution, network access, or live-device behavior
Dependency installation may require internet access; the access fields above describe the task after local prerequisites are installed.
Scope
Update only the root document language and public metadata in app/layout.tsx, then add focused regression assertions to the existing network-shell test.
Do not add routes, controls, provider access, job creation, or execution behavior.
Acceptance criteria
- The root
<html>element declares the language used by the current interface. - The metadata description accurately identifies the Next.js application as a secondary Stage-0 evidence/demo surface.
- The metadata no longer implies that job creation is currently available.
-
components/network/Phase2O04NetworkShell.test.tsprotects the corrected language and metadata. - Existing routes and Stage-0 safety wording remain unchanged.
- No provider, API, model, job-creation, command, or live-device behavior is introduced.
Suggested starting points
app/layout.tsxcomponents/network/Phase2O04NetworkShell.test.tsapp/network/layout.tsxfor the existing secondary-interface wording
Validation
Run:
npm run test:unit -- components/network/Phase2O04NetworkShell.test.tsnpm run typechecknpm run lintnpm run buildpython -m pytestpython network_lab.py --task report-index
Safety boundary
This is presentation metadata only. It must not add provider access, submission controls, job creation, command execution, network access, or live-device capability.
- Dominant language
- Python
- Stars
- 0
- Forks
- 1
- Avg merge
- 1h 38m
- Merged PRs (30d)
- 39
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Robinlee0929/Network_Automation_Lab
-
enhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
enhancement good first issue
Difficulty 2/5 Half a day Newbie friendliness 88/100
All issues in Robinlee0929/Network_Automation_Lab
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100