Repository navigation
Conversation
There was a problem hiding this comment.
🟡 Changes recommended
Dashboard freshness, query-error reporting, overlapping-request tracking, and status-badge styling regressions remain unresolved.
4 open issues
1 file not reviewed
client/package-lock.json: Generated file
What changed in this PR
Modernizes HETS dependencies and framework integrations across the .NET server and React client, with automated dependency maintenance and verification.
Changes:
- Centralizes NuGet versions, adds lockfiles, and introduces verification, security-audit, and Dependabot workflows.
- Updates client routing, Bootstrap components, and date handling.
- Introduces Redux Toolkit and RTK Query for version state and dashboard counts, with supporting authentication tests.
| File | Description |
|---|---|
| Server/HetsReport/HetsReport.csproj | Uses centrally managed package versions. |
| Server/HetsImport/HetsImport.csproj | Uses centrally managed package versions. |
| Server/HetsData/packages.lock.json | Records data-layer dependency resolutions. |
| Server/HetsData/HetsData.csproj | Uses centrally managed package versions. |
| Server/HetsCommon/packages.lock.json | Records shared-library dependency resolutions. |
| Server/HetsCommon/HetsCommon.csproj | Uses centrally managed package versions. |
| Server/HetsCommon.Tests/packages.lock.json | Records test dependency resolutions. |
| Server/HetsCommon.Tests/HetsCommon.Tests.csproj | Uses centrally managed test packages. |
| Server/HetsBceid/packages.lock.json | Records BCeID dependency resolutions. |
| Server/HetsBceid/HetsBceid.csproj | Uses centrally managed package versions. |
| Server/HetsApi/HetsApi.csproj | Uses centrally managed API packages. |
| Server/Directory.Packages.props | Centralizes versions and enables lockfiles. |
| client/src/sass/main.scss | Renames directional spacing utilities. |
| client/src/js/views/WcbCglCoverage.jsx | Adopts Day.js and Bootstrap alignment classes. |
| client/src/js/views/Version.jsx | Updates button spacing classes. |
| client/src/js/views/UsersDetail.jsx | Updates popover components and alignment. |
| client/src/js/views/Users.jsx | Updates input groups and alignment. |
| client/src/js/views/TopNav.jsx | Adapts routing, popovers, and Redux connection. |
| client/src/js/views/TimeEntry.jsx | Updates search-button alignment. |
| client/src/js/views/Rollover.jsx | Updates accessibility and alignment classes. |
| client/src/js/views/Roles.jsx | Updates toolbar alignment. |
| client/src/js/views/RentalRequestsDetail.jsx | Adopts Day.js and updated spacing classes. |
| client/src/js/views/RentalRequests.jsx | Migrates date filters to Day.js. |
| client/src/js/views/RentalAgreementsDetail.jsx | Updates alignment and icon spacing. |
| client/src/js/views/ProjectsDetail.jsx | Updates button spacing and alignment. |
| client/src/js/views/Projects.jsx | Updates search-button alignment. |
| client/src/js/views/OwnersDetail.jsx | Updates alignment and spacing classes. |
| client/src/js/views/Owners.jsx | Updates search-button alignment. |
| client/src/js/views/Main.jsx | Uses routing and session-reset adapters. |
| client/src/js/views/Home.jsx | Fetches summary counts through RTK Query. |
| client/src/js/views/HiringReport.jsx | Updates search-button alignment. |
| client/src/js/views/Footer.jsx | Updates alignment and Redux connection. |
| client/src/js/views/EquipmentDetail.jsx | Updates button spacing and alignment. |
| client/src/js/views/Equipment.jsx | Adopts Day.js and updated alignment classes. |
| client/src/js/views/DistrictAdmin.jsx | Updates transfer-button alignment. |
| client/src/js/views/dialogs/TimeEntryDialog.jsx | Migrates date checks and button spacing. |
| client/src/js/views/dialogs/RentalRequestsEditDialog.jsx | Uses Day.js for date validation. |
| client/src/js/views/dialogs/RentalRequestsAddDialog.jsx | Uses Day.js for date validation. |
| client/src/js/views/dialogs/RentalRatesEditDialog.jsx | Updates removal-button spacing. |
| client/src/js/views/dialogs/RentalConditionsEditDialog.jsx | Updates removal-button spacing. |
| client/src/js/views/dialogs/EquipmentTransferDialog.jsx | Updates close-button spacing. |
| client/src/js/views/dialogs/AttachmentAddDialog.jsx | Updates alignment and button spacing. |
| client/src/js/views/BusinessPortal.jsx | Updates input spacing classes. |
| client/src/js/views/BusinessOwner.jsx | Updates return-button alignment. |
| client/src/js/views/AitReport.test.jsx | Migrates test date calculations to Day.js. |
| client/src/js/views/AitReport.jsx | Migrates report date filters to Day.js. |
| client/src/js/utils/sessionTimeout.js | Adds a session-reset registration helper. |
| client/src/js/utils/http.js | Uses the shared session-reset helper. |
| client/src/js/utils/dayjs.js | Configures UTC and quarter support. |
| client/src/js/utils/date.js | Migrates date utilities to immutable Day.js operations. |
| client/src/js/store.js | Configures Redux Toolkit and query middleware. |
| client/src/js/services/serverApi.js | Adds authenticated summary-count queries. |
| client/src/js/reducers/version.test.js | Tests version-state merging. |
| client/src/js/reducers/version.js | Converts version state to a Toolkit slice. |
| client/src/js/reducers/lookups.js | Removes legacy summary-count state. |
| client/src/js/reducers/all.js | Registers the query reducer. |
| client/src/js/mock/api/AitReport/searchAitReport.js | Generates report fixtures with Day.js. |
| client/src/js/mock/api/AitReport/getRentalAgreementsLite.js | Generates agreement fixtures with Day.js. |
| client/src/js/Keycloak.test.js | Tests initialization and logout behavior. |
| client/src/js/Keycloak.js | Updates initialization options and returns its promise. |
| client/src/js/components/withRouter.jsx | Adapts router hooks for class components. |
| client/src/js/components/ui/SubHeader.jsx | Updates edit-button alignment. |
| client/src/js/components/ReturnButton.jsx | Replaces history access with navigation hooks. |
| client/src/js/components/MultiDropdown.jsx | Uses the controlled visibility prop. |
| client/src/js/components/FilterDropdown.jsx | Uses the controlled visibility prop. |
| client/src/js/components/Favourites.jsx | Uses the controlled visibility prop. |
| client/src/js/components/DropdownControl.jsx | Updates visibility, selection handlers, and popovers. |
| client/src/js/components/Confirm.jsx | Updates popover component names. |
| client/src/js/components/AuthorizedRoute.jsx | Adapts authorization rendering to modern routing. |
| client/src/js/App.test.jsx | Checks query completion and displayed counts. |
| client/src/js/App.jsx | Migrates routes and introduces lazy-loaded views. |
| client/src/js/api.js | Uses Day.js and Toolkit version actions. |
| client/src/js/actionTypes.js | Removes replaced legacy action constants. |
| client/package.json | Updates frameworks, libraries, and development tools. |
| .github/workflows/verify.yml | Adds server and client build/test checks. |
| .github/workflows/security.yml | Adds dependency review and package audits. |
| .github/dependabot.yml | Schedules grouped dependency updates. |
Review effort: Balanced
There was a problem hiding this comment.
🟡 Changes recommended
Same-repository PR workflows can overwrite release images, and promotion trusts self-declared metadata without verifying build provenance, allowing unmerged PR-built images to be accepted as trusted releases.
5 open issues
Restrict release publishing and verify build provenance · New Refetch Home counts after returning to prevent stale summaries Use shared request tracking for overlapping Home and Main requests Show Home counts query failures in the existing error dialog Migrate React Bootstrap Badge variant prop to bg
1 file not reviewed
client/package-lock.json: Generated file
Review effort: Balanced
Centralize and lock NuGet package versions, update runtime dependencies, and build an OpenShift-compatible API image. Includes the dependency updates tracked under HETS-1387 and HETS-1389.
Update client dependencies and build tooling, migrate Bootstrap, routing and Redux, and repair badges, query errors, request accounting, and summary refresh behavior. Includes client dependency updates tracked under HETS-1387.
Add verification and supply-chain workflows, build and publish images from trusted master runs, verify image attestations before promotion, and update GitOps delivery. Consolidates related pipeline fixes and dependency automation.
ionwyn
force-pushed
the
modernization/dependencies-frameworks
branch
from
November 4, 2026 17:09
82206ed to
f7d93ac
Compare
rogene-bcgov
approved these changes
Nov 5, 2026
rogene-bcgov
left a comment
Collaborator
There was a problem hiding this comment.
This is also good to merge. Great job!
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Summary
Modernizes HETS dependencies and application frameworks, including .NET packages, React Bootstrap, React Router, Redux Toolkit, and Day.js. Adds locked dependency verification, portable API/client container builds, and GHCR-to-GitOps deployment workflows with signed image provenance checks.
The client update preserves status badge colors, displays query failures, keeps request activity accurate, and refreshes Home summary counts on return.
Verification