Skip to content

refactor: Small improvements to the 'On Completion' implementation #3010

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Aug 6, 2024

Conversation

claremacrae
Copy link
Collaborator

Types of changes

Internal changes:

  • Refactor (prefix: refactor - non-breaking change which only improves the design or structure of existing code, and making no changes to its external behaviour)
  • Tests (prefix: test - additions and improvements to unit tests and the smoke tests)

Description

  • Refactor the On Completion code to make wider use of the OnCompletion enum.
  • Move the code for parsing On Completion values from DefaultTaskSerializer.ts to OnCompletion.ts so that all edits for new or changed options are in the same file.
  • Add new test to ensure that the EditTask modal retains any OnCompletion value (it cannot yet edit the value)

Motivation and Context

Getting ready to release the work done in:

How has this been tested?

  • Automated tests
  • Exploratory testing

Checklist

Terms

@claremacrae claremacrae added the type: internal Only regards development or contributing label Aug 6, 2024
Copy link

sonarqubecloud bot commented Aug 6, 2024

@claremacrae claremacrae merged commit 3abc6bf into main Aug 6, 2024
3 checks passed
@claremacrae claremacrae deleted the improve-on-completion branch August 6, 2024 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: internal Only regards development or contributing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant