Contributing
Branches, Conventional Commits, pull requests and code owners.
SurfaceOne follows the same rules as IndexOne.
Branches and commits
- Branch names are
<type>/<kebab-slug>, for examplefeat/sone-calendar. - Commit headers and PR titles follow Conventional Commits:
<type>(<scope>): <subject>, at most 100 characters, subject in lowercase. - No attribution of any kind — no AI co-author trailers or “generated with” footers.
git switch -c feat/sone-calendar
git commit -m "feat(calendar): add the sone-calendar component"Pull requests
The PR body is the repository template: one short line per real change, in plain English. Every PR needs the approval of a code owner.
Adding a component
- Create
packages/angular/<name>/with the component,index.tsandng-package.json. - Use the
sone-selector prefix, OnPush, signal inputs and tokens only. - Add
<name>.stories.tsand register the component in the docs catalogue with a demo.