Skip to content

Commit 4142115

Browse files
feat: 6132 upgrade angular and primeNg to v21
* feat: migrate PrimeNG 17 to 18 * feat: migrate Angular 18/PrimeNG 18 to Angular 19/PrimeNG 19 * feat: migrate Angular 19/PrimeNG 19 to Angular 20/PrimeNG 20 * fix: default preset to Aura * fix: bridge dead PrimeNG color vars and override Aura primary to brand blue * fix: restore login styling and rename dead PrimeNG 19 CSS class tokens app-wide * fix: schema page spacing regression after PrimeNG 20 migration * fix: apply schema page spacing to other full pages and update shared tab selectors for PrimeNG 20 * fix: initial tab values, menu alignment, grid header padding * fix: add 40px gap below Import Schema dialog tabs * fix: restore close icon default in DynamicDialog * fix: Restore p-checkbox labels for PrimeNG 20 * fix: Restore PrimeNG 20 accordion headers and toggle functionality * fix: Lazy-render hidden default forms and add trackBy for schema field lists * fix: Fix Schema dialog height to prevent vertical shrinking on tab switch * fix: Restore Guardian accordion styling for PrimeNG 20 * fix: Restore Import dialog tabs gap, search icon positioning, toolbar button alignment * fix: prompt for mock before policy Dry-Run * fix: Restyle Import Artifacts dialog to match Guardian standard * fix: Stop artifact page CSS leaking into paginator dropdown * fix: Unify toolbar-to-table gap to 40px across all grid pages * fix: Unify toolbar-to-grid gap to 40px on Tools and shared-layout pages * fix: Fix Manage Policies grid regressions: toolbar gap, scroll chrome, status dropdown width, button alignment, duplicate tooltip * fix: fix Policy Comparison accordion: independent toggles, icon positioning, filter width * fix: Fix frozen Operations column stacking over status drop-downs on scroll * fix: Center items-per-page number in paginator select box * fix: Fix comparison page accordions: independent toggles, icon positioning, initial open panels * fix: Restore Migrate Data dialog tab switching after PrimeNG 20 migration * fix: Restore Manage Policies status dropdown backgrounds and alignment * fix: restore Tools page status pill styling and Operations column width * fix: Restore date picker to seamless white control after PrimeNG 20 migration * fix: Fix remaining date picker styling for PrimeNG 20 class renames * fix: Restore document viewer accordion open/close behaviour * fix: Establish page layout tokens and update shared skeleton * fix: Connect Manage Policies to shared page skeleton and tokens * fix: Add header gap to shared styles and connect Manage Modules to shared skeleton * fix: Convert Manage Modules table to shared grid pattern via p-table * fix: Consolidate paginator select/button/inputtext styling into shared component * fix: Flatten shared page header to match Tools etalon spacing * feat: Connect all 13 remaining pages to shared header skeleton * feat: Align Artifacts page to Module page pattern with shared grid * fix: Harmonize toolbar button and dropdown styles across policy engine pages * fix: Align Formulas page toolbar to Artifacts pattern, fix double-render bug * fix: Align Schema Rules page to actions-block pattern, remove back button * fix: remove page-local header spacing override and update toolbar to common pattern * refactor: Centralize header and tabs spacing into shared theme styles * feat: Centralize badge styling into shared Guardian theme * refactor: Extract Draft/Dry-run dropdown styling to shared guardian-status-select * refactor: Align List of Tokens page to common main-page pattern * fix: Align Retirement and Relayer Accounts pages to common spacing * fix: Equalize grid row heights on Tools and Formulas pages * refactor: Align Roles page list view to common main-page pattern * refactor: Align User Management page to common main-page pattern * refactor: Align Logs page to common pattern with variable row height * fix: Align Worker Tasks page to guardian-grid-container pattern with text-truncate and tooltips * fix: Align Notifications page to guardian-grid-container pattern with text-truncate and tooltips * fix: Align Profile page header/tabs to common pattern * fix: Align Search for Policies page header to common pattern * fix: Align Statistics page action block to Formulas pattern and remove Back button * fix: Align Policy Labels page action block to Formulas pattern and remove Back button * fix: Align List of Tokens header to common pattern and remove back-button blocks * fix: Align Retirement page to common Modules pattern with shared header, actions, and grid * fix: minor ts issue policy configurator * fix: Make Logs toolbar responsive and fix date-range icon positioning * feat: upgrade Angular and PrimeNG to version 21 * fix: Angular 21 frontend build errors * fix: clean Angular 21 build warnings * chore: clean up dependencies after Angular 21 migration * chore: clean up TypeScript compiler config * fix: new package lock file * fix: resolve UI regressions after Angular 21 / PrimeNG 21 migration * fix: Enable TypeScript strict mode with isolatedModules and noImplicitOverride * fix: minor fix for svg icon * fix: tsconfig options * fix: start policy wizard dialog --------- Signed-off-by: Alex Piatakov <alex.piatakov@swirldslabs.com> Co-authored-by: Alex Piatakov <alex.piatakov@swirldslabs.com>
1 parent b0e1c76 commit 4142115

