Conversation
|
@rullzer, thanks for your PR! By analyzing the annotation information on this pull request, we identified @MorrisJobke, @nickvergessen and @jancborchardt to be potential reviewers |
|
Scrollbar on the left would be super weird. |
|
I mean, the cancel button is there, too. |
core/js/core.json
Outdated
| "davclient.js/lib/client.js", | ||
| "clipboard/dist/clipboard.js" | ||
| "clipboard/dist/clipboard.js", | ||
| "autosize/dist/autosize.min.js" |
|
@eppfel well I was following #942 (comment) But feel free to hijack to improve the design :) |
a074da9 to
04b8afc
Compare
04b8afc to
54613ab
Compare
|
Okidoki now fully autosizing Review time! |
|
Signed-off-by: Roeland Jago Douma <[email protected]>
54613ab to
c83b3e6
Compare
|
Fixed |
|
Works 👍 |
|
What I just noticed, when you have leading or trailing newlines/whitespace they are displayed in the comment, until you do a page refresh. |
|
Yeah lets fix that separatly. |
|
I will review this - there are only some layout glitches between firefox and Chrome. |
apps/comments/css/comments.css
Outdated
| #commentsTabView .newCommentForm .submit { | ||
| position: absolute; | ||
| top: 1px; | ||
| bottom: 1px; |
There was a problem hiding this comment.
With this it looks in Firefox good, but in Chrome not that good. Then I could change this to 5px to look in Chrome good, but in Firefox not centered. The reason is that the surrounding element (a <form>) is in Chrome not fitted around the textarrea but a bit longer at the bottom.
@nextcloud/designers Any idea how we could solve this?
There was a problem hiding this comment.
This is only 75 px in height in Firefox (and those are the 4 additional pixels that are needed in Chrome) 😞
There was a problem hiding this comment.
Maybe @skjnldsv can help with this maybe? 😉
I failed too, for some reason the form height is calculated differently in FF/Chrome and therefore the absolute positioning looks different.
However, now that we want to bring back a dedicated login button in #1641 as the inline one caused confusion and here it looks also weird as soon as the comment is expanded to multiple lines, I thought about changing this form to use a dedicated button too. cc @jancborchardt
There was a problem hiding this comment.
@ChristophWurst @MorrisJobke You need to put a display:block on the textarea. :)
It should do the trick and the form should now take the full textarea size.
|
@ChristophWurst @jancborchardt @nextcloud/designers What you guys think in making something like this. (Very quick mockup) |
0ce6f17 to
dcddd4b
Compare
|
@Espina2 o wow! I like it! |
Yep makes sense 👍 We should separate the different topics here. |
|
Always forgot the approval doesn't work on reviews! 😑 LGTM 👍 |
|
Tested and works 👍 |
|
@Espina2 very nice! Just two things:
|
|
@jancborchardt Thanks dude. Yup, we should discuss this in your issue. This is only a quick sketch for showing how can work visually not to much thinking in it. 👍 |






Fixes #942
Before:

After:

Which gives us multiline comments again! Whoohoo.
Only thing that we need to think about is how to handle the scroll bar (move to left?)
CC: @nickvergessen @nextcloud/designers @MorrisJobke