chore: merge dev into test - #447
Open
mdiapenabc wants to merge 7 commits into
Open
Conversation
…t to backend api driven (#441) converted weekly file child search column filters search and sort to backend api driven Co-authored-by: Madjo Diapena <Madjo.Diapena@gov.bc.ca>
fix: report auto-batch on-hold totals in completion summary Surface excluded record counts and missing-field details after Add System determined Eligible/NE kids to Batch, sync ICM when only auto-hold occurs, and refresh the contacts list when incomplete records are placed on hold.
* add update & delete api for data quality steward user * update admin service logic
created a ui view for data quality stewards
* fix: limit retry-failed to latest actionable failure per job type Exclude RETRY_FAILED from the retry queue, dedupe by job type, and skip cron failures superseded by a later success. Align hasStuckOrFailedJobs with the same actionable set. * fix: use Prisma.JobRunWhereInput for retry job filter Replace `as const` on RETRYABLE_FAILED_JOB_WHERE so nest build accepts the where clause passed to prisma.jobRun.findMany.
#446) * fix: gate DQ steward UI behind capability flags and skip blocked API calls Data Quality Stewards were hitting forbidden batch and jobs endpoints on page load. Add getCsaCapabilities/useCsaCapabilities as the single frontend source of truth and guard mount-time fetches, tabs, and actions accordingly. * refactor: split CSA frontend by profile with shared eligibility page Replace the monolithic App and capability flags with a thin router, StandardCsaApp, DqEligibilityApp, and EligibilityListPage so DQ stewards never mount batch/job effects and new CSA features stay profile-free. * fix lint issues * Revert "fix lint issues" This reverts commit 4b54fc8. * Revert "refactor: split CSA frontend by profile with shared eligibility page" This reverts commit be47fe4. * fix: satisfy frontend lint on DQ capability guards Defer eligibility tab reset in an effect and apply prettier formatting so CI passes on the minimal DQ mount-guard fix. * refactor: simplify CSA access to profile flags for two roles Replace the eight-flag capability matrix with isStandardUser, isDataQualitySteward, and canEditContactRecords so CSA stays the default and DQ remains the explicit exception. * refactor: derive explicit CSA capability flags from profile Keep profile booleans and readable feature flags (batches, jobs, contacts) in one buildCapabilities() function so App.tsx documents intent at each gate without maintaining duplicate role matrices. * refactor: finalize CSA capability matrix and eligibility toolbar Use CAPABILITY_PROFILES as the single source of truth, add canAccessEligibilityList for both roles, rename caseworker actions to canPerformCsaActions, and group Clear Filters with search/PDQ instead of workflow buttons so DQ stewards can reset column filters. --------- Co-authored-by: plakkara-bc <Preethi.Lakkaraju@gov.bc.ca>
* chore: add local dev workflow with auth bypass and Colima setup Enable laptop development without Keycloak or ICM via DEPLOY_ENV=local and VITE_APP_ENV=LOCAL, with Makefile targets, docker-compose updates, CRA file storage under .local/storage, and seed cleanup for related tables. * chore: expand local dev fixtures and CRA mock file workflow Add persona-based seeding, filesystem ICM/MIS/CRA integrations, Makefile targets for ingest/eligibility and mock RSP/WKL generation, and remove the optional MinIO docker profile in favor of .local/storage for laptop dev. * docs: polish local dev onboarding and add make install Refresh backend and frontend READMEs with src layout and setup steps, correct seed contact counts in the root README, and add root .nvmrc plus make install for first-time setup. * fix lint issues * fix: mock ConfigService in state-machine controller spec CSAGuard now depends on ConfigService for local auth bypass, so the test module must provide it. * chore: require explicit env config and use fake CRA user ID locally Require DEPLOY_ENV and document CRA/sync vars in .env.example instead of code defaults. Replace TST0016 with TESTUSERID1 for public local dev fixtures. * chore: add local profile switcher for CSA Standard and DQ steward Let developers toggle between CSA_STANDARD and DATA_QUALITY_STEWARD on laptop dev without separate IDIR accounts, keeping UI capabilities and API guards in sync via X-Local-Dev-Profile. * fix lint issues --------- Co-authored-by: plakkara-bc <Preethi.Lakkaraju@gov.bc.ca>
plakkara-bc
self-requested a review
August 9, 2026 04:08
plakkara-bc
approved these changes
Aug 9, 2026
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.
Release 26.10