728 files changed

Lines changed: 49940 additions & 50457 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.

frontend/angular.json

Lines changed: 39 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"guardian": {
99
"architect": {
1010
"build": {
11-
"builder": "@angular-devkit/build-angular:application",
11+
"builder": "@angular/build:application",
1212
"configurations": {
1313
"development": {
1414
"extractLicenses": false,
@@ -108,25 +108,30 @@
108108
],
109109
"styles": [
110110
"./node_modules/ngx-toastr/toastr.css",
111-
"./node_modules/primeng/resources/themes/saga-blue/theme.css",
112-
"./node_modules/primeng/resources/primeng.min.css",
113111
"./node_modules/primeicons/primeicons.css",
114112
"node_modules/ol/ol.css",
115113
"src/styles.scss"
116114
],
117115
"tsConfig": "tsconfig.app.json",
118116
"browser": "src/main.ts",
119-
"preserveSymlinks": true
117+
"preserveSymlinks": true,
118+
"stylePreprocessorOptions": {
119+
"sass": {
120+
"silenceDeprecations": [
121+
"import"
122+
]
123+
}
124+
}
120125
}
121126
},
122127
"extract-i18n": {
123-
"builder": "@angular-devkit/build-angular:extract-i18n",
128+
"builder": "@angular/build:extract-i18n",
124129
"options": {
125130
"buildTarget": "guardian:build"
126131
}
127132
},
128133
"serve": {
129-
"builder": "@angular-devkit/build-angular:dev-server",
134+
"builder": "@angular/build:dev-server",
130135
"configurations": {
131136
"development": {
132137
"buildTarget": "guardian:build:development",
@@ -144,7 +149,7 @@
144149
"defaultConfiguration": "development"
145150
},
146151
"test": {
147-
"builder": "@angular-devkit/build-angular:karma",
152+
"builder": "@angular/build:karma",
148153
"options": {
149154
"assets": [
150155
"src/favicon.ico",
@@ -179,5 +184,31 @@
179184
"sourceRoot": "src"
180185
}
181186
},
182-
"version": 1
187+
"version": 1,
188+
"schematics": {
189+
"@schematics/angular:component": {
190+
"type": "component"
191+
},
192+
"@schematics/angular:directive": {
193+
"type": "directive"
194+
},
195+
"@schematics/angular:service": {
196+
"type": "service"
197+
},
198+
"@schematics/angular:guard": {
199+
"typeSeparator": "."
200+
},
201+
"@schematics/angular:interceptor": {
202+
"typeSeparator": "."
203+
},
204+
"@schematics/angular:module": {
205+
"typeSeparator": "."
206+
},
207+
"@schematics/angular:pipe": {
208+
"typeSeparator": "."
209+
},
210+
"@schematics/angular:resolver": {
211+
"typeSeparator": "."
212+
}
213+
}
183214
}

frontend/karma.conf.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ module.exports = function (config) {
1010
require('karma-chrome-launcher'),
1111
require('karma-jasmine-html-reporter'),
1212
require('karma-coverage'),
13-
require('@angular-devkit/build-angular/plugins/karma')
1413
],
1514
client: {
1615
jasmine: {

0 commit comments

Comments
 (0)