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
UI Improvements #445
UI Improvements #445
Conversation
Do people like the SparkButtons? I don't. The animation always gets cut off, is not antialiased and annoying imho. |
@connyduck I kinda liked them at first but grew tired with time. It could be okay if they were faster, smaller and worked correctly (but they glich sometimes for me). I didn't experience any anti-aliasing or cutting problems for a long time, though. I am not sure how people will react but if there will be another kind of a callback it is fine. |
Nice job, by the way, looks tidy! |
I would get rid of the links underline too. |
Great idea! |
Awesome! |
If we're already here... Do you like horizontal animations for opening activities? I don't like them much. They would also look weird with shared elements transitions which I would like to add at some point. Also, I still forget to focus on field automatically in search. What do you think about it? |
Well the activity animations don't really bother me personally but I heard it from other people as well that they should be removed. |
Awesome thank you! |
Or is it intended? |
I am not sure what you mean exactly? Everything is intended, the thread line would have crossed the text. |
Yes, you're right, my apologies. I checked and Twitter works pretty much the same way |
Wow, this looks awesome! Thank you. |
Less views in layouts -> more performance ✨ |
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.
Why inefficient RelativeLayout when there's more powerful and performant ConstraintLayout?
(BTW thanks a lot for these improvements 🙇
…1y text size option
…1y text size option
So this is now mostly done. Should fix #117 #446 #192 and partly #429 I will have another look if I find a better spark button library |
1688382
to
eb39bf9
Compare
eb39bf9
to
18d7f5c
Compare
So I decided that Tusky 1.4.0 should be released asap, main reason is that crash rate in play console is really high. Please review this pull request, it contains at least one fix for a crash (should have made it a separate commit). @charlag |
Will do! It's not too late, right? |
@@ -318,14 +322,12 @@ | |||
|
|||
<com.varunest.sparkbutton.SparkButton | |||
android:id="@+id/status_reblog" | |||
android:layout_width="40dp" |
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.
I thought you would keep button size the same and only make icon inside it smaller. It is okay for me, just worrying for people who claim themselves clumsy.
@@ -39,6 +39,7 @@ public void onCreate() { | |||
Picasso.Builder builder = new Picasso.Builder(this); | |||
builder.downloader(new OkHttp3Downloader(OkHttpUtils.getCompatibleClient())); | |||
if (BuildConfig.DEBUG) { | |||
builder.loggingEnabled(true); |
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.
"WARNING: Enabling this will result in excessive object allocation. This should be only be used for debugging purposes. Do NOT pass BuildConfig.DEBUG."
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.
Ah, you already removed it, sorry
if (!shouldShowContentIfSpoiler && hasSpoiler) { | ||
if (statusViewData.getMentions() != null && |
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.
Sorry, but I don't understand why you undid this. I've tried to match web version, there's even an issue somewhere asking for this behavior. Please, consider using this for the rest of the app.
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.
Ok, but why was it only done for notifications? I found it highly confusing that in notifications mentions are outside spoiler, but not in normal toots
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.
Yes, it was only done for notifications because I didn't have time to change it everywhere.
I am not sure if it's a bug or intended behavior but when I click on the notification text it doesn't get me anywhere. I have to aim at the empty space. |
There's no more "delete" button in the timeline, only in the detailed view. When I tried to delete my status from there it didn't disappear from the timeline (it was on the top). |
I think that font is statuses is a little bit too bit. I would do -1 sp or something. |
I will fix the notification click area, thx for noticing. Afaik there never was a delete button in the timeline (at least not since I am maintainer). This should be consistent, yes, but I will make a seperate issue for it. (EDIT: Can't reproduce it right now o_0) That the status does not disappear is a bug that we also have for a long time. Well Material design recommended size for regular text is 16sp. I am now using the 15sp for some days and I really love it. I think we should add a option to change the font-size between 12-18. |
Oh, sorry, my memory ia not really great and can give me false memories. |
In this branch I will experiment with some ui stuff. Feedback welcome!