Skip to content
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

refactor: introduce parameter object to functions in Suggestor.ts #3022

Merged
merged 19 commits into from
Aug 10, 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)

Description

Introduce SuggestorParameters parameter object to many functions in Suggestor.ts.

Motivation and Context

As a next step, I want to refactor Suggestor.ts to reduce some repetition.

How has this been tested?

  • Existing automated tests
  • Exploratory testing

Checklist

  • My code follows the code style of this project and passes yarn run lint.
  • My change has adequate Unit Test coverage.

Terms

This simplifies a number of other functions higher up the call stack
Copy link

sonarcloud bot commented Aug 10, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
1 Accepted issue

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@claremacrae claremacrae changed the title refactor: introduc parameter object to Suggestor.ts refactor: introduce parameter object to functions in Suggestor.ts Aug 10, 2024
@claremacrae claremacrae added type: internal Only regards development or contributing scope: auto-suggest The pop-up menu that helps with editing tasks directly in markdown notes labels Aug 10, 2024
@claremacrae claremacrae merged commit 447d7e2 into main Aug 10, 2024
3 checks passed
@claremacrae claremacrae deleted the refactor-auto-suggest branch August 10, 2024 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope: auto-suggest The pop-up menu that helps with editing tasks directly in markdown notes type: internal Only regards development or contributing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant