-
-
Notifications
You must be signed in to change notification settings - Fork 267
feat: Implementation of Task-Duration (#1649) #3464
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
base: main
Are you sure you want to change the base?
Conversation
Thank you for this! I see you've force-pushed already, so I won't start reviewing yet, as any draft comments are invalidated (disconnected from the code) by force pushes... So for now I'll just have a quick experiment on my Mac to see what the chosen Emoji looks like. Please let me know when it's stable for a day or so, and I'll start reviewing. |
PS For future reference - I would definitely recommend that you create a branch for PRs in future, rather than pushing from the default branch. It will be easier for you and for maintainers. |
|
@Drezil I remain grateful for this contribution, but I am getting a little concerned about the size of this PR, before I have had a chance to review and give feedback on the initial code. There are things needing to be improved about the design of the first layer - the storage, reading and writing of durations - and the behaviour of the Duration class. The more code you add above the initial implementation of that layer:
Please do not add any more layers until you have let me know that the functionality you have now pushed is ready for review, and we have finalised what it looks like. Thank you again for all your work. |
Yes, reflecting on this, the design decisions about the lower layer will affect some aspects of the desired behaviour of the higher layers. So, when you say the code added in the initial commit is ready review, i will first do an initial review of that code. Once that has settled down, I'll then review searching/sorting/grouping. |
Whilst I'm thinking about reviews, a general comment about how review Conversations are used in the project: FYI I use the "conversation resolved" facility to mean that any discussion is completed and/or requested changes have been made and reviewed. This enables me to keep track of what remains, whereas if the contributor marks conversations as being resolved, all discussion is hidden by github and it is easy for me to miss comments I needed to read, or changes I needed to review.... So in summary, as you respond to any review comments, please do leave a note to say when things have been done - but just please don't mark conversations as resolved - thanks in advance. |
Types of changes
Changes visible to users:
feat
- non-breaking change which adds functionality)feat!!
orfix!!
- fix or feature that would cause existing functionality to not work as expected)fix
- non-breaking change which fixes an issue)i18n
- additions or improvements to the translations - see Support a new language)docs
- improvements to any documentation content for users)vault
- improvements to the Tasks-Demo sample vault)contrib
- any improvements to documentation content for contributors - see Contributing to Tasks)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)chore
- examples include GitHub Actions, issue templates)Description
Step 1 of #1649 (comment)
Motivation and Context
#1649
How has this been tested?
Currently dogfeeding this PR in my daily obsidian. Will test it extensively - but added it to all tests-suites and i am pretty confident that no issues should arise.
Screenshots (if appropriate)
Checklist
yarn run lint
.Remaining Issues
this draft-PR gets updated if things tag along. See it as a first preview.
Terms