Skip to content

Commit 32d0820

Browse files
authored
Merge branch 'main' into dependabot/npm_and_yarn/lodash-4.17.23
2 parents 1212b46 + 2531ab8 commit 32d0820

150 files changed

Lines changed: 7611 additions & 1565 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

AGENTS.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Orcid Angular — Agent Notes
2+
3+
Monorepo: main app (`src/`, project `ng-orcid`), docs (`projects/orcid-ui-docs`), and libraries. Use this for fast orientation.
4+
5+
> **Note for future agents:** This file is intended to be edited over time. Any section—relevant or not—may be updated, trimmed, or reorganized so the document stays lean and useful for future agents. Prefer keeping only what helps the next AI work effectively with this project.
6+
7+
## Quick reference: libraries
8+
9+
- **@orcid/ui**`projects/orcid-ui` — Agnostic UI components, design tokens, modal shell. See `projects/orcid-ui/AGENTS.md`.
10+
- **@orcid/registry-ui**`projects/orcid-registry-ui` — Registry-specific components (e.g. import-works-dialog). See `projects/orcid-registry-ui/AGENTS.md`.
11+
12+
Both are path-mapped from repo root (`tsconfig.json`). Main app and docs consume them from source.
13+
14+
## When changing a library component’s API
15+
16+
Update the main app and that component’s doc page (usage snippet, inputs list, examples).
17+
18+
## If component styles differ between docs and main app
19+
20+
If a library component (e.g. in orcid-registry-ui) looks correct in the docs app but wrong in the main app (e.g. missing margins or spacing), try **resetting the main project**: clean build artifacts, reinstall, or reset local overrides. Stale or inconsistent build/cache state in the main app can cause component styles to not apply as in docs; a fresh build often resolves it.
21+
22+
## Dialogs and async data
23+
24+
When a dialog or view needs data from an HTTP (or other async) call, opening the dialog only after the request completes can feel slow. Consider opening the dialog **immediately** with skeleton or static data (e.g. labels, empty lists, or a `loading: true` flag), then assigning the full payload to the dialog’s component instance when the observable emits. The dialog can show placeholders or a loading state until then.

