We welcome contributions! Please adhere to these guidelines to ensure seamless integration of your PRs. It is advisable to contact the Discovery team prior to commencing your development efforts. We are committed to providing comprehensive assistance. You may reach us by initiating an issue on this repository or writing an email to UAF-asf-discovery@alaska.edu.
- The base branch is
test(default branch). - Always branch off of
upstream/testand open PRs againsttest.
This is a quick outline for local setup. For detailed instructions, see the README.
-
Fork & clone:
git clone https://github.com/<your-username>/Discovery-SearchUI.git cd Discovery-SearchUI git remote add upstream https://github.com/asfadmin/Discovery-SearchUI.git git fetch upstream git checkout -b feat/short-description upstream/test
-
Install dependencies:
npm install
-
Run dev server:
npx ng serve
-
If your feature depends on local domain or SSL:
-
Do not hardcode user-facing text.
-
Use ngx-translate.
-
Add/modify translation keys in
strings.json. -
Reference in templates with the translate pipe, e.g.:
<button>{{ 'SEARCH_BUTTON_APPLY' | translate }}</button>
-
List any new/changed keys in your PR description.
Run before opening a PR:
npm run lint
npm test
npm run buildAll must pass.
Use descriptive commit messages. Conventional Commit style is preferred:
feat(download-queue): add cancel buttonfix(map): correct tile layer attributiondocs(readme): clarify HTTPS setup
- Target branch:
test - Title: short and descriptive
- Body:
- What changed
- Why
- How tested
- Screenshots if UI
- i18n keys list (if applicable)
- Check the checklist in the PR template.
- Maintainers will review for scope, coding style, and i18n compliance.
- CI (lint, tests, build, CodeQL) must pass.
- Merges use Squash & merge into
test. - Deployments to shared environments are maintainers-only.
Thank you for contributing!