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: add ListItem class #2819

Merged

Conversation

stasmarkin
Copy link
Contributor

Description

Add ListItem class
Also Task class extends ListItem

Motivation and Context

Add parent-child relationships for task
And manage ListItems

How has this been tested?

New unit tests

Types of changes

Changes visible to users:

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

@claremacrae claremacrae changed the title Refactor: add ListItem class refactor: add ListItem class May 13, 2024
@claremacrae claremacrae added the type: internal Only regards development or contributing label May 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 indeed.

@claremacrae claremacrae merged commit b061c02 into obsidian-tasks-group:main May 13, 2024
1 check passed
@claremacrae claremacrae mentioned this pull request May 13, 2024
15 tasks
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