CHANGELOG.md

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,61 @@
1+
## v2.130.3 - 2026-02-26
2+
3+
[Full Changelog](https://github.com/ORCID/orcid-angular/compare/v2.130.2...v2.130.3)
4+
5+
## v2.130.2 - 2026-02-26
6+
7+
[Full Changelog](https://github.com/ORCID/orcid-angular/compare/v2.130.1...v2.130.2)
8+
9+
- [#2753](https://github.com/ORCID/orcid-angular/pull/2753): PD-4788
10+
11+
## v2.130.1 - 2026-02-25
12+
13+
[Full Changelog](https://github.com/ORCID/orcid-angular/compare/v2.130.0...v2.130.1)
14+
15+
## v2.130.0 - 2026-02-18
16+
17+
[Full Changelog](https://github.com/ORCID/orcid-angular/compare/v2.129.10...v2.130.0)
18+
19+
## v2.129.10 - 2026-02-16
20+
21+
[Full Changelog](https://github.com/ORCID/orcid-angular/compare/v2.129.9...v2.129.10)
22+
23+
- [#2747](https://github.com/ORCID/orcid-angular/pull/2747): PD-4994
24+
25+
## v2.129.9 - 2026-02-13
26+
27+
[Full Changelog](https://github.com/ORCID/orcid-angular/compare/v2.129.8...v2.129.9)
28+
29+
- [#2745](https://github.com/ORCID/orcid-angular/pull/2745): PD-4994,PD-4993
30+
31+
## v2.129.8 - 2026-02-12
32+
33+
[Full Changelog](https://github.com/ORCID/orcid-angular/compare/v2.129.7...v2.129.8)
34+
35+
## v2.129.7 - 2026-02-11
36+
37+
[Full Changelog](https://github.com/ORCID/orcid-angular/compare/v2.129.6...v2.129.7)
38+
39+
## v2.129.6 - 2026-02-11
40+
41+
[Full Changelog](https://github.com/ORCID/orcid-angular/compare/v2.129.5...v2.129.6)
42+
43+
- [#2742](https://github.com/ORCID/orcid-angular/pull/2742): Lmendoza/pd 3855
44+
45+
## v2.129.5 - 2026-02-10
46+
47+
[Full Changelog](https://github.com/ORCID/orcid-angular/compare/v2.129.4...v2.129.5)
48+
49+
- [#2741](https://github.com/ORCID/orcid-angular/pull/2741): ${PD-4790} revert pr #2737
50+
51+
## v2.129.4 - 2026-02-10
52+
53+
[Full Changelog](https://github.com/ORCID/orcid-angular/compare/v2.129.3...v2.129.4)
54+
55+
## v2.129.3 - 2026-02-10
56+
57+
[Full Changelog](https://github.com/ORCID/orcid-angular/compare/v2.129.2...v2.129.3)
58+
159
## v2.129.2 - 2026-02-04
260

361
[Full Changelog](https://github.com/ORCID/orcid-angular/compare/v2.129.1...v2.129.2)

SUPPORTED_BROWSERS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
| Apple Safari | 16.4 or newer |
99
| Google Chrome | 115 or newer |
1010
| Microsoft Edge | 115 or newer |
11-
| Mozilla Firefox | 115 or newer |
11+
| Mozilla Firefox | 116 or newer |
1212
| Opera | 101 or newer |
1313
| Opera Mobile | 80 or newer |
1414
| Samsung Internet | 23 or newer |

angular.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -442,6 +442,33 @@
442442
}
443443
}
444444
},
445+
"orcid-registry-ui": {
446+
"projectType": "library",
447+
"root": "projects/orcid-registry-ui",
448+
"sourceRoot": "projects/orcid-registry-ui/src",
449+
"prefix": "orcid",
450+
"architect": {
451+
"build": {
452+
"builder": "@angular/build:ng-packagr",
453+
"configurations": {
454+
"production": {
455+
"tsConfig": "projects/orcid-registry-ui/tsconfig.lib.prod.json"
456+
},
457+
"development": {
458+
"tsConfig": "projects/orcid-registry-ui/tsconfig.lib.json"
459+
}
460+
},
461+
"defaultConfiguration": "production"
462+
},
463+
"test": {
464+
"builder": "@angular/build:karma",
465+
"options": {
466+
"tsConfig": "projects/orcid-registry-ui/tsconfig.spec.json",
467+
"polyfills": ["zone.js", "zone.js/testing"]
468+
}
469+
}
470+
}
471+
},
445472
"orcid-tokens": {
446473
"projectType": "library",
447474
"root": "projects/orcid-tokens",
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# Orcid Registry UI — Agent Notes (for future GPTs)
2+
3+
This package (`projects/orcid-registry-ui`, published as `@orcid/registry-ui`) contains **feature-oriented UI components** for the main orcid-angular application only. It is not intended for reuse outside this project.
4+
5+
> **Note for future agents:** This file is intended to be edited over time. Any section—relevant or not—may be updated, trimmed, or reorganized so the document stays lean and useful for future agents. Prefer keeping only what helps the next AI work effectively with this library.
6+
7+
## Library scope: orcid-registry-ui vs orcid-ui
8+
9+
- **orcid-ui** (`@orcid/ui`): Fully **agnostic** UI building blocks. No feature names or domain-specific wording. Open source–friendly and reusable across any ORCID or non-ORCID project. Components use Angular Material when possible and design tokens for styling.
10+
11+
- **orcid-registry-ui** (`@orcid/registry-ui`): **Registry-specific** components for the orcid-angular app only. May use feature names (e.g. “Import your works”, “Permission notifications”). Builds on **orcid-ui** components, Angular Material, and **orcid-tokens**. More flexible and app-coupled.
12+
13+
## Conventions
14+
15+
- **Package entry**: `projects/orcid-registry-ui/src/public-api.ts`
16+
- **Components**: `projects/orcid-registry-ui/src/lib/components/**`
17+
- Prefer **standalone components**. Use `@orcid/ui` for base primitives (modals, action surfaces, etc.) and **orcid-tokens** CSS variables for layout/color/typography.
18+
- Dialogs that use the shared modal chrome should use `OrcidModalComponent` and `ORCID_MODAL_DIALOG_PANEL_CLASS` from `@orcid/ui` when opening with `MatDialog`.
19+
- **Dialog data (MAT_DIALOG_DATA):** If the host may open the dialog first and assign full data later (e.g. after an async request), the data interface can include an optional flag (e.g. `loading?: boolean`) so the dialog can show a skeleton or placeholder until the host sets the complete data.
20+
21+
## Dependencies
22+
23+
- Peer: `@angular/common`, `@angular/core`, `@angular/material`, `@orcid/ui`, `rxjs`
24+
- The host app (orcid-angular) supplies `@orcid/ui` and design tokens (e.g. via `tokens.css`).
25+
26+
## Building
27+
28+
- From repo root: `ng build orcid-registry-ui` (or use the npm script if defined).
29+
30+
## When changing this library’s API
31+
32+
If you add or change **inputs**, **data types**, or **public behavior** in a registry-ui component, update **both** the main app usage (under `src/`) and the component’s doc page (usage snippet, inputs list, examples) so they stay in sync.
33+
34+
## Docs site (`projects/orcid-ui-docs`)
35+
36+
Registry-ui doc pages live under **`src/app/pages/orcid-registry-ui/`** (orcid-ui pages live under `pages/orcid-ui/`). When adding a new registry-ui component doc:
37+
38+
- Add the page in `projects/orcid-ui-docs/src/app/pages/orcid-registry-ui/<name>-page.component.{ts,html,scss}`
39+
- Import `DocumentationPageComponent` from `'../../components/documentation-page/documentation-page.component'`
40+
- Register a lazy route in `app.routes.ts` pointing to `./pages/orcid-registry-ui/<name>-page.component`
41+
- Add a sidebar link under the “Orcid Registry UI” section in `docs-shell.component.html`
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"$schema": "../../node_modules/ng-packagr/ng-package.schema.json",
3+
"dest": "../../dist/orcid-registry-ui",
4+
"lib": {
5+
"entryFile": "src/public-api.ts"
6+
}
7+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"name": "@orcid/registry-ui",
3+
"version": "0.0.1",
4+
"peerDependencies": {
5+
"@angular/common": "^20.1.0",
6+
"@angular/core": "^20.1.0",
7+
"@angular/material": "^20.1.0",
8+
"@orcid/ui": "^0.0.1",
9+
"rxjs": "~7.8.0"
10+
},
11+
"dependencies": {
12+
"tslib": "^2.3.0"
13+
},
14+
"publishConfig": {
15+
"access": "public"
16+
},
17+
"sideEffects": false
18+
}

0 commit comments

Comments
 (0)