You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+18-12Lines changed: 18 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,32 +3,38 @@
3
3
Thanks for checking out `macos_ui`! We appreciate your interest in contributing! Here are some
4
4
basic things you'll need to know to get started.
5
5
6
-
###Branch structure
6
+
## Branch structure
7
7
8
8
The default branch for this project is `dev`. Your work should take place in a branch checked out
9
9
from here. `stable` is reserved for releases to pub.dev. All pull requests should therefore
10
10
target `dev`.
11
11
12
-
`dev`and `stable` are protected branches.
12
+
`dev`, `stable`, and `customer_testing` are protected branches.
13
13
14
-
### Commit style
14
+
### The `stable` Branch
15
+
This branch is solely for pub releases. Only authorized maintainers may make pull requests to this branch.
16
+
17
+
### The `customer_testing` branch
18
+
This branch is the ***only*** branch in this repository based on Flutter's `master` channel; every other branch is based on Flutter's `stable` channel. This is so that `macos_ui` can be included in Flutter's [tests](https://github.com/flutter/tests) repo. It is beneficial for `macos_ui` to be included there so that if any changes are introduced to Flutter that break `macos_ui`, we will be informed and can make the appropriate changes.
19
+
20
+
Only authorized maintainers may make pull requests to this branch.
21
+
22
+
## Commit style
15
23
This repository uses [conventional commits](https://www.conventionalcommits.org/en/v1.0.0/). Please ensure that you use them!
16
24
17
-
###Pull Requests
25
+
## Pull Requests
18
26
As mentioned above, all pull requests should target `dev`.
19
27
20
-
#### Pre-launch script
21
-
Before opening your pull request, run the `pr_prelaunch_tasks.sh` script to ensure that your changes meet the
22
-
following requirements:
28
+
Before opening your pull request, please ensure that the following
29
+
following requirements are met:
30
+
* You have run `flutter pub get` at the package level
31
+
* You have incremented the version number in `pubspec.yaml` properly
32
+
* You have updated the `CHANGELOG.md` file accordingly
23
33
* All code is properly formatted
24
34
* There are no Dart analysis warnings
25
35
* All tests pass
26
36
27
-
If the format step of the script results in changes, the script will make those change, commit them, and prompt you to push the commit.
28
-
29
-
If the `dart fix` step results in changes, the script will make those changes, commit them, and prompt you to push the commit.
30
-
31
-
Pull requests should **always** be merged via GitHub and not via command-line.
37
+
A note for authorized maintainers: Pull requests should **always** be merged via GitHub and not via command-line.
`macos_ui` is developed against Flutter's `stable` channel. To ensure a smooth development experience with `macos_ui`, you should build your application on Flutter's `stable` channel.
A sidebar enables app navigation and provides quick access to top-level collections of content in your app.
157
+
158
+
Sidebars may be placed at the left or right of your app. To place a sidebar on the left, use the `MacosWindow.sidebar` property. To place a sidebar on the right, use the `MacosWindow.endSidebar` property.
| A horizontal slider where any value continuous value between a min and max can be selected | A horizontal slider where only discrete values between a min and max can be selected. Tick marks are often displayed to provide context. |
| A horizontal slider where any value continuous value between a min and max can be selected | A horizontal slider where only discrete values between a min and max can be selected. Tick marks are often displayed to provide context. |
869
923
870
924
871
925
Here's an example of how to create an interactive continuous slider:
0 commit comments