-
Notifications
You must be signed in to change notification settings - Fork 42
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
Fix truncation and alignment issues in conversation view #1029
Conversation
(This does not fix #815) |
a46e66d
to
27c3ebc
Compare
27c3ebc
to
6acf47c
Compare
Good initial results in non-Qubes environment. Before: After: The attachment now has a bit less padding than before the change which does in fact seem to bring it closer to the spec, which also doesn't have a ton of padding here. |
@eloquence is that a file submission without a message? |
good catch there needs to more padding... i'll add that back |
More subtly, there's a small visual regression in the alignment between speech bubbles and file widgets, after a file has been downloaded -- note the alignment of "Export" before and after (the "E" should start where the speech bubble starts). Given the severity of the underlying issue, may be fine to accept to land this PR, but flagging in case it may have further unintended effects. |
Addresses #1029 (comment): |
Can reproduce re: download link, looks like we're trading one alignment issue for another. |
6acf47c
to
83c4f21
Compare
what do you mean? |
Sorry, I mean yes, the Download link is now aligned with the speech bubble, and the Export link is not, whereas before it was the other way around (both should be aligned with the bubble). |
So just to be clear, this fixes the major file widget alignment issues on That is a much bigger issue than #1029 (comment), which if you give me a few I can address. |
Yep agreed, this is a minor issue (and not even a full regression since it fixes a previous misalignment in the "Download" case) that can be fixed in follow-up if needed. |
29fb1ef
to
4c5cf45
Compare
4c5cf45
to
9f650b1
Compare
Addressed #998 (comment): |
Confirmed. Both Download and Export now perfectly aligned. :) |
did you add extra carriage returns at the top of the second message of #1029 (comment)? should we open an issue to think about truncating leading and following newlines? |
Ah yes, I did notice that before - that was a result of including whitespace in the clipboard, and yeah, I do think we should trim leading and trailing whitespace; I'll file a small enhancement issue for that. (Done: #1030) |
Looks good to me in Qubes testing as well, all my existing sources on my production instance still render correctly, and I am no longer able to reproduce the text truncation/squishing issue. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Description
Fixes #998 (comment)
Fixes #694
Also download icon is no longer misaligned
Fixes #953
Checklist
If these changes modify code paths involving cryptography, the opening of files in VMs or network (via the RPC service) traffic, Qubes testing in the staging environment is required. For fine tuning of the graphical user interface, testing in any environment in Qubes is required. Please check as applicable: