mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-27 15:26:58 +00:00
Improve documentation v4 (LC15) (#4973)
* Update information to LC15 * LC15 Screenshot * Apply suggestion from code-reviewer Co-authored-by: Zongle Wang <wangzongler@gmail.com> * Apply suggestion from code-reviewer Co-authored-by: SuperDragonXD <70206496+SuperDragonXD@users.noreply.github.com> * Installation badges and cert hash * Update Crowdin branch to 15 * Merge Canary and Development * Update styling of cert hash * Update compatlib * Update for Unified SystemUI * Improve dev build * Consistency + Update local fonts * Consistency with ToC * Fix awkward * Link to Smartspacer Signed-off-by: Pun Butrach <pun.butrach@gmail.com> * Update visual to LC15 * Merge suggestion from GitHub Copilot Code Review Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Pun Butrach <pun.butrach@gmail.com> * Fix typos and grammar in README files (GitHub Copilot Review) * English Accent Consistency * Windows Canary Phone Link compression is the worst * Apply suggestions from code review Co-authored-by: SuperDragonXD <70206496+SuperDragonXD@users.noreply.github.com> * Update release phase, security policy, and versioning * Update systemUI/README.md Co-authored-by: SuperDragonXD <70206496+SuperDragonXD@users.noreply.github.com> * Update README: Lawnchair 15 alpha to beta * Use development instead of beta * Update CONTRIBUTING.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Pun Butrach <pun.butrach@gmail.com> * Give subtle Google Developer Style guidelines * Update SECURITY.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Pun Butrach <pun.butrach@gmail.com> --------- Signed-off-by: Pun Butrach <pun.butrach@gmail.com> Co-authored-by: Zongle Wang <wangzongler@gmail.com> Co-authored-by: SuperDragonXD <70206496+SuperDragonXD@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -6,34 +6,35 @@
|
||||
<img alt="" src="docs/assets/lawnchair-round.webp" width="100">
|
||||
</picture>
|
||||
|
||||
First and foremost, welcome to the **Lawnchair** Contributing Guidelines!
|
||||
Welcome to the **Lawnchair** Project, we appreciate your interest in contributing.
|
||||
Feel free to reach out to us on [Telegram](https://t.me/lccommunity) or [Discord](https://discord.com/invite/3x8qNWxgGZ) for any further questions.
|
||||
|
||||
### 💫 Bug reports & feature requests
|
||||
|
||||
> [!TIP]
|
||||
> We recommend that the Lawnchair [Nightly](https://github.com/LawnchairLauncher/lawnchair/releases/tag/nightly)
|
||||
> build be used in your report as they contain the latest changes from Lawnchair.
|
||||
> Using Lawnchair [Nightly](https://github.com/LawnchairLauncher/lawnchair/releases/tag/nightly) is recommended for bug reports and feature requests
|
||||
> as it contains the latest changes from Lawnchair.
|
||||
|
||||
For [bug reports](https://github.com/LawnchairLauncher/lawnchair/issues/new?assignees=&labels=bug&projects=&template=bug_report.yaml&title=%5BBUG%5D+), please describe the bug in detail to the best of your ability
|
||||
For [bug reports](https://github.com/LawnchairLauncher/lawnchair/issues/new?assignees=&labels=bug&projects=&template=bug_report.yaml&title=%5BBUG%5D+), describe the bug in detail to the best of your ability
|
||||
with steps on how to reproduce it. If applicable, attach log files.
|
||||
|
||||
For [feature requests](https://github.com/LawnchairLauncher/lawnchair/issues/new?assignees=&labels=feature%2Cenhancement&projects=&template=feature_request.yaml&title=%5BFEATURE%5D+), please describe the feature you'd like to see added to Lawnchair.
|
||||
For [feature requests](https://github.com/LawnchairLauncher/lawnchair/issues/new?assignees=&labels=feature%2Cenhancement&projects=&template=feature_request.yaml&title=%5BFEATURE%5D+), describe the feature you'd like to see added to Lawnchair.
|
||||
If applicable, attach log files.
|
||||
|
||||
Please make sure to be civil during the discussion of your contribution as outlined by the [Code of Conduct](CODE_OF_CONDUCT.md).
|
||||
Make sure to be civil during the discussion of your contribution as outlined by the [Code of Conduct](CODE_OF_CONDUCT.md).
|
||||
|
||||
### 🌐 Translation
|
||||
|
||||
For translation, visit [Lawnchair on Crowdin](https://lawnchair.crowdin.com) and follow these tips:
|
||||
|
||||
- When using quotation marks, insert the symbols specific to the target language, as listed in this [this summary table](https://en.wikipedia.org/wiki/Quotation_mark#Summary_table);
|
||||
- When using quotation marks, insert the symbols specific to the target language, as listed in this [summary table](https://en.wikipedia.org/wiki/Quotation_mark#Summary_table);
|
||||
- Some English terminology may have not have commonly-used equivalents in other languages. In such cases, use short descriptive phrases—for example, the equivalent of _bottom row_ for _dock_;
|
||||
- Some languages (e.g. French) have variations of words depending on if it's masculine or feminine (gender-specific); we recommend opting for gender-neutral words instead.
|
||||
|
||||
### 🧑💻 Code
|
||||
|
||||
> [!NOTE]
|
||||
> For Lawnchair 9 to 13, see the branches with the `9-` to `13-` prefixes respectively.
|
||||
> [!TIP]
|
||||
> For Lawnchair 9 to 14, see the branches with the `9-` to `14-` prefixes respectively.
|
||||
|
||||
For code, it's highly recommended that you use [Android Studio](https://developer.android.com/studio),
|
||||
know [Java](https://www.java.com) or preferably [Kotlin](https://kotlinlang.org/), and [Git](https://git-scm.com/).
|
||||
@@ -51,19 +52,20 @@ run `git submodule update --init --recursive`.
|
||||
|
||||
Here are some contribution tips to help you get started:
|
||||
|
||||
- Always make sure that you're up-to-date with **Lawnchair** by setting your base branch to `14-dev`.
|
||||
- Always make sure that you're up-to-date with **Lawnchair** by setting your base branch to `15-dev`.
|
||||
- Make sure your code is logical and well-formatted. If using Kotlin, see [“Coding conventions” in the Kotlin documentation](https://kotlinlang.org/docs/coding-conventions.html);
|
||||
- [The `lawnchair` package](https://github.com/LawnchairLauncher/lawnchair/tree/14-dev/lawnchair) houses Lawnchair’s own code, whereas [the `src` package](https://github.com/LawnchairLauncher/lawnchair/tree/14-dev/src) includes a clone of the Launcher3 codebase with modifications. Generally, place new files in the former, keeping changes to the latter to a minimum.
|
||||
- [The `lawnchair` package](https://github.com/LawnchairLauncher/lawnchair/tree/15-dev/lawnchair) houses Lawnchair’s own code, whereas [the `src` package](https://github.com/LawnchairLauncher/lawnchair/tree/15-dev/src) includes a clone of the Launcher3 codebase with modifications. Generally, place new files in the former, keeping changes to the latter to a minimum.
|
||||
|
||||
#### Additional documentation
|
||||
|
||||
- The Lawnchair Wiki ([at Github](https://github.com/LawnchairLauncher/lawnchair/wiki))
|
||||
- Lawnchair Visual Guidelines ([README.md](/docs/assets/README.md))
|
||||
- Lawnchair Quickstep Compat Lib ([README.md](compatLib/README.md))
|
||||
- Lawnchair Preferences Components ([README.md](lawnchair/src/app/lawnchair/ui/preferences/components/README.md))
|
||||
- SystemUI ViewCapture ([README.md](systemUIViewCapture/README.md))
|
||||
- SystemUI Common ([README.md](systemUICommon/README.md))
|
||||
- Prebuilt Library ([README.md](prebuilts/libs/README.md))
|
||||
- [The Lawnchair Wiki](https://github.com/LawnchairLauncher/lawnchair/wiki)
|
||||
- [Lawnchair Visual Guidelines](/docs/assets/README.md)
|
||||
- [Lawnchair Quickstep Compat Library](compatLib/README.md)
|
||||
- [Lawnchair Preferences Components](lawnchair/src/app/lawnchair/ui/preferences/components/README.md)
|
||||
- [SystemUI Module](systemUI/README.md)
|
||||
- [ViewCapture](systemUI/viewcapture/README.md)
|
||||
- [Common](systemUI/common/README.md)
|
||||
- [Prebuilt Library](prebuilts/libs/README.md)
|
||||
|
||||
#### Versioning scheme
|
||||
|
||||
@@ -105,6 +107,7 @@ The table below shows release phase used by Lawnchair:
|
||||
|
||||
| Status | Stage |
|
||||
| ----------------- | ----- |
|
||||
| Development | 00 |
|
||||
| Alpha | 01 |
|
||||
| Beta | 02 |
|
||||
| Release Candidate | 03 |
|
||||
@@ -125,3 +128,12 @@ Strings `names` in `strings.xml` should follow this format:
|
||||
| Preference choice | $1_choice | `off_choice` | Off | |
|
||||
| Feature string | (feature_name)_$1 | `colorpicker_hsb` | HSB | Feature strings are strings that are confined to a specific feature. Examples include the gesture and color picker. |
|
||||
| Launcher string | $1_launcher | `device_contacts_launcher` | Contacts from device | Strings that are specific to the Launcher area |
|
||||
|
||||
#### Updating locally stored font listing
|
||||
|
||||
Lawnchair uses a locally stored JSON file (`google_fonts.json`) to list available fonts from Google Fonts. This file should be updated periodically or before release to include the latest fonts.
|
||||
|
||||
To update Lawnchair's font listing, follow these steps:
|
||||
1. Acquire a [Google Fonts Developer API key](https://developers.google.com/fonts/docs/developer_api#APIKey).
|
||||
2. Download the JSON file from `https://www.googleapis.com/webfonts/v1/webfonts?key=API_KEY`, replacing `API_KEY` with the API key from step 1.
|
||||
3. Replace the content of [`google_fonts.json`](lawnchair/assets/google_fonts.json) with the API response.
|
||||
|
||||
Reference in New Issue
Block a user