Page MenuHomePhabricator

Refactor: DRY up repeated logic in some ZCode implementation files
Open, LowPublic


There's repeated logic in files such as resources/ext.wikilambda.edit/store/modules/zobject/submission.js, for example the error code:

context.dispatch( 'setError', {
								errorCode: Constants.errorCodes.MISSING_IMPLEMENTATION_CODE,
								errorType: Constants.errorTypes.ERROR
							} );
							isValid = false;

can be extracted into a reusable method, etc.

Event Timeline

Mcastro moved this task from To triage to Backlog on the Abstract Wikipedia team board.
ecarg removed ecarg as the assignee of this task.Apr 9 2024, 10:51 PM

(Un-assigning myself for now as I'll prioritize other 'fix-it' tasks; am happy to pick up later or not, TY)