Skip to content

Comments

Apps#9355

Merged
evereq merged 11 commits intostage-appsfrom
stage
Jan 21, 2026
Merged

Apps#9355
evereq merged 11 commits intostage-appsfrom
stage

Conversation

@evereq
Copy link
Member

@evereq evereq commented Jan 21, 2026

PR

Please note: we will close your PR without comment if you do not check the boxes above and provide ALL requested information.



Summary by cubic

Upgraded the apps to Angular 20 and migrated UI templates to the new Angular control flow (@if/@for), alongside dependency updates (NestJS, Mikro-ORM, TypeScript) and quieter dotenv loading. This improves build compatibility, reduces console noise, and modernizes the UI codebase.

  • Dependencies

    • Angular 20 across agent, desktop, desktop-timer, and gauzy; Nebular 16; ngx-charts 23.
    • NestJS 11.1.12, Mikro-ORM 6.6.4, TypeScript 5.9.3, terser-webpack-plugin 5.3.16.
    • pg and pg-query-stream updated; faker and jest-preset-angular bumped in e2e.
    • dotenv 17.2.3 with quiet loading; added allowed CommonJS deps (dayjs, moment-duration-format, localforage) in project configs.
    • Minor Material SCSS updates (use mat.elevation-classes and mat.app-background).
  • Migration

    • Run a fresh install and rebuild (yarn install; Nx/Angular CLI v20).
    • Update any custom templates to Angular’s built-in control flow (@if/@for/@switch) instead of ngIf/ngFor/ngSwitch.
    • If you see CommonJS warnings, add dayjs/moment-duration-format/localforage to allowedCommonJsDependencies.
    • No env changes required; dotenv now loads quietly.

Written for commit ea2fa77. Summary will update on new commits.

samuelmbabhazi and others added 11 commits January 19, 2026 11:41
Merge pull request #9346 from ever-co/feat/monitoring-i18n-settings
When switching between users (especially across different tenants),
the persisted selectedOrganization from localStorage could belong to
a different tenant, causing 400 errors from backend validators.

Reset to employee.organization if available, otherwise null.
OrganizationSelectorComponent will set the correct organization after login.

Fixes #9226
…on-on-login

fix(auth): reset selectedOrganization on login to prevent stale data
…Layout-#9200

