generated from obsidianmd/obsidian-sample-plugin
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: extract QueryLayoutOptions from LayoutOptions #2521
Merged
claremacrae
merged 22 commits into
obsidian-tasks-group:main
from
ilandikov:extract-QueryLayoutOptions
Dec 21, 2023
Merged
refactor: extract QueryLayoutOptions from LayoutOptions #2521
claremacrae
merged 22 commits into
obsidian-tasks-group:main
from
ilandikov:extract-QueryLayoutOptions
Dec 21, 2023
Conversation
This file contains 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
claremacrae
reviewed
Dec 19, 2023
Manual operation. Automated refactoring not available, probably due to optional parameters
Smoke tests are good, added link for reference. |
claremacrae
approved these changes
Dec 21, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All changes done by pairing together...
Thanks for fixing the parameter order in that last commit.
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.
Description
Extract QueryLayoutOptions from LayoutOptions.
Motivation and Context
Starting to think about implementing issues such as #848 #2380 #2198
Separate concerns between options for task & query rendering.
How has this been tested?
Unit tests + smoke tests (https://github.com/obsidian-tasks-group/obsidian-tasks/actions/runs/7263529954)
Types of changes
Internal changes:
refactor
- non-breaking change which only improves the design or structure of existing code, and making no changes to its external behaviour)test
- additions and improvements to unit tests and the smoke tests)Checklist
yarn run lint
.Terms