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
Added support for task pinning #695
Conversation
Codecov Report
@@ Coverage Diff @@
## master #695 +/- ##
==========================================
+ Coverage 10.89% 11.14% +0.25%
==========================================
Files 44 44
Lines 2020 2045 +25
Branches 360 366 +6
==========================================
+ Hits 220 228 +8
- Misses 1668 1683 +15
- Partials 132 134 +2 |
Thanks for the contribution. Regarding the feature: Regarding the code: |
We could also try to add some benefit for the web interface. E.g. show a pinned task always at the top of a list. |
Signed-off-by: Tim Hollmann <github.fe8c53c0@mail.tim-hollmann.de>
Signed-off-by: Tim Hollmann <github.fe8c53c0@mail.tim-hollmann.de>
Signed-off-by: Tim Hollmann <github.fe8c53c0@mail.tim-hollmann.de>
Co-Authored-By: John Molakvoæ <skjnldsv@users.noreply.github.com> Signed-off-by: Tim Hollmann <github.fe8c53c0@mail.tim-hollmann.de>
To justify myself a litte for https://github.com/nextcloud/tasks/pull/695/files#diff-88cbe2e916273c5c244516d0ec6b33ffR756-R757 : I had a little struggle with the icons since I added two and as a side-effect the big star icon (and the new pin) did not work anymore. Maybe one could find a more conceptual solution for this in the future than incrementing a hardcoded number ^^ |
See my two comments, I think we are good after that. |
Don't worry, I will have a look at this in a follow-up PR. We will move the header to |
Co-Authored-By: Raimund Schlüßler <raimund.schluessler@mailbox.org> Signed-off-by: Tim Hollmann <github.fe8c53c0@mail.tim-hollmann.de>
I only now got what you meant. This is indeed not really nice, but I couldn't find any other solution so far. And obviously, flex-box won't do much about it. |
I tend to reduce the pin size down to a normal icon (16px x 16px), but let's discuss this in a later PR. |
Implements #694