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: move referenceDate field to Occurrence class #2980

Conversation

ilandikov
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

  • move referenceDate field from Recurrence to Occurrence class

Motivation and Context

  • separate concerns (Reference date is related to Occurrence)

How has this been tested?

  • unit 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 added type: internal Only regards development or contributing scope: recurrence Anything to do with recurring/repeating tasks labels Jul 22, 2024
@ilandikov ilandikov force-pushed the refactor-occurrence-referenceDate branch from 659dca9 to 5235fff Compare July 22, 2024 18:11
@ilandikov
Copy link
Collaborator Author

@claremacrae rebased on top, ready for review =)

Copy link

sonarcloud bot commented Jul 22, 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.

Let me know when the end-point is, so I can start giving feedback! 😄

@claremacrae claremacrae merged commit 1bb7b0f into obsidian-tasks-group:main Jul 22, 2024
2 checks passed
@ilandikov
Copy link
Collaborator Author

Let me know when the end-point is, so I can start giving feedback! 😄

Sure thing, but you are welcome to do so any time =)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope: recurrence Anything to do with recurring/repeating tasks type: internal Only regards development or contributing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants