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

Add support for filtering subtasks #105

Closed
wants to merge 1 commit into from

Conversation

Zocker1999NET
Copy link

@Zocker1999NET Zocker1999NET commented Jul 1, 2022

  • add getting parent id from Astrid's Tasks app

fixes #104

  • allow hiding all subtasks
  • allow to "Show subtasks only if they have a date and it differs from their parent(s)"
  • implement test cases
  • if possible, implement getting subtask property for other supported task apps

- add getting parent id from Astrid's Tasks app

refs andstatus#104
@yvolk yvolk marked this pull request as ready for review July 2, 2022 10:22
@@ -0,0 +1,34 @@
package org.andstatus.todoagenda.prefs;

import androidx.annoation.StringRes;
Copy link
Member

Choose a reason for hiding this comment

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

Hi @Zocker1999NET Thanks for the contribution.
The strange thing is that your code has lots of compilation errors :-)
Do you use Android Studio for development? I mean it shows all errors and it's easy to fix them...

Copy link
Author

Choose a reason for hiding this comment

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

No :), yesterday I wasn't home while coding, so I wrote the first version in VS Code without any Android/Java plugins applied (otherwise my laptop battery would have been died way too quick). That's why I haven't checked for compile errors for now xD.
I thought I marked this as draft and not as a "ready to merge" PR, but either I missed something or GitHub forgot that … It is not ready to merge yet, I just wanted that you and other collaborators can check on the progress and maybe hint on conceptional errors as early as possible.

Copy link
Member

Choose a reason for hiding this comment

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

As I see, you do most of additions using analogy with adjacent code, so everything is OK so far.
You didn't do all necessary additions for your first step yet, I think,
and this means that adding the new setting to existing tests will allow to show this.

So please don't postpone tests addition to the next implementation step.

@yvolk
Copy link
Member

yvolk commented Dec 16, 2022

Closing this as the work wasn't completed.
Maybe next time :-)

Anyway, we will remember the idea till someone has enough will and time to investigate and test this...

@yvolk yvolk closed this Dec 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Option to hide subtasks (conditionally)
2 participants