Skip to content

feat(VE-7062): disable editing when workflow stage rules restrict the same#486

Closed
faraazb wants to merge 2 commits intomainfrom
VE-7062-disable-entry-edit-workflow-stage
Closed

feat(VE-7062): disable editing when workflow stage rules restrict the same#486
faraazb wants to merge 2 commits intomainfrom
VE-7062-disable-entry-edit-workflow-stage

Conversation

@faraazb
Copy link
Copy Markdown
Contributor

@faraazb faraazb commented Aug 6, 2025

NOT FOR 7th August release.

Fetch workflow stage details for the entry from parent and disable editing based on the received data

@faraazb faraazb marked this pull request as ready for review August 6, 2025 11:43
@faraazb faraazb requested a review from a team as a code owner August 6, 2025 11:43
@faraazb faraazb changed the title feat: disable editing when workflow stage rules restrict the same feat(VE-7062): disable editing when workflow stage rules restrict the same Aug 6, 2025
Fetch workflow stage details for the entry from parent and
disable editing based on the received data
@faraazb faraazb force-pushed the VE-7062-disable-entry-edit-workflow-stage branch from 1a04a21 to 7aeeb63 Compare August 6, 2025 13:12
@faraazb faraazb changed the base branch from develop_v3 to stage_v3 August 6, 2025 13:22
Base automatically changed from stage_v3 to main August 7, 2025 05:54
@faraazb faraazb closed this Aug 7, 2025
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Aug 7, 2025

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 72.28% 9209 / 12740
🔵 Statements 72.28% 9209 / 12740
🔵 Functions 71.73% 330 / 460
🔵 Branches 83.65% 1136 / 1358
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
src/visualBuilder/components/FieldToolbar.tsx 77.26% 75% 37.5% 77.26% 62-110, 133, 172, 207-224, 245-248, 271-280, 309-317, 325-326, 329-330, 382-388, 405-406, 470, 507, 588-595
src/visualBuilder/components/fieldLabelWrapper.tsx 80.55% 70% 80% 80.55% 45-47, 55-57, 139-150, 153-157, 218-219, 223-228, 232, 287-289, 295-313, 318-330
src/visualBuilder/generators/generateToolbar.tsx 90% 86.66% 83.33% 90% 28-29, 90-95, 143-147, 190-191
src/visualBuilder/listeners/mouseClick.ts 73.23% 66.66% 90.9% 73.23% 88, 98-104, 109-110, 113-118, 131-159, 171-172, 185-186, 231, 290-296, 334-340, 358-368
src/visualBuilder/listeners/mouseHover.ts 63.15% 43.24% 61.11% 63.15% 49-56, 73-74, 121-131, 137-138, 145-148, 151-153, 159, 173-174, 183-199, 206-208, 210-251, 259-261, 263-265, 273-281, 284-287, 289-291, 306-310, 373-374
src/visualBuilder/utils/fetchEntryPermissionsAndStageDetails.ts 77.27% 20% 100% 77.27% 31-35, 37-41
src/visualBuilder/utils/getEntryPermissions.ts 0% 0% 0% 0% 1-47
src/visualBuilder/utils/getWorkflowStageDetails.ts 100% 100% 100% 100%
src/visualBuilder/utils/handleIndividualFields.ts 98.37% 85.71% 100% 98.37% 94-95
src/visualBuilder/utils/isFieldDisabled.ts 87.15% 88.88% 50% 87.15% 20, 22-26, 53-56, 61-64, 105-106
src/visualBuilder/utils/updateFocussedState.ts 56.5% 60.71% 100% 56.5% 45, 57-59, 61-63, 65, 203-206, 208-239, 326-330, 333-350, 353-363, 366-383, 390-435, 442-464, 470-472
src/visualBuilder/utils/types/postMessage.types.ts 100% 100% 100% 100%
Generated in workflow #509 for commit 790875a by the Vitest Coverage Report Action

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.

2 participants