FE
Domain: Documentation / Translation
Difficulty: Intermediate
Description:
The current README lacks details for developers wanting to understand the architecture and extend the project. Write additional documentation covering:
- Project architecture overview (pages, components, utilities)
- API integration details (which endpoints are used where)
- How to add a new search page
- Component structure and patterns
- Environment variables and configuration
- Testing guidelines (when tests exist)
Expected Outcome:
- Extended README with Developer section
- Clear documentation of project structure
- API integration guide
- Component creation guide
- Easy onboarding for new contributors
Setup Steps:
1. Add new File: "Developer Guide."
2. Document project structure with file tree
3. Explain data flow and component patterns
4. Add API integration documentation
5. Include code examples
Second Steps
1 Clear project structure with file tree
2 Data flow explanation
3 API integration guide with examples
4 How to add a new search page (step by step)
5 Component structure and best practices
6 Environment variables and configuration
7 Testing guidelines
PROJECT EXPECTED
project-root/
├── src/
│ ├── api/
│ │ └── index.js
│ ├── components/
│ │ ├── common/
│ │ └── layout/
│ ├── pages/
│ │ ├── Home/
│ │ └── Search/
│ ├── hooks/
│ ├── utils/
│ ├── styles/
│ ├── App.js
│ └── main.js
├── public/
├── tests/
├── .env.example
├── package.json
└── README.md
Description
This task adds a Developer Guide that explains the project structure, architecture, API usage, and contribution steps to make onboarding and feature development easier for new front-end developers
Links/References:
- Current README: `README.md`
- Gerrit repository: [https://gerrit.wikimedia.org/r/labs/tools/WdTmCollab](https://gerrit.wikimedia.org/r/labs/tools/WdTmCollab)