- Document markdown files lives under
docs/. - Source code and static files lives under
src/.
- Keep changes small and localized.
- Always ask before adding a third party dependency.
- Avoid new third party dependencies if possible.
- When working with components, always read
docs/understanding-components.mdinto context before changing lifecycle behavior.
- component - an object that renders a graphical component onto the DOM. For more info, see
docs/understanding-components.md - collection - an array like object that may be listened to for add or remove. For more info, see
docs/understanding-events.md#collections - model - an key/value object that may be listened to for change. For more info, see
docs/understanding-events.md#models - resource - either a collection or a model fetched over the API. For more info on the API, see:
docs/understanding-api.md - module - a distinct feature or functionality residing in a single folder.
src/common/classes/contains helper classessrc/common/components/contains standalone componentssrc/common/modules/contains modules used by multiple endpointssrc/common/policies/contains policy HTML files. Never edit these.src/common/scss/contains global css stylessrc/common/static/contains static files copied to the root folder for both the client and hub app.src/common/types/contains Typescript typessrc/common/utils/contains helper functionssrc/common/workers/contains service worker javascript- For more info, see
docs/understanding-folders.md
- Follow the existing framework and component patterns.
- Keep styling consistent with current UI conventions.
- Respect the project package manager and lockfiles.
- When working with modules, always follow the guidelines in
docs/understanding-modules.md - Follow the guidelines in
docs/style-guide.md - When working or reviewing theme token changes, always follow the guidelines in
docs/understanding-themetokens.md