Fix: UI/UX layout improvements for Login page #9200
Bumps [nodemailer](https://github.com/nodemailer/nodemailer) from 6.9.16 to 7.0.12.
- [Release notes](https://github.com/nodemailer/nodemailer/releases)
- [Changelog](https://github.com/nodemailer/nodemailer/blob/master/CHANGELOG.md)
- [Commits](nodemailer/nodemailer@v6.9.16...v7.0.12)

---
updated-dependencies:
- dependency-name: nodemailer
  dependency-version: 7.0.12
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
…ler-7.0.12

chore(deps): bump nodemailer from 6.9.16 to 7.0.12
* chore(deps): bump nx from 21.1.0 to 21.2.0

* chore(deps): chore(deps): bump @angular/core from ^19.2.17 to ^20.0.7

- Update @angular/common and @angular/core peerDependencies from ^19.2.17 to ^20.0.7 across all UI packages
- Upgrade @nebular packages (auth, eva-icons, security, theme) from ^15.0.0 to ^16.0.0
- Update @nebular/bootstrap from ^9.1.0-rc.6 to ^9.1.0-rc.8

* chore(deps): upgrade all packages to Angular 20 and compatible dependencies

Angular packages updated to ^20.0.7 (cdk/material to ^20.0.6):
- @angular/animations, common, compiler, core, forms, language-service
- @angular/platform-browser, platform-browser-dynamic, router, service-worker
- @angular/cdk, @angular/material

* chore(deps): bump @swimlane/ngx-charts from ^22.0.0-alpha.1 to ^23.0.0

* fix(deps): upgrade Angular 20 compatible third-party packages

- @angular-slider/ngx-slider: ^19.0.0 → ^20.0.0
- @bluehalo/ngx-leaflet: ^19.0.0 → ^20.0.0
- @swimlane/ngx-charts: ^22.0.0-alpha.1 → ^23.0.0

* chore(peer-deps): downgrade @angular/core to ^20.0.0

* chore(deps): bump nx from 21.1.0 to 21.2.0

* fix: resolve Angular control flow migration errors

* chore(deps): bump nx from 21.1.0 to 21.2.0

* chore(deps): bump tar from 7.4.3 to 7.5.3

Bumps [tar](https://github.com/isaacs/node-tar) from 7.4.3 to 7.5.3.
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](isaacs/node-tar@v7.4.3...v7.5.3)

---
updated-dependencies:
- dependency-name: tar
  dependency-version: 7.5.3
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps): bump nx from 21.1.0 to 21.2.0

* chore(deps): bump nx from 21.1.0 to 21.2.0

* Update dashboard-skeleton.component.html

* fix: build issue

* refactor(package): simplify `build:package:common` command

* refactor(package): simplify `build:package:core` command

* refactor(package): simplify `build:package:ui-auth` command

* refactor(package): simplify `build:package:*` commands

* refactor(package): simplify `build:package:*` commands

* chore(deps): upgrade typeorm to 0.3.28 across all packages

* chore(deps): upgrade uuid to 13.0.0

* chore(deps): upgrade moment-timezone to 0.6.0

* chore(deps): upgrade typescript to 5.9.3

* chore(deps): upgrade angular2-smart-table to 4.1.1

* Revert "chore(deps): upgrade angular2-smart-table to 4.1.1"

This reverts commit 4204504.

* chore(deps): upgrade typescript to 5.9.3

* chore(build): add CommonJS dependencies to allowed list for `desktop-ui-lib`

* Update menu-item.component.html

* Update menu-item.component.ts

* fix: seeder command

* fix: tasks sprint settings view

* chore(deps): downgrade @ng-select/ng-select from 15.0.0 to 14.9.0

* chore(deps): upgrade terser-webpack-plugin to 5.3.16 and camelcase to 9.0.0

- Update terser-webpack-plugin across all apps
- Upgrade camelcase and fix imports for v9 default export
- Remove unused camelcase from apps/gauzy and root package.json

* chore: upgrade @nestjs/* packages to latest versions

- Upgrade core NestJS packages from 11.1.10 to 11.1.12:
  * @nestjs/common
  * @nestjs/core
  * @nestjs/platform-express
  * @nestjs/testing
  * @nestjs/microservices
  * @nestjs/platform-socket.io
  * @nestjs/websockets

- Upgrade GraphQL packages:
  * @nestjs/apollo: 13.1.0 → 13.2.3
  * @nestjs/graphql: 13.1.0 → 13.2.3
  * Add @as-integrations/express5: ^1.1.2 (required for GraphQLModule)

- Upgrade other NestJS packages:
  * @nestjs/jwt: 11.0.0 → 11.0.2
  * @nestjs/serve-static: 5.0.3 → 5.0.4
  * @nestjs/swagger: 11.1.5 → 11.2.5
  * @nestjs/throttler: 6.4.0 → 6.5.0

- Add camelcase resolution (^9.0.0) to root package.json

Updated across all apps and packages in the monorepo.

* chore(deps): bump dotenv from ^16.0.3 to ^17.2.3

* Update public layout component html

* chore(deps): bump angular2-smart-table from ^3.7.0 to ^4.1.1

* chore(deps): bump dotenv from ^16.0.3 to ^17.2.3

* Update package.json

* chore(deps): upgrade @mikro-orm/* packages to 6.6.4

Upgrade all @mikro-orm packages from 6.4.13 to 6.6.4 across core, config,  plugins, and desktop-api packages.

* perf: optimize API startup (reduce DB retries/timeouts)

* Update selector.abstract.ts

* fix(config): use Number.parseInt and simplify db timeout logic

* Update yarn.lock

* chore(deps): upgrade packages to latest versions

* Update package.json

* chore(deps): upgrade packages to latest versions

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix(auth): reset selectedOrganization on login to prevent stale data

When switching between users (especially across different tenants),
the persisted selectedOrganization from localStorage could belong to
a different tenant, causing 400 errors from backend validators.

Reset to employee.organization if available, otherwise null.
OrganizationSelectorComponent will set the correct organization after login.

Fixes #9226

* Merge pull request #9308 from rishi-rj-s/fix/fixed-loginPage-elementsLayout-#9200

Fix: UI/UX layout improvements for Login page #9200

* chore(deps): bump dotenv from ^16.0.3 to ^17.2.3

* chore(deps): bump nodemailer from 6.9.16 to 7.0.12

Bumps [nodemailer](https://github.com/nodemailer/nodemailer) from 6.9.16 to 7.0.12.
- [Release notes](https://github.com/nodemailer/nodemailer/releases)
- [Changelog](https://github.com/nodemailer/nodemailer/blob/master/CHANGELOG.md)
- [Commits](nodemailer/nodemailer@v6.9.16...v7.0.12)

---
updated-dependencies:
- dependency-name: nodemailer
  dependency-version: 7.0.12
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix: seeder module resolution

* chore(deps): packages updates (#9340)

* chore(deps): bump nx from 21.1.0 to 21.2.0

* chore(deps): chore(deps): bump @angular/core from ^19.2.17 to ^20.0.7

- Update @angular/common and @angular/core peerDependencies from ^19.2.17 to ^20.0.7 across all UI packages
- Upgrade @nebular packages (auth, eva-icons, security, theme) from ^15.0.0 to ^16.0.0
- Update @nebular/bootstrap from ^9.1.0-rc.6 to ^9.1.0-rc.8

* chore(deps): upgrade all packages to Angular 20 and compatible dependencies

Angular packages updated to ^20.0.7 (cdk/material to ^20.0.6):
- @angular/animations, common, compiler, core, forms, language-service
- @angular/platform-browser, platform-browser-dynamic, router, service-worker
- @angular/cdk, @angular/material

* chore(deps): bump @swimlane/ngx-charts from ^22.0.0-alpha.1 to ^23.0.0

* fix(deps): upgrade Angular 20 compatible third-party packages

- @angular-slider/ngx-slider: ^19.0.0 → ^20.0.0
- @bluehalo/ngx-leaflet: ^19.0.0 → ^20.0.0
- @swimlane/ngx-charts: ^22.0.0-alpha.1 → ^23.0.0

* chore(peer-deps): downgrade @angular/core to ^20.0.0

* chore(deps): bump nx from 21.1.0 to 21.2.0

* fix: resolve Angular control flow migration errors

* chore(deps): bump nx from 21.1.0 to 21.2.0

* chore(deps): bump tar from 7.4.3 to 7.5.3

Bumps [tar](https://github.com/isaacs/node-tar) from 7.4.3 to 7.5.3.
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](isaacs/node-tar@v7.4.3...v7.5.3)

---
updated-dependencies:
- dependency-name: tar
  dependency-version: 7.5.3
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps): bump nx from 21.1.0 to 21.2.0

* chore(deps): bump nx from 21.1.0 to 21.2.0

* Update dashboard-skeleton.component.html

* fix: build issue

* refactor(package): simplify `build:package:common` command

* refactor(package): simplify `build:package:core` command

* refactor(package): simplify `build:package:ui-auth` command

* refactor(package): simplify `build:package:*` commands

* refactor(package): simplify `build:package:*` commands

* chore(deps): upgrade typeorm to 0.3.28 across all packages

* chore(deps): upgrade uuid to 13.0.0

* chore(deps): upgrade moment-timezone to 0.6.0

* chore(deps): upgrade typescript to 5.9.3

* chore(deps): upgrade angular2-smart-table to 4.1.1

* Revert "chore(deps): upgrade angular2-smart-table to 4.1.1"

This reverts commit 4204504.

* chore(deps): upgrade typescript to 5.9.3

* chore(build): add CommonJS dependencies to allowed list for `desktop-ui-lib`

* Update menu-item.component.html

* Update menu-item.component.ts

* fix: seeder command

* fix: tasks sprint settings view

* chore(deps): downgrade @ng-select/ng-select from 15.0.0 to 14.9.0

* chore(deps): upgrade terser-webpack-plugin to 5.3.16 and camelcase to 9.0.0

- Update terser-webpack-plugin across all apps
- Upgrade camelcase and fix imports for v9 default export
- Remove unused camelcase from apps/gauzy and root package.json

* chore: upgrade @nestjs/* packages to latest versions

- Upgrade core NestJS packages from 11.1.10 to 11.1.12:
  * @nestjs/common
  * @nestjs/core
  * @nestjs/platform-express
  * @nestjs/testing
  * @nestjs/microservices
  * @nestjs/platform-socket.io
  * @nestjs/websockets

- Upgrade GraphQL packages:
  * @nestjs/apollo: 13.1.0 → 13.2.3
  * @nestjs/graphql: 13.1.0 → 13.2.3
  * Add @as-integrations/express5: ^1.1.2 (required for GraphQLModule)

- Upgrade other NestJS packages:
  * @nestjs/jwt: 11.0.0 → 11.0.2
  * @nestjs/serve-static: 5.0.3 → 5.0.4
  * @nestjs/swagger: 11.1.5 → 11.2.5
  * @nestjs/throttler: 6.4.0 → 6.5.0

- Add camelcase resolution (^9.0.0) to root package.json

Updated across all apps and packages in the monorepo.

* chore(deps): bump dotenv from ^16.0.3 to ^17.2.3

* Update public layout component html

* chore(deps): bump angular2-smart-table from ^3.7.0 to ^4.1.1

* chore(deps): bump dotenv from ^16.0.3 to ^17.2.3

* Update package.json

* chore(deps): upgrade @mikro-orm/* packages to 6.6.4

Upgrade all @mikro-orm packages from 6.4.13 to 6.6.4 across core, config,  plugins, and desktop-api packages.

* perf: optimize API startup (reduce DB retries/timeouts)

* Update selector.abstract.ts

* fix(config): use Number.parseInt and simplify db timeout logic

* Update yarn.lock

* chore(deps): upgrade packages to latest versions

* Update package.json

* chore(deps): upgrade packages to latest versions

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: samuelmbabhazi <samuelmbabhazi@gmail.com>
Co-authored-by: Rishiraj S <131572506+rishi-rj-s@users.noreply.github.com>
Co-authored-by: Rahul R. <rahulrathore576@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rahul R. <41804588+rahul-rocket@users.noreply.github.com>
@greptile-apps
Copy link
Contributor

greptile-apps bot commented Jan 21, 2026

Skipped: This PR changes more files than the configured file change limit: (659 files found, 100 file limit)

@evereq evereq merged commit 4a84b66 into stage-apps Jan 21, 2026
14 of 15 checks passed
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 21, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch stage

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@chatgpt-codex-connector
Copy link

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@augmentcode
Copy link

augmentcode bot commented Jan 21, 2026

This pull request is too large for Augment to review. The PR exceeds the maximum size limit of 100000 tokens (approximately 400000 characters) for automated code review. Please consider breaking this PR into smaller, more focused changes.

@cla-assistant
Copy link

cla-assistant bot commented Jan 21, 2026

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
4 out of 5 committers have signed the CLA.

✅ samuelmbabhazi
✅ evereq
✅ rahul-rocket
✅ rishi-rj-s
❌ dependabot[bot]
You have signed the CLA already but the status is still pending? Let us recheck it.

@cla-assistant
Copy link

cla-assistant bot commented Jan 21, 2026

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
4 out of 5 committers have signed the CLA.

✅ evereq
✅ samuelmbabhazi
✅ rahul-rocket
✅ rishi-rj-s
❌ dependabot[bot]
You have signed the CLA already but the status is still pending? Let us recheck it.

@sonarqubecloud
Copy link

Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 659 files

Note: This PR contains a large number of files. cubic only reviews up to 75 files per PR, so some files may not have been reviewed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants