Coding Workflow
1. Pick an Issue
All development tasks are tracked in the GitLab Issue Board.
- Open the issue board.
- Pick an issue that is not assigned (or already assigned to you).
- Move the issue to In Progress.
- Assign yourself to the issue.
If you are new to the project, prefer issues labeled good-first-issue.
2. Create a Branch
Create a new branch for your work.
Branch names should be descriptive.
Examples:
feature/team-top-list\ fix/plot-reset-bug\ improvement-job-xp-calculation
3. Implement the Feature
While working on the issue:
- follow the [[Coding Guidelines|Development/Coding-Guidelines]]
- keep commits small and meaningful
- test your changes on the [[Dev Server|Development/Dev-Server]]
4. Commit Your Changes
Use clear commit messages.
Example:
Fix plot reset duplication bug\ Add new special item 'infinite waterbucket'\ Improve job reward calculation
Avoid commits like:
fix\ update\ test
5. Create a Merge Request
Once the feature is finished:
- Push your branch
- Open a Merge Request
- Link the corresponding Issue
- Mark the issue with
needs-review
6. Code Review
The code will be reviewed before merging.
During review:
- changes may be requested
- small improvements may be suggested
After approval, the merge request will be merged into main.
7. Deployment
After the merge, the plugin can be deployed to the [[Dev Server|Development/Dev-Server]] for further testing.