-
Notifications
You must be signed in to change notification settings - Fork 100
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
Use AppSidebar #1030
Use AppSidebar #1030
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1030 +/- ##
==========================================
+ Coverage 27.95% 32.24% +4.29%
==========================================
Files 48 54 +6
Lines 2740 2791 +51
Branches 536 537 +1
==========================================
+ Hits 766 900 +134
+ Misses 1827 1752 -75
+ Partials 147 139 -8 |
c6c742b
to
c9a72d8
Compare
c9a72d8
to
f9c62f6
Compare
f9c62f6
to
88ba192
Compare
88ba192
to
2da15c9
Compare
7fa1389
to
aca4bc8
Compare
b41d630
to
ad68fd2
Compare
b09cc35
to
57f2f73
Compare
Great! Unfortunately, I can still reproduce this behaviour but I've found out that If I close the keyboard first and then click anywhere, it saves the changes that I've made. But this is of course a bit counter-intuitive... |
Hm, very weird. I use the same approach as for priority, progress and dates. And it works well for all devices I have available. I don't know if I can debug this. |
@szaimen In case you have access to the console, do you see anything regarding notes when clicking outside? |
No, there is unfortunately nothing in the logs. I've made a short video demonstrating this behaviour: |
I can't really see where you click (or touch?) in this video. However, I will pack a test version which logs to the console when certain functions are called. Maybe we can figure out what is not called then. |
@szaimen And could you please test, if the note is saved when you click somewhere into the AppSidebar, e.g. onto the Notes tab? |
I've already done that. It's the same: the change only gets saved if I close the keyboard first. |
@szaimen I build a version which prints to the console when the sidebar is closed, when the notes, priority and dates are saved and when the components are unmounted or destroyed (which should lead to saving the edited value). Please have a look and let me know what the console shows when you edit a note. If this also doesn't help to figure out the problem: Is the simulator you showed in the video freely available? Then I could just test it like you. |
I've figured out what the problem is. It seems to be related to the keyboard that seems to block any input due to the word suggestions. When I validate the word that I try to type or type in a space or backspace, everything in the notes field gets safed and hence it works. |
BTW: what you call a simulator is actually the official way how to debug Android Chromium sessions ;) So you would still need an Android phone to do this... |
Ok, thanks for having a look. Seems a bit unfortunate, but really sounds as if fixing in the Tasks app is difficult. |
Ah, alright. This wouldn't help much in my case 🙈 |
Actually, somehow it seems to work there. So it always safes correctly with the current version... |
@szaimen Here comes my last try to fix this for now. I added back a |
Thanks! Unfortunately, it still doesn't work but since this error only occurs if you type in only one word, I guess it is fine 👍 |
d699572
to
ed14e88
Compare
I will merge this now, since I want to go on with moving to material design icons and cleaning up the SCSS files. Feedback is still very welcome, we will handle it in follow-up PRs. |
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
ed14e88
to
0ab8d29
Compare
🎉 |
Move the right side details view to vue-components AppSidebar component. Requirement for future new features such as repeating tasks, since the sidebar runs out of space and tabs are necessary. Closes #664.
Needs the latest master of nextcloud-vue components.
Build to test the current state: tasks.tar.gz
Todo:
Needs:
ActionLink
overflow (a
needsbox-sizing: border-box;
) ActionLink padding overflows Actions dropdown nextcloud-libraries/nextcloud-vue#1887Nice to have:
I will move the following to follow-up PRs as this PR is already huge: