Before reading this CONTRIBUTING file, please take note to read the Code of Conduct.
Name branches according to their purpose:
-
Feature Branch (feature):
- Naming format:
feat/short-description
orfeat/issue-number-short-description
. - Examples:
feat/login-page
,feat/123-add-authentication
- Naming format:
-
Bugfix Branch (bugfix):
- Naming format:
fix/short-description
orfix/issue-number-short-description
. - Examples:
fix/login-error
,fix/456-register-bug
- Naming format:
-
Development Branch (development):
- Typically named
dev
ordevelopment
.
- Typically named
-
Release Branch (release):
- Naming format:
release/version-number
. - Example:
release/1.0.0
- Naming format:
-
Hotfix Branch (hotfix):
- Naming format:
hotfix/short-description
orhotfix/issue-number-short-description
. - Examples:
hotfix/critical-login-issue
,hotfix/789-critical-bug
- Naming format:
-
Documentation Branch (docs):
- Used for changes related to documentation.
- Naming format:
docs/short-description
. - Example:
docs/update-readme
-
Chore Branch (chore):
- Naming format:
chore/short-description
. - Example:
chore/update-dependencies
- Naming format:
Commit messages consist of three parts: header, body (optional), and footer (optional).
-
Header:
- Format:
<type>(<scope>): <subject>
type
is the category of the commit (e.g., feat, fix, docs, style, refactor, test, chore).scope
is the module or feature affected (optional).subject
is a brief description, limited to 50 characters.
Available types:
feat
: A new feature.fix
: A bug fix.docs
: Documentation only changes.style
: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc).refactor
: A code change that neither fixes a bug nor adds a feature.test
: Adding missing or correcting existing tests.chore
: Changes to the build process or auxiliary tools and libraries such as documentation generation.perf
: A code change that improves performance.ci
: Changes to our CI configuration files and scripts.revert
: Reverts a previous commit.build
: Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm).
- Format:
-
Body (optional):
- Provides more details, explaining the reasons and content of the change.
- Each line should not exceed 72 characters.
-
Footer (optional):
- Includes issue references or other information.
feat/add-user-authentication
fix/login-error
release/1.2.0
hotfix/urgent-security-fix
docs/update-readme
feat(auth): add user authentication
- Implemented login and register pages
- Integrated authentication API
- Added unit tests for authentication module
Resolves #123
fix(login): correct login error handling
- Fixed issue where incorrect password caused login failure without proper error message
- Updated error messages for better user feedback
Related to #456
release: 1.2.0
- Includes new features: user authentication, dashboard redesign
- Bug fixes: login error, UI issues on mobile devices
- Performance improvements
Reviewed by @fu050409
docs(readme): update installation instructions
- Added steps for setting up development environment
- Clarified dependency requirements
No related issues
Before carrying out the following operations, please make sure you have been invited by the Narrator Council and joined the Noctisynth organization's repository on GitHub.
Make sure your branch name and commit message follow the naming conventions mentioned above.
-
Clone this repository to your local machine.
-
Create a new branch in your workspace:
git checkout -b new_branch
-
Make revisions.
-
Save and push:
git add * git commit -m "feat(scope): content" git push --set-upstream origin new_branch
-
Initiate a Pull Request.
-
Fork this repository and clone the forked repository to your local machine.
-
Create a new branch in your workspace:
git checkout -b new_branch
-
Make revisions.
-
Save and push:
git add * git commit -m "feat(scope): content" git push --set-upstream origin new_branch
-
Initiate a Pull Request.
To contribute to this project, you will need to have the following tools installed:
- Git
- Node.js
- pnpm
- Rust Cargo
To setup Tauri, follow the instructions in the Tauri Beta Documentation.
-
Install pnpm globally:
npm install -g pnpm
-
Install dependencies:
pnpm install
pnpm tauri dev
pnpm tauri android dev
You should enable Rust cross-compilation environment for other platforms.