Levi Bard
8e7f77429b
Set onClick listener for poll result view. ( #1946 )
...
Fixes #1861
2020-10-05 13:44:02 +03:00
Konrad Pozniak
f47265d920
improve relative poll timestamp string format ( #1939 )
2020-10-05 13:31:25 +03:00
Alibek Omarov
a8c348906a
StatusBaseViewHolder: semi-fix null shown up for Mastodong, don't allow user to click when parent post is unavailable
2020-10-03 17:44:26 +03:00
Karol Kosek
98b57f33f5
Implement clicking on 'Reply to' text
...
... and remove the Reply to button from the menu.
2020-10-03 08:21:19 +02:00
Karol Kosek
83eee5115c
Strikethrough the reply info if parent post isn't visible
2020-10-02 19:31:29 +02:00
Karol Kosek
65fcc05ed2
Add 'reply to' indicators in posts
2020-10-02 18:47:44 +02:00
Ivan Kupalov
44ed189b3c
Description improvements ( #1846 )
...
* Increase character limit for media descriptions to 1500
It was increased in Mastodon 3.0.0 which was released in October 2019.
* Improve image description view
Since media descriptions can be longer now, we need to adjust the UI.
It is a common problem that description takes up the whole screen, it's
hard for readers and also discourages people from adding descriptions.
This commit uses bottom sheet to hide most of the description. Since we
know how much screen space it will cover, we can use darker background
which makes reading text easier.
* Adjust description handle
* Fix unable to dismiss image caption
2020-08-04 00:17:02 +03:00
Levi Bard
bac8f93a26
Fix preview cards for uncollapsible statuses ( #1826 )
2020-06-15 17:08:24 +03:00
Levi Bard
59d36fcbc9
Fix showing/hiding of preview cards in timeline posts that are collapsed for length. ( #1796 )
...
Also properly places the preview card after the "collapse for length" button.
2020-05-22 20:09:24 +03:00
Alibek Omarov
c90f9650ab
CustomEmojiHelper: rewrite to Kotlin
2020-05-20 17:51:36 +03:00
Alibek Omarov
f13c6bedcb
CustomEmojis: make emojis small when it's appropriate for UX
2020-05-11 22:19:34 +03:00
Alibek Omarov
0264898e57
CustomEmojiHelper: rewrite to Kotlin
2020-05-11 21:01:57 +03:00
Konrad Pozniak
9b2a837fea
replace HtmlUtils with HtmlCompat ( #1741 )
...
* replace HtmlUtils with HtmlCompat
* fix tests
2020-05-03 04:12:08 +03:00
Alibek Omarov
f2b5b0d646
Cherry-picked 2cf1e366.
2020-05-03 04:05:38 +03:00
Ivan Kupalov
a267d85080
Fix reblog confirm ( #1723 )
...
* Fix reblog confirmation default value
* Fix triggering reblog before confirming it
* Fix accidents caused by reblog confirmation
2020-04-10 16:41:06 +03:00
Alibek Omarov
825eab8cda
emoji_reactions: show keyboard as dialog
2020-04-10 02:18:37 +03:00
Alibek Omarov
8908e93580
StatusBaseViewHolder: fix recycling bug, fix emoji reaction view empty space touch
2020-03-12 06:16:57 +03:00
Alibek Omarov
4f1400842f
emoji_reactions: general refactoring, implement emoji_reactions_by
2020-03-06 21:04:14 +03:00
Alibek Omarov
3cbbbe99c4
Merge upstream
2020-03-06 16:16:54 +03:00
Ivan Kupalov
67c20326f9
Add options to confirm reblog/unreblog actions, close #460 ( #1650 )
2020-03-03 21:27:26 +01:00
Levi Bard
3edc47aa4a
Add option to show link previews in timelines ( #1681 )
...
* Add option to show link previews in timelines.
Addresses #1075
* Indent cards in non-selected statuses when viewing threads
* Indent cards in timelines
* Fix clipping of right side of preview in timelines
2020-03-02 19:34:31 +01:00
Alibek Omarov
b0e97392a5
Merge upstream
2020-02-28 10:30:09 +03:00
Alibek Omarov
74d2bd6aaa
status: increase hit area for fav/reblog buttons #71
2020-02-20 04:25:35 +03:00
Konrad Pozniak
b8ef287b47
fix image from another status showing up instead of blurhash ( #1699 )
2020-02-19 22:07:01 +01:00
Levi Bard
185bfeb9f3
[Tusky10] Fix descriptions of audio attachments when expanding/collapsing status content ( #1688 )
2020-02-14 19:03:59 +01:00
Konrad Pozniak
8767d2ed3d
Theme refactoring ( #1656 )
...
* Theme refactoring
* disable the automatic tinting of surfaces with elevation in dark mode
* make the media warning visible again with the dark theme
* fix nav bar on api 27+
* use correct color for all media warnings
2020-01-30 21:37:28 +01:00
Konrad Pozniak
e5b78f65cf
use material buttons in timeline ( #1627 )
...
* use material buttons in timeline
* remove wrong switch option
2020-01-07 19:40:52 +01:00
Konrad Pozniak
441a1c1f95
remove redundant toHtml from StatusBaseViewHolder ( #1625 )
2020-01-07 19:38:08 +01:00
Konrad Pozniak
352ff3a2d1
give media previews a rounded outline ( #1617 )
...
* give media previews a rounded outline
* give media previews a rounded outline in ReportActivity
2020-01-03 20:22:16 +01:00
Ivan Kupalov
426e7edb73
Fix missing cases of using StatusDisplayOptions ( #1614 )
2020-01-03 20:22:02 +01:00
Konrad Pozniak
88d59da13c
fix poll button being visible below voted poll ( #1612 )
2019-12-31 16:56:04 +01:00
Ivan Kupalov
7623962a0d
Use blurhash as image preview and as sensitive media cover, close #1571 ( #1581 )
...
* Use blurhash as image preview and as sensitive media cover, close #1571
* Fix focal point for blurhashes
* Fix video indicator overlapping sensitive media indicator
* Add a preference for blurhash
* Add blurhash to report UI.
* Introduce StatusDisplayOptions
2019-12-30 21:37:20 +01:00
Konrad Pozniak
60b9a9c40b
upgrade SparkButton to 3.0.0 ( #1594 )
2019-12-20 19:52:36 +01:00
Levi Bard
bac3003182
Make polls respect content warning visibility setting ( #1583 )
...
* Make polls respect content warning visibility setting
* Only perform poll setup when poll is visible
2019-12-16 19:51:21 +01:00
Konrad Pozniak
d9694df0c2
Bookmarks ( #1560 )
...
* add bookmarks to timelines
* add Bookmarks to main menu
* cleanup
* handle BookmarkEvent
* fix tests
* fix bookmark handling in NotificationsFragment
* add bookmark accessibility actions
2019-11-19 10:15:32 +01:00
Levi Bard
a308b4c139
Don't interpret html inside poll options. ( #1527 )
...
* Don't interpret html inside poll options.
Closes #1362
* Update translations
* Mark poll_percent_format as untranslatable
2019-10-11 17:35:22 +02:00
Konrad Pozniak
9a3b92ecbc
change active boost icon ( #1513 )
2019-10-03 18:55:32 +02:00
Ivan Kupalov
33a78a59a0
Fix screen reader not announcing post content in some cases ( #1495 )
2019-09-24 20:33:41 +02:00
Konrad Pozniak
29ea05a0e5
Fix crash when status date is null ( #1480 )
...
* Fix crash when status date is null
* Fix crash when status date is null
2019-09-15 09:10:07 +02:00
Konrad Pozniak
c04c51ce41
fix crash because of null visibility ( #1478 )
...
* fix crash because of null visibility
* fix crash because of null visibility
2019-09-12 20:03:07 +02:00
Conny Duck
0e2a786b61
fix regression with weird status expand animation
2019-09-07 16:22:56 +02:00
Conny Duck
653d77bab2
fix crash in StatusBaseViewHolder
2019-09-07 13:14:16 +02:00
Konrad Pozniak
344863b5d4
Add audio support for timelines ( #1466 )
...
* Add minimal audio support for timelines
* fix attachment description formatting
2019-09-05 21:07:01 +02:00
Ivan Kupalov
444df322a7
Load sensitive media previews only when shown ( #1439 )
2019-08-17 21:37:26 +02:00
Konrad Pozniak
588775ff9b
cleanup code in StatusViewHolders ( #1418 )
...
* cleanup code in status ViewHolder
* add check for reblogButton back in
2019-07-27 21:53:28 +02:00
pandasoft0
3b1288e99c
Improve search results ( #1327 )
...
* Add entities and request for search APIv2
* Implement search adapter and fragment
* Fix issue with snackbar
* Implement search accounts fragment
* Implement generic search fragment
* Remove unneeded import
* Implement "status" actions, fix issues
* Remove SFragment dependency
* Update app/src/main/java/com/keylesspalace/tusky/components/search/fragments/SearchStatusesFragment.kt
Co-Authored-By: Konrad Pozniak <connyduck@users.noreply.github.com>
* Clean-up post review suggestions
* Make TabLayout background colour match search bar
* Corrected method call syntax
* Added SwipeRefreshLayout to SearchFragment
* Fixed refresh to update all three tabs
2019-07-19 20:10:20 +02:00
Konrad Pozniak
707f3e605c
fix build warnings ( #1331 )
2019-06-24 22:15:31 +02:00
Konrad Pozniak
ac2e16e08c
fix image transition from timeline to ViewMediaActivity ( #1348 )
2019-06-24 20:52:38 +02:00
Konrad Pozniak
b95ff10a3c
Unlimited number of poll options ( #1340 )
...
* implement unlimited number of poll options
* fixes
* extract percent calculation into function so it can be used anywhere
* add license header
2019-06-22 21:55:03 +02:00
Ivan Kupalov
d827bd120f
Show media descriptions in timeline when previews are disabled. ( #1284 )
2019-06-22 20:38:53 +02:00