Commit 1c6cf99
authored
build(angular): upgrade to angular 20 with primeng v20 (#206)
* build(angular): upgrade to angular 20 and fix ssr authentication
LFXV2-900
## Angular 20 Upgrade Changes
- Updated @angular/ssr to 20.3.13
- Migrated from provideServerRouting to provideServerRendering(withRoutes())
- Updated @angular/forms peer dependency in shared package to ^20.3.15
- Updated component imports to use provideAnimationsAsync
## SSR Authentication Fix
- Changed Express middleware default SSR auth from 'optional' to 'required'
- Simplified auth guard to trust Express middleware during SSR
- Express now redirects unauthenticated users before Angular SSR runs
- Prevents protected content from being visible during SSR
## Files Changed
- apps/lfx-one/src/server/middleware/auth.middleware.ts
- apps/lfx-one/src/app/shared/guards/auth.guard.ts
- apps/lfx-one/src/app/app.config.server.ts
- apps/lfx-one/package.json
- packages/shared/package.json
Generated with [Claude Code](https://claude.ai/code)
Signed-off-by: Asitha de Silva <[email protected]>
* build(deps): upgrade primeng to v20 with component api updates
LFXV2-900
- Upgrade primeng from ^19.1.4 to ^20.4.0
- Migrate @primeng/themes to @primeuix/themes (^2.0.2)
- Update @linuxfoundation/lfx-ui-core to ^0.1.0
- Remove deprecated properties (badgeClass, transition options)
- Update severity mappings (primary -> contrast for messages)
- Adjust component templates for PrimeNG v20 API changes
- Fix tag severity mapping for compatibility
Signed-off-by: Asitha de Silva <[email protected]>
* refactor(angular): replace CommonModule with specific imports
Remove CommonModule imports and replace with specific directives and
pipes (NgClass, DatePipe, TitleCasePipe) as required by each component.
This follows Angular 19+ best practices for standalone components with
built-in control flow syntax (@if, @for, @switch).
🤖 Generated with [Claude Code](https://claude.ai/code)
Signed-off-by: Asitha de Silva <[email protected]>
---------
Signed-off-by: Asitha de Silva <[email protected]>1 parent 52ded8f commit 1c6cf99
File tree
164 files changed
+2862
-2382
lines changed- apps/lfx-one
- src
- app
- layouts
- main-layout
- project-layout
- modules
- committees
- committee-dashboard
- committee-manage
- committee-view
- components
- committee-basic-info
- committee-category-selection
- committee-members-manager
- committee-members
- committee-settings
- committee-table
- member-card
- member-form
- upcoming-committee-meeting
- dashboards
- components
- dashboard-meeting-card
- foundation-health
- health-score-tag
- my-meetings
- my-projects
- organization-involvement
- pending-actions
- recent-progress
- core-developer
- maintainer
- meetings
- components
- agenda-template-selector
- cancel-occurrence-confirmation
- guest-form
- meeting-card
- meeting-committee-modal
- meeting-delete-confirmation
- meeting-delete-type-selection
- meeting-details
- meeting-modal
- meeting-platform-features
- meeting-recurrence-pattern
- meeting-registrants-display
- meeting-registrants-manager
- meeting-resources-summary
- meeting-rsvp-details
- meeting-type-selection
- public-registration-modal
- recording-modal
- recurring-meeting-edit-options
- registrant-card
- registrant-form
- registrant-modal
- rsvp-button-group
- rsvp-scope-modal
- summary-modal
- meeting-join
- meeting-manage
- meeting-not-found
- meetings-dashboard
- components/meetings-top-bar
- profile
- developer
- email
- manage-profile
- password
- settings
- components
- permissions-matrix
- user-form
- user-permissions-table
- settings-dashboard
- server
- middleware
- docs
- architecture/frontend
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
164 files changed
+2862
-2382
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | 165 | | |
182 | 166 | | |
183 | 167 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
66 | | - | |
| 65 | + | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
92 | 92 | | |
93 | 93 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
| |||
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
18 | | - | |
| 17 | + | |
19 | 18 | | |
20 | 19 | | |
21 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
| 5 | + | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
12 | | - | |
| 11 | + | |
13 | 12 | | |
14 | 13 | | |
15 | 14 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
| 10 | + | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
| |||
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
20 | | - | |
21 | | - | |
| 19 | + | |
22 | 20 | | |
23 | 21 | | |
24 | 22 | | |
| |||
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
| |||
14 | 13 | | |
15 | 14 | | |
16 | 15 | | |
17 | | - | |
18 | | - | |
| 16 | + | |
19 | 17 | | |
20 | 18 | | |
21 | 19 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
| |||
22 | 21 | | |
23 | 22 | | |
24 | 23 | | |
25 | | - | |
26 | | - | |
| 24 | + | |
27 | 25 | | |
28 | 26 | | |
29 | 27 | | |
| |||
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
92 | 91 | | |
93 | 92 | | |
94 | 93 | | |
| |||
104 | 103 | | |
105 | 104 | | |
106 | 105 | | |
107 | | - | |
108 | 106 | | |
109 | 107 | | |
110 | 108 | | |
| |||
0 commit comments