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: make ListItem class more similar to Task #3328

Merged

Conversation

ilandikov
Copy link
Collaborator

Types of changes

Done by pairing with @claremacrae

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

  • move TaskLocation-related getters from Task to LIstItem
  • make ListItem.identicalTo() test taskLocation property

Motivation and Context

How has this been tested?

  • new & existing unit test

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 added the type: internal Only regards development or contributing label Feb 14, 2025
Copy link

sonarqubecloud bot commented Feb 14, 2025

Quality Gate Passed Quality Gate passed

Issues
1 New issue
0 Accepted issues

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

See analysis details on SonarQube Cloud

@claremacrae claremacrae merged commit 0bd5771 into obsidian-tasks-group:main Feb 14, 2025
3 checks passed
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