(仅供学习,禁止用于商业用途)
- bbs - base
- home - 主页
- user - 用户系统
- write - 编辑
左边侧边栏left_sidebar:顶部图标,中间两个导航图标,底部用户头像(未登录则不显示头像)。
中间主体内容content。
右侧栏right_sidebar:其中右侧栏有两套,一套是主页/搜索,一套是文章/作者页。
顶部未登录则提示去登录,已登录则显示Follow People;下面有两列Following和All显示帖子,文章用分割线隔离。
登录
注册
Following
Followers
选择有限的头像
开源github
- If you are new to this project, please enter
git clone https://github.com/sulv9/benchmark.git
in your Git Bash to clone this project to your local computer. Otherwise, skip this step. - After cloning, go into the project folder "benchmark" and open Git Bash. Enter
git checkout -b [branchName]
in the Git Bash to create and switch to the new branch where the [branchName] should be in the format of "your name + taskName", for example "sulv/arch" represents the task of architecture development in the project created by sulv. - Then enter
git pull origin main --rebase
to fetch the latest code from the remote main branch and execute the "git rebase" command which is good for clean commits. - After that, use the
Android Studio
to open the project and start your development. - After your development, enter
git add .
andgit commit -m"[commitMessage]"
in the Git Bash in turn. The [commitMessage] should be in the format of "[Type] commit-message". See [Git Commit Type](https://github.com/sulv9/benchmark#Git Commit Type) for "Type" and the "commit-message" should be in 50 characters. - Finally, enter
git push -u origin [branchName]
where the [branchName] is same to that in the second step if you push your code for the first time, otherwise entergit push
directly in the Git Bash.
feat
: Add a new feature to the codebase.fix
: Fix a bug.docs
: Documentation changes.style
: Code style change(Don't affect the execution of the code).refactor
: Refactor code without changing public API.perf
: Update code performances.test
: Add test to an existing feature.