Commit d9fdb28
committed
refactor: remove minimal catalog from renderers, keep in spec, and add simple basic samples
Remove all 'minimal' catalog usage and logic from the renderer packages (Angular and React) to eliminate maintenance burden and catalog ID override hacks. The minimal catalog and its examples remain in the specification for historical reference.
To ensure developers still have simple entry-point examples in the standard Basic Catalog, we have:
- Copied the simple minimal examples into the basic catalog examples directory (prefixed with `00_` so they sort first).
- Renamed the simple login form example to `00_simple-login-form.json` to avoid name collisions with the original basic login form (`09_login-form.json`).
- Added the `capitalize` function definition to the v0.9 and v0.10 basic catalogs, as it is used by the migrated `00_capitalized-text.json` example.
- Re-added the simple tests in Angular as basic `00_` tests, loading from the basic catalog, verifying that renderers can load these simple examples from the basic catalog.
Fixes a2ui-project#1432
TAG=agy
CONV=9137c307-af0d-4380-8e89-52054dd1fcb01 parent 76dff6a commit d9fdb28
31 files changed
Lines changed: 2776 additions & 4918 deletions
File tree
- renderers
- angular
- a2ui_explorer/src/app/tests/v0_8
- scripts
- lit/a2ui_explorer
- react
- tests/a2ui_explorer
- specification
- v0_10/catalogs/basic
- examples
- v0_8/json/catalogs/basic/examples
- v0_9
- catalogs/basic
- examples
- docs
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | 38 | | |
40 | 39 | | |
41 | 40 | | |
| |||
46 | 45 | | |
47 | 46 | | |
48 | 47 | | |
49 | | - | |
50 | 48 | | |
51 | 49 | | |
52 | 50 | | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | 51 | | |
75 | 52 | | |
76 | 53 | | |
77 | | - | |
| 54 | + | |
78 | 55 | | |
79 | 56 | | |
80 | 57 | | |
| |||
117 | 94 | | |
118 | 95 | | |
119 | 96 | | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | 97 | | |
125 | 98 | | |
126 | 99 | | |
| |||
145 | 118 | | |
146 | 119 | | |
147 | 120 | | |
148 | | - | |
149 | 121 | | |
150 | 122 | | |
151 | 123 | | |
152 | 124 | | |
153 | 125 | | |
154 | 126 | | |
155 | 127 | | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
| 128 | + | |
| 129 | + | |
168 | 130 | | |
169 | 131 | | |
170 | 132 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | | - | |
| 49 | + | |
51 | 50 | | |
52 | 51 | | |
53 | 52 | | |
54 | 53 | | |
55 | 54 | | |
56 | | - | |
| 55 | + | |
57 | 56 | | |
58 | 57 | | |
0 commit comments