-
Notifications
You must be signed in to change notification settings - Fork 106
Update to the design of the task list #1135
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
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1135 +/- ##
==========================================
+ Coverage 25.56% 27.82% +2.26%
==========================================
Files 40 48 +8
Lines 2496 2609 +113
Branches 494 494
==========================================
+ Hits 638 726 +88
- Misses 1718 1743 +25
Partials 140 140 |
|
Looks very nice @timkrief, only 1 feedback: Also you are now invited to the Nextcloud organization on Github, so in the future you don’t need your fork anymore and can just open branches in the main repository for better collaboration (don’t worry, the master branch is protected so nothing can break). :) |
|
Thanks for the feedback @jancborchardt I fixed the lines in a new commit 7d5fb07 . It looks way better now. |
|
Wait I still have to fix an issue when subtasks are hidden. I thought the structure for a task with no subtasks and a tasks with hidden subtasks was the same but it is not. |
Let me know if you need any help. I can have a look in the evening if necessary. |
|
@raimund-schluessler I'm adding a |
|
Ok, I added the class which let me stylize that element as needed, tasks with hidden subtasks now work. Let me know if there's anything else. |
|
I will have a look in the evening. But since there are quite some changes here, you will have to signoff your commit(s), see https://github.com/nextcloud/tasks/pull/1135/checks?check_run_id=894171552. |
Here's an updated style.scss that matches the designs I shown in issue nextcloud#664 Signed-off-by: Tim Krief <[email protected]>
The lines between two rows on the same level were rounded off on the left, which looked a bit off. Now they are straight. Signed-off-by: Tim Krief <[email protected]>
Added a subtasksHidden class when all class are hidden in a task-item and fixed the style for tasks with hidden subtasks. Signed-off-by: Tim Krief <[email protected]>
Signed-off-by: Tim Krief <[email protected]>
Fixed an edge case where the style would not work for the last element of the tree with all subtasks hidden and the input field for adding subtasks displayed. Signed-off-by: Tim Krief <[email protected]>
|
Sorry for the hiccups, it's my first time contributing to nextcloud. I signed off the commits, removed some of my CSS I wasn't using anymore and fixed an edge-case I forgot of a task with the adding subtasks input displayed but subtasks hidden at the end of the tree. |
Don't worry, take your time. I won't have time to look at it before the evening anyway. |
Signed-off-by: Tim Krief <[email protected]>
|
It looks nice already, but there are some visual issues:
|
|
I took the liberty to push your branch to the Tasks repository and create a new PR in #1136 so we can better collaborate on the PR (it's a bit cumbersome to push to someone elses branch, even if its allowed). |


Here's an updated style.scss that matches the designs I shown in issue #664
The task list looks like this for light mode


and like this for dark mode