Skip to content

refactor: cleanup TaskLayout.ts #2578

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 5 commits into from
Jan 13, 2024

Conversation

ilandikov
Copy link
Collaborator

Description

Following the previous refactoring:

  • rename defaultLayout to taskLayoutComponents
  • remove unused methods in TaskLayout
  • group similar code around

Motivation and Context

Code readability and clarity.

How has this been tested?

Unit tests.

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)

Checklist

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

Terms

@ilandikov ilandikov changed the title refactor: cleanup TaskLayout refactor: cleanup TaskLayout.ts Jan 13, 2024
@claremacrae claremacrae added the type: internal Only regards development or contributing label Jan 13, 2024
Copy link
Collaborator

@claremacrae claremacrae left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Super - thanks very much.

@claremacrae claremacrae merged commit c6ee257 into obsidian-tasks-group:main Jan 13, 2024
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.

2